kaos.policy.obligation
Class ObligationConstraintsBuilder

java.lang.Object
  extended by kaos.ontology.util.KAoSClassBuilderImpl
      extended by kaos.policy.obligation.ObligationConstraintsBuilder

public class ObligationConstraintsBuilder
extends KAoSClassBuilderImpl

A simplified class to build obligation constraints


Field Summary
 
Fields inherited from class kaos.ontology.util.KAoSClassBuilderImpl
_classLable, _classNameSpace, _compClass, _counter, _currentClass, _currentClassModel, _immediateBaseClassName, _instBaseClass, _prevCompClass, _propertyNames, _restrictions
 
Constructor Summary
ObligationConstraintsBuilder(SerializableOntModelImpl dcm, java.lang.String classURI)
           
ObligationConstraintsBuilder(java.lang.String classURI)
          Starts building the new classdefinition, delete any existing state of the previously built definition.
ObligationConstraintsBuilder(java.lang.String dcm, java.lang.String classURI)
           
 
Method Summary
 void addObligationConstraint(java.lang.String obligationConstraint)
           
 java.util.Vector getObligationCosntraints()
           
 void removeObligationConstraint(java.lang.String obligationConstraint)
           
 
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
 

Constructor Detail

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)
Method Detail

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