public interface EntityType extends Type
| Modifier and Type | Method and Description |
|---|---|
EntityType |
deletePlaysRole(RoleType roleType) |
Collection<Entity> |
instances() |
EntityType |
playsRole(RoleType roleType) |
EntityType |
setAbstract(Boolean isAbstract) |
Collection<EntityType> |
subTypes() |
EntityType |
superType() |
EntityType |
superType(EntityType type) |
getRulesOfConclusion, getRulesOfHypothesis, 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, typecompareToEntityType setAbstract(Boolean isAbstract)
setAbstract in interface TypeisAbstract - Specifies if the concept is abstract (true) or not (false).
If the concept type is abstract it is not allowed to have any instances.EntityType superType(EntityType type)
type - The super of this Entity TypeEntityType playsRole(RoleType roleType)
EntityType deletePlaysRole(RoleType roleType)
deletePlaysRole in interface TyperoleType - The Role Type which the instances of this Entity Type should no longer be allowed to play.EntityType superType()
Collection<EntityType> subTypes()
Collection<Entity> instances()
Copyright © 2016. All rights reserved.