|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.policy.information.KAoSInstance kaos.policy.information.BasicActionDescription kaos.ontology.repository.ActionInstanceDescription
public class ActionInstanceDescription
This class containes information describing an Action instance. It extends the BasicActionDescription class. Although it has an interface to access the actor, the action class and the targets seperately, it is really a hashtable storing KAoSProperties hashed on their names. See BasicActionDescription for more details. $Revision: 1.34 $
Nested Class Summary |
---|
Nested classes/interfaces inherited from class kaos.policy.information.KAoSInstance |
---|
KAoSInstance.PropertyNameWithPath |
Field Summary |
---|
Fields inherited from class kaos.policy.information.KAoSInstance |
---|
_instanceNameURI, _instanceOfClassURI, _originalOWL, _properties, _propertyClasses |
Constructor Summary | |
---|---|
ActionInstanceDescription(KAoSInstance ki)
|
|
ActionInstanceDescription(java.lang.String actionClassName,
java.lang.Object actor,
java.util.Set targets)
|
|
ActionInstanceDescription(java.lang.String actionClassName,
java.lang.Object actor,
java.util.Set targets,
java.lang.String mappingName)
|
|
ActionInstanceDescription(java.lang.String actionClassName,
java.util.Set targets)
|
Method Summary | |
---|---|
void |
addTargetPropertyInstance(TargetInstanceDescription tid)
|
java.lang.String |
getActionClassName()
Get the name of the class of action. |
java.lang.Object |
getActor()
|
java.lang.String |
getConceptMappingName()
Get the name of the concept mapping. |
java.lang.String |
getPropertyPopulatorKey()
|
java.util.Set |
getTargetInstances(java.lang.String targetName)
Return a set of TargetInstanceDescriptiosn, whose target name matches the specified name. |
java.util.Set |
getTargets()
Get TargetInstanceDescription(s) for this action. |
boolean |
isTargetPresent(java.lang.String targetName)
Return true, if a target by the specifed name is present, otherwise return false. |
void |
removeAllTargetInstanceDescriptions(java.lang.String targetName)
|
void |
removeTargetPropertyInstance(TargetInstanceDescription tid)
|
ActionInstanceDescription |
returnCopyOfAID()
|
void |
setPropertyPopulatorKey(java.lang.String aKey)
|
java.lang.String |
toString()
Return a string representation of this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActionInstanceDescription(java.lang.String actionClassName, java.lang.Object actor, java.util.Set targets, java.lang.String mappingName)
public ActionInstanceDescription(java.lang.String actionClassName, java.lang.Object actor, java.util.Set targets)
public ActionInstanceDescription(java.lang.String actionClassName, java.util.Set targets)
public ActionInstanceDescription(KAoSInstance ki) throws ActorNotSet
ActorNotSet
Method Detail |
---|
public void addTargetPropertyInstance(TargetInstanceDescription tid)
public void removeTargetPropertyInstance(TargetInstanceDescription tid)
public void removeAllTargetInstanceDescriptions(java.lang.String targetName)
public java.lang.Object getActor()
public java.lang.String getActionClassName()
public java.lang.String getConceptMappingName()
public java.util.Set getTargets()
public java.util.Set getTargetInstances(java.lang.String targetName)
public boolean isTargetPresent(java.lang.String targetName)
isTargetPresent
in class BasicActionDescription
public void setPropertyPopulatorKey(java.lang.String aKey)
public java.lang.String getPropertyPopulatorKey()
public java.lang.String toString()
KAoSInstance
toString
in class BasicActionDescription
public ActionInstanceDescription returnCopyOfAID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |