public class Compatibility extends RoleRel
RoleRel.RoleRelScope
biDirectional, extendsToSubGroups, grSpec, scope, source, target
debug
Constructor and Description |
---|
Compatibility(Group grSpec)
Creates new Compatibility
|
Compatibility(Role a,
Role b,
Group grSpec)
Creates new Compatibility
|
Modifier and Type | Method and Description |
---|---|
boolean |
areCompatible(Role r1,
Role r2)
checks if the the role r1 is compatible with r2 (considering the role inheritance), i.e., the
agent playing r1 can also play r2
|
protected java.lang.String |
getTypeStr() |
java.lang.String |
getXMLTag() |
contains, equals, getAsDOM, getBiDirStr, getExtendsToSubGroups, getExtendsToSubGroupsStr, getGrSpec, getScope, getSource, getTarget, isBiDir, setBiDir, setExtendsToSubGroups, setFromDOM, setScope, setScope, sourceContains, targetContains, toString
compareTo, getBoolProperty, getBoolProperty, getCreationDate, getFullId, getId, getId, getOwner, getPrefix, getPrefix, getProperties, getPropertiesAsDOM, getPropertiesAsProlog, getProperty, getStrProperty, hashCode, setId, setOwner, setPrefix, setPropertiesFromDOM, setProperty
public Compatibility(Group grSpec)
protected java.lang.String getTypeStr()
getTypeStr
in class RoleRel