kaos.policy.obligation
Class ObligationConstraintsBuilder

java.lang.Object
  extended by kaos.ontology.util.KAoSOntClassBuilderImpl
      extended by kaos.policy.obligation.ObligationConstraintsBuilder
All Implemented Interfaces:
KAoSOntClassBuilder

public class ObligationConstraintsBuilder
extends KAoSOntClassBuilderImpl

A simplified class to build obligation constraints

Version:
1.1 $Revision: 1.8 $

Nested Class Summary
 
Nested classes/interfaces inherited from interface kaos.ontology.util.KAoSOntClassBuilder
KAoSOntClassBuilder.AlreadyComplement
 
Field Summary
 
Fields inherited from class kaos.ontology.util.KAoSOntClassBuilderImpl
_className, _currentClassModel, _internalOntClass, _mainSuperClass, _ontClassRestrictions
 
Fields inherited from interface kaos.ontology.util.KAoSOntClassBuilder
_allValuesFromRestriction, _someValuesFromRestriction
 
Constructor Summary
ObligationConstraintsBuilder(SerializableOntModelImpl dcm)
           
ObligationConstraintsBuilder(java.lang.String classURI)
           
 
Method Summary
 void addObligationConstraint(java.lang.String obligationConstraint)
           
 java.util.List<java.lang.String> getObligationCosntraints()
           
 void removeObligationConstraint(java.lang.String obligationConstraint)
           
 
Methods inherited from class kaos.ontology.util.KAoSOntClassBuilderImpl
addPropertyRangeInstance, addPropertyRangeInstance, addRequiredValueOnProperty, addSuperlass, getAllSuperclasses, getBasePropertyRangeClass, getClassName, getComplementParentClassForPropertyRange, getCurrentPropertyRangeClass, getMainSuperClass, getOntModel, getPropertyNames, getPropertyRangeInstance, getRestrictionTypeName, isPropertyRangeBasedOnClass, isRangeComplement, makeRangeComplement, printDebugString, removePropertyRangeInstance, removeRequiredValueOnProperty, removeSuperclass, setMainSuperClass, setPropertyRangeClass, setPropertyRangeClass, showClass, toSimpleTestString, 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)

ObligationConstraintsBuilder

public ObligationConstraintsBuilder(SerializableOntModelImpl dcm)
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.List<java.lang.String> getObligationCosntraints()
                                                          throws ValueNotSet
Throws:
ValueNotSet