kaos.core.csi.query.data
Class OntClassDescription
java.lang.Object
kaos.core.csi.query.data.OntClassDescription
- All Implemented Interfaces:
- java.io.Serializable, kaos.policy.util.SerializableOntDescription
- Direct Known Subclasses:
- ActionClassDescription
public class OntClassDescription
- extends java.lang.Object
- implements kaos.policy.util.SerializableOntDescription
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_classProperties
protected java.util.Map<java.lang.String,OntClassPropertyDescription> _classProperties
OntClassDescription
public OntClassDescription(java.lang.String className)
getClassName
public java.lang.String getClassName()
setMainSuperClassName
public void setMainSuperClassName(java.lang.String classType)
getMainSuperClassName
public java.lang.String getMainSuperClassName()
setClassTypes
public void setClassTypes(java.util.List<java.lang.String> types)
getClassTypes
public java.util.Set<java.lang.String> getClassTypes()
updateClassSubclasses
public void updateClassSubclasses(java.lang.String className,
java.util.Set<java.lang.String> subclasses)
getSubclasses
public java.util.Set<java.lang.String> getSubclasses()
setAnnotationFor
public void setAnnotationFor(java.lang.String annotationType,
java.lang.String annotationed,
java.lang.String annotationValue)
getAnnotationFor
public java.lang.String getAnnotationFor(java.lang.String annotationType,
java.lang.String annotationed)
addProperty
public void addProperty(OntClassPropertyDescription currentProperty)
removeProperty
public void removeProperty(java.lang.String propertyName)
getProperty
public OntClassPropertyDescription getProperty(java.lang.String propertyName)
getAllProperties
public java.util.Collection<OntClassPropertyDescription> getAllProperties()
numberOfProperties
public int numberOfProperties()
getPropertyNames
public java.util.Set<java.lang.String> getPropertyNames()
isPropertyPresent
public boolean isPropertyPresent(java.lang.String tRoleName)
getInstancesForProperty
public java.util.Set<java.lang.String> getInstancesForProperty(java.lang.String tRoleName)
getPropretiesOfInterest
public java.util.List<java.lang.String> getPropretiesOfInterest()
getClassRangesOfInterest
public java.util.List<java.lang.String> getClassRangesOfInterest()
getActionSubclassesOfInterest
public java.util.List<java.lang.String> getActionSubclassesOfInterest()
updateSubpropertyNamesForProperty
public void updateSubpropertyNamesForProperty(java.lang.String propName,
java.util.Collection<java.lang.String> subProps)
updateInstancesForClass
public void updateInstancesForClass(java.lang.String classRangeName,
java.util.Collection<java.lang.String> inst)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
matchInstanceWithClass
public int matchInstanceWithClass(OntInstanceDescription testedInstance,
java.util.Set<java.lang.String> missingPropertiesInInstance)
Copyright © 2006 IHMC All Rights Reserved.