Package openllet.core.boxes.rbox
Interface Role
-
- All Known Implementing Classes:
RoleImpl
public interface RoleDefinition of Role.- Since:
- 2.6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDisjointRole(Role r, DependencySet ds)booleanaddDomain(openllet.aterm.ATermAppl a, DependencySet ds)voidaddFunctionalSuper(Role r)booleanaddRange(openllet.aterm.ATermAppl a, DependencySet ds)voidaddSubRole(Role r)r is subrole of this rolevoidaddSubRole(Role r, DependencySet ds)Add sub role with depedency set.voidaddSubRoleChain(openllet.aterm.ATermList chain)Add a sub role chain without dependency tracking informationvoidaddSubRoleChain(openllet.aterm.ATermList chain, DependencySet ds)Add a sub role chain with dependency tracking.voidaddSuperRole(Role r)r is superrole of this rolevoidaddSuperRole(Role r, DependencySet ds)voidaddTransitiveSubRole(Role r)java.lang.StringdebugString()java.util.Set<Role>getDisjointRoles()java.util.Set<openllet.aterm.ATermAppl>getDomains()java.util.Set<Role>getEquivalentProperties()DependencySetgetExplainAsymmetric()DependencySetgetExplainDisjointRole(Role role)DependencySetgetExplainDomain(openllet.aterm.ATermAppl a)DependencySetgetExplainFunctional()DependencySetgetExplainInverseFunctional()DependencySetgetExplainIrreflexive()DependencySetgetExplainRange(openllet.aterm.ATermAppl a)DependencySetgetExplainReflexive()DependencySetgetExplainSub(openllet.aterm.ATerm r)DependencySetgetExplainSubOrInv(Role r)DependencySetgetExplainSuper(openllet.aterm.ATerm r)DependencySetgetExplainSymmetric()DependencySetgetExplainTransitive()TransitionGraph<Role>getFSM()java.util.Set<Role>getFunctionalSupers()RolegetInverse()openllet.aterm.ATermApplgetName()java.util.Set<Role>getProperSubRoles()java.util.Set<openllet.aterm.ATermAppl>getRanges()java.util.Set<openllet.aterm.ATermList>getSubRoleChains()java.util.Set<Role>getSubRoles()java.util.Set<Role>getSuperRoles()java.util.Set<Role>getTransitiveSubRoles()PropertyTypegetType()java.lang.StringgetTypeName()booleanhasComplexSubRole()booleanhasNamedInverse()booleanisAnnotationRole()booleanisAnon()booleanisAsymmetric()booleanisBottom()booleanisBuiltin()booleanisDatatypeRole()booleanisEquivalent(Role r)booleanisForceSimple()booleanisFunctional()booleanisInverseFunctional()booleanisIrreflexive()booleanisObjectRole()booleanisReflexive()booleanisSimple()booleanisSubRoleOf(Role r)booleanisSuperRoleOf(Role r)booleanisSymmetric()booleanisTop()booleanisTransitive()booleanisUntypedRole()booleanremoveDomain(openllet.aterm.ATermAppl a, DependencySet ds)booleanremoveRange(openllet.aterm.ATermAppl a, DependencySet ds)voidremoveSubRole(Role r)voidremoveSubRoleChain(openllet.aterm.ATermList chain)voidremoveSubRoleChains()voidresetDomainRange()voidsetAsymmetric(boolean b)voidsetAsymmetric(boolean b, DependencySet ds)voidsetForceSimple(boolean b)voidsetFSM(TransitionGraph<Role> tg)voidsetFunctional(boolean b)voidsetFunctional(boolean b, DependencySet ds)voidsetHasComplexSubRole(boolean b)voidsetInverse(Role term)voidsetInverseFunctional(boolean b)voidsetInverseFunctional(boolean b, DependencySet ds)voidsetIrreflexive(boolean b)voidsetIrreflexive(boolean b, DependencySet ds)voidsetReflexive(boolean b)voidsetReflexive(boolean b, DependencySet ds)voidsetSimple(boolean b)voidsetSubRolesAndChains(java.util.Set<Role> subRoles, java.util.Set<openllet.aterm.ATermList> subRoleChains, java.util.Map<openllet.aterm.ATerm,DependencySet> dependencies)voidsetSuperRoles(java.util.Set<Role> superRoles)voidsetTransitive(boolean b)voidsetTransitive(boolean b, DependencySet ds)voidsetType(PropertyType type)
-
-
-
Method Detail
-
debugString
java.lang.String debugString()
-
addSubRoleChain
void addSubRoleChain(openllet.aterm.ATermList chain)
Add a sub role chain without dependency tracking information- Parameters:
chain-
-
addSubRoleChain
void addSubRoleChain(openllet.aterm.ATermList chain, DependencySet ds)Add a sub role chain with dependency tracking.- Parameters:
chain- List of role names of at least length 2.ds-
-
removeSubRoleChain
void removeSubRoleChain(openllet.aterm.ATermList chain)
-
removeSubRoleChains
void removeSubRoleChains()
-
addSubRole
void addSubRole(Role r)
r is subrole of this role- Parameters:
r-
-
addSubRole
void addSubRole(Role r, DependencySet ds)
Add sub role with depedency set.- Parameters:
r- subrole of this roleds-
-
removeDomain
boolean removeDomain(openllet.aterm.ATermAppl a, DependencySet ds)
-
removeRange
boolean removeRange(openllet.aterm.ATermAppl a, DependencySet ds)
-
resetDomainRange
void resetDomainRange()
-
removeSubRole
void removeSubRole(Role r)
-
addSuperRole
void addSuperRole(Role r)
r is superrole of this role- Parameters:
r-
-
addSuperRole
void addSuperRole(Role r, DependencySet ds)
-
addDisjointRole
void addDisjointRole(Role r, DependencySet ds)
-
addDomain
boolean addDomain(openllet.aterm.ATermAppl a, DependencySet ds)
-
addRange
boolean addRange(openllet.aterm.ATermAppl a, DependencySet ds)
-
isObjectRole
boolean isObjectRole()
-
isDatatypeRole
boolean isDatatypeRole()
-
isAnnotationRole
boolean isAnnotationRole()
- Returns:
- true if a role is declared as datatype property
-
isUntypedRole
boolean isUntypedRole()
-
getInverse
Role getInverse()
-
hasNamedInverse
boolean hasNamedInverse()
-
hasComplexSubRole
boolean hasComplexSubRole()
-
isFunctional
boolean isFunctional()
-
isInverseFunctional
boolean isInverseFunctional()
-
isSymmetric
boolean isSymmetric()
-
isAsymmetric
boolean isAsymmetric()
-
isTransitive
boolean isTransitive()
-
isReflexive
boolean isReflexive()
-
isIrreflexive
boolean isIrreflexive()
-
isAnon
boolean isAnon()
-
getName
openllet.aterm.ATermAppl getName()
-
getDomains
java.util.Set<openllet.aterm.ATermAppl> getDomains()
-
getRanges
java.util.Set<openllet.aterm.ATermAppl> getRanges()
-
getSubRoles
java.util.Set<Role> getSubRoles()
-
getEquivalentProperties
java.util.Set<Role> getEquivalentProperties()
-
isEquivalent
boolean isEquivalent(Role r)
-
getProperSubRoles
java.util.Set<Role> getProperSubRoles()
-
getSubRoleChains
java.util.Set<openllet.aterm.ATermList> getSubRoleChains()
-
getSuperRoles
java.util.Set<Role> getSuperRoles()
-
getDisjointRoles
java.util.Set<Role> getDisjointRoles()
-
getExplainDisjointRole
DependencySet getExplainDisjointRole(Role role)
-
getType
PropertyType getType()
-
getTypeName
java.lang.String getTypeName()
-
isSubRoleOf
boolean isSubRoleOf(Role r)
-
isSuperRoleOf
boolean isSuperRoleOf(Role r)
-
setInverse
void setInverse(Role term)
-
setFunctional
void setFunctional(boolean b)
-
setFunctional
void setFunctional(boolean b, DependencySet ds)
-
setInverseFunctional
void setInverseFunctional(boolean b)
-
setInverseFunctional
void setInverseFunctional(boolean b, DependencySet ds)
-
setTransitive
void setTransitive(boolean b)
-
setTransitive
void setTransitive(boolean b, DependencySet ds)
-
setReflexive
void setReflexive(boolean b)
-
setReflexive
void setReflexive(boolean b, DependencySet ds)
-
setIrreflexive
void setIrreflexive(boolean b)
-
setIrreflexive
void setIrreflexive(boolean b, DependencySet ds)
-
setAsymmetric
void setAsymmetric(boolean b)
-
setAsymmetric
void setAsymmetric(boolean b, DependencySet ds)
-
setHasComplexSubRole
void setHasComplexSubRole(boolean b)
-
setType
void setType(PropertyType type)
-
setSubRolesAndChains
void setSubRolesAndChains(java.util.Set<Role> subRoles, java.util.Set<openllet.aterm.ATermList> subRoleChains, java.util.Map<openllet.aterm.ATerm,DependencySet> dependencies)
- Parameters:
subRoles-subRoleChains-dependencies- map from role names (or lists) to dependencies A map from role names (or role lists) to dependency sets.
-
setSuperRoles
void setSuperRoles(java.util.Set<Role> superRoles)
- Parameters:
superRoles- The _superRoles to set.
-
getFunctionalSupers
java.util.Set<Role> getFunctionalSupers()
- Returns:
- Returns the functionalSuper.
-
addFunctionalSuper
void addFunctionalSuper(Role r)
- Parameters:
r- The functionalSuper to set.
-
setForceSimple
void setForceSimple(boolean b)
-
setSimple
void setSimple(boolean b)
-
isForceSimple
boolean isForceSimple()
-
isSimple
boolean isSimple()
-
getTransitiveSubRoles
java.util.Set<Role> getTransitiveSubRoles()
- Returns:
- Returns transitive sub roles.
-
addTransitiveSubRole
void addTransitiveSubRole(Role r)
- Parameters:
r- The transtive sub role to add.
-
setFSM
void setFSM(TransitionGraph<Role> tg)
-
getFSM
TransitionGraph<Role> getFSM()
-
getExplainAsymmetric
DependencySet getExplainAsymmetric()
-
getExplainDomain
DependencySet getExplainDomain(openllet.aterm.ATermAppl a)
-
getExplainFunctional
DependencySet getExplainFunctional()
-
getExplainInverseFunctional
DependencySet getExplainInverseFunctional()
-
getExplainIrreflexive
DependencySet getExplainIrreflexive()
-
getExplainRange
DependencySet getExplainRange(openllet.aterm.ATermAppl a)
-
getExplainReflexive
DependencySet getExplainReflexive()
-
getExplainSub
DependencySet getExplainSub(openllet.aterm.ATerm r)
-
getExplainSubOrInv
DependencySet getExplainSubOrInv(Role r)
-
getExplainSuper
DependencySet getExplainSuper(openllet.aterm.ATerm r)
-
getExplainSymmetric
DependencySet getExplainSymmetric()
-
getExplainTransitive
DependencySet getExplainTransitive()
-
isTop
boolean isTop()
-
isBottom
boolean isBottom()
-
isBuiltin
boolean isBuiltin()
-
-