|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.policy.util.KAoSConditionBuilder
public class KAoSConditionBuilder
Class building an Ontology (DAML or OWL) Condition representation within com.hp.hpl.jena.ontology.OntModel
Constructor Summary | |
---|---|
KAoSConditionBuilder()
|
|
KAoSConditionBuilder(PolicyMsg msg)
Constructor. |
Method Summary | |
---|---|
OntologyConditionContainer |
getCondition()
Return the built condition as OntModels in a container. |
java.lang.String |
getConditionAsText()
Return the built condition as text. |
java.lang.String |
getConditionClassName()
Get the name of the current Condition class. |
java.lang.String |
getConditionDesc()
Get the value of the Condition description for the current Condition. |
SerializableOntModelImpl |
getConditionModel()
Return the model of the condition. |
KAoSRoleValueMapContainer |
getConditionRVMContainer()
|
ActionHistoryBuilder |
getPertinentHistoryClass()
Get the pertinent history class of this condition. |
KAoSRoleValueMapContainer |
getPertinentHistoryRVMContainer()
|
KAoSClassBuilderImpl |
getPertinentStateClass()
Get the pertinent state class of this condition. |
KAoSRoleValueMapContainer |
getPertinentStateRVMContainer()
|
void |
readFromOntologyConditionContainer(OntologyConditionContainer occ)
|
void |
resetConditionBuilding()
Starts building the new condition, delete any existing state of the previously built condition. |
void |
setConditionClassName(java.lang.String className)
Set the class name of the defined condition. |
void |
setConditionDesc(java.lang.String desc)
Set the description of the defined Condition. |
void |
setPertinentHistoryClass(ActionHistoryBuilder history)
Set the pertinent history class If the it is already set, it will be replaced by the given one. |
void |
setPertinentHistoryRVMContainer(KAoSRoleValueMapContainer container)
|
void |
setPertinentStateClass(KAoSClassBuilderImpl state)
Set the pertinent state class for this condition. |
void |
setPertinentStateRVMContainer(KAoSRoleValueMapContainer container)
|
void |
showCondition()
A utility method to print the condition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KAoSConditionBuilder()
public KAoSConditionBuilder(PolicyMsg msg)
Method Detail |
---|
public void resetConditionBuilding()
public OntologyConditionContainer getCondition() throws ConditionBuildingNotCompleted
ConditionBuildingNotCompleted
- if the current condition is not fully specifiedpublic java.lang.String getConditionAsText()
ConditionBuildingNotCompleted
- if the current policy is not fully specifiedpublic SerializableOntModelImpl getConditionModel()
ConditionBuildingNotCompleted
- if the current policy is not fully specifiedpublic void setConditionClassName(java.lang.String className)
className
- the name of the condition classpublic KAoSRoleValueMapContainer getConditionRVMContainer()
public java.lang.String getConditionClassName() throws ValueNotSet
ValueNotSet
- if the name is not knownpublic void setConditionDesc(java.lang.String desc)
desc
- description of the Conditionpublic java.lang.String getConditionDesc() throws ValueNotSet
ValueNotSet
- if desc is not knownpublic void setPertinentHistoryClass(ActionHistoryBuilder history)
history
- the class describing pertinent historypublic ActionHistoryBuilder getPertinentHistoryClass()
public void setPertinentHistoryRVMContainer(KAoSRoleValueMapContainer container)
public KAoSRoleValueMapContainer getPertinentHistoryRVMContainer()
public void setPertinentStateClass(KAoSClassBuilderImpl state)
state
- the class describing pertinent state.public KAoSClassBuilderImpl getPertinentStateClass()
public KAoSRoleValueMapContainer getPertinentStateRVMContainer()
public void setPertinentStateRVMContainer(KAoSRoleValueMapContainer container)
public void showCondition()
public void readFromOntologyConditionContainer(OntologyConditionContainer occ)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |