public interface RoleType extends Type
| Modifier and Type | Method and Description |
|---|---|
RoleType |
deletePlaysRole(RoleType roleType) |
Collection<Type> |
playedByTypes() |
RoleType |
playsRole(RoleType roleType) |
RelationType |
relationType() |
RoleType |
setAbstract(Boolean isAbstract) |
Collection<RoleType> |
subTypes() |
RoleType |
superType() |
RoleType |
superType(RoleType type) |
getRulesOfConclusion, getRulesOfHypothesis, instances, isAbstract, playsRolesasEntity, asEntityType, asInstance, asRelation, asRelationType, asResource, asResourceType, asRoleType, asRule, asRuleType, asType, delete, getId, isEntity, isEntityType, isInstance, isRelation, isRelationType, isResource, isResourceType, isRoleType, isRule, isRuleType, isType, typecompareToRoleType setAbstract(Boolean isAbstract)
setAbstract in interface TypeisAbstract - Specifies if the Role Type is abstract (true) or not (false).
If the Role Type is abstract it is not allowed to have any instances.RoleType superType(RoleType type)
type - The super type of this Role TypeRoleType deletePlaysRole(RoleType roleType)
deletePlaysRole in interface TyperoleType - The Role Type which the instances of this Type should no longer be allowed to play.RoleType superType()
Collection<RoleType> subTypes()
RelationType relationType()
Collection<Type> playedByTypes()
Copyright © 2016. All rights reserved.