kaos.core.csi.query.data
Class OntClassDescription

java.lang.Object
  extended by 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

Field Summary
protected  java.util.Map<java.lang.String,OntClassPropertyDescription> _classProperties
           
 
Constructor Summary
OntClassDescription(java.lang.String className)
           
 
Method Summary
 void addProperty(OntClassPropertyDescription currentProperty)
           
 java.util.List<java.lang.String> getActionSubclassesOfInterest()
           
 java.util.Collection<OntClassPropertyDescription> getAllProperties()
           
 java.lang.String getAnnotationFor(java.lang.String annotationType, java.lang.String annotationed)
           
 java.lang.String getClassName()
           
 java.util.List<java.lang.String> getClassRangesOfInterest()
           
 java.util.Set<java.lang.String> getClassTypes()
           
 java.util.Set<java.lang.String> getInstancesForProperty(java.lang.String tRoleName)
           
 java.lang.String getMainSuperClassName()
           
 OntClassPropertyDescription getProperty(java.lang.String propertyName)
           
 java.util.Set<java.lang.String> getPropertyNames()
           
 java.util.List<java.lang.String> getPropretiesOfInterest()
           
 java.util.Set<java.lang.String> getSubclasses()
           
 boolean isPropertyPresent(java.lang.String tRoleName)
           
 int matchInstanceWithClass(OntInstanceDescription testedInstance, java.util.Set<java.lang.String> missingPropertiesInInstance)
           
 int numberOfProperties()
           
 void removeProperty(java.lang.String propertyName)
           
 void setAnnotationFor(java.lang.String annotationType, java.lang.String annotationed, java.lang.String annotationValue)
           
 void setClassTypes(java.util.List<java.lang.String> types)
           
 void setMainSuperClassName(java.lang.String classType)
           
 java.lang.String toString()
           
 void updateClassSubclasses(java.lang.String className, java.util.Set<java.lang.String> subclasses)
           
 void updateInstancesForClass(java.lang.String classRangeName, java.util.Collection<java.lang.String> inst)
           
 void updateSubpropertyNamesForProperty(java.lang.String propName, java.util.Collection<java.lang.String> subProps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_classProperties

protected java.util.Map<java.lang.String,OntClassPropertyDescription> _classProperties
Constructor Detail

OntClassDescription

public OntClassDescription(java.lang.String className)
Method Detail

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.