kaos.policy.obligation
Class ObligationConstraintsBuilder
java.lang.Object
kaos.ontology.util.KAoSClassBuilderImpl
kaos.policy.obligation.ObligationConstraintsBuilder
public class ObligationConstraintsBuilder
- extends KAoSClassBuilderImpl
A simplified class to build obligation constraints
Fields inherited from class kaos.ontology.util.KAoSClassBuilderImpl |
_classLable, _classNameSpace, _compClass, _counter, _currentClass, _currentClassModel, _immediateBaseClassName, _instBaseClass, _prevCompClass, _propertyNames, _restrictions |
Methods inherited from class kaos.ontology.util.KAoSClassBuilderImpl |
addBaseClass, addBaseClassComplement, addClassInstance, addImmediateBaseClass, addPropertyRangeInstance, addPropertyRangeInstance, addRequiredValueOnProperty, copyPropertyRangeFromOtherPolicy, getBaseClasses, getBasePropertyRangeClass, getClassName, getCurrentPropertyRangeClass, getImmediateBaseClass, getOntClass, getOntClassAsText, getParentPropertyRangeClass, getPropertyNames, getPropertyRangeInstance, getRangeComplementParentClass, getRestrictionTypeName, isPropertyRangeBasedOnClass, isRangeComplement, makeRangeComplement, printDebugString, readFromModel, removeBaseClass, removeClassInstance, removePropertyRangeInstance, removeRequiredValueOnProperty, resetClassBuilding, setInstanceEnumeration, setPropertyRangeClass, setPropertyRangeClass, setPropertyRangeClassDifference, setPropertyRangeClassIntersection, showClass, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObligationConstraintsBuilder
public ObligationConstraintsBuilder(java.lang.String classURI)
- Starts building the new classdefinition, delete any existing state of the previously built definition.
ObligationConstraintsBuilder
public ObligationConstraintsBuilder(java.lang.String dcm,
java.lang.String classURI)
ObligationConstraintsBuilder
public ObligationConstraintsBuilder(SerializableOntModelImpl dcm,
java.lang.String classURI)
addObligationConstraint
public void addObligationConstraint(java.lang.String obligationConstraint)
throws ClassNameNotSet,
DisjointClassWithAlreadyAdded
- Throws:
ClassNameNotSet
DisjointClassWithAlreadyAdded
removeObligationConstraint
public void removeObligationConstraint(java.lang.String obligationConstraint)
throws ClassNotSuperClass
- Throws:
ClassNotSuperClass
getObligationCosntraints
public java.util.Vector getObligationCosntraints()
throws ValueNotSet
- Throws:
ValueNotSet