|
|||||||||
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
public class BasicActionDescription
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 | |
---|---|
BasicActionDescription()
|
|
BasicActionDescription(KAoSInstance ki)
|
Method Summary | |
---|---|
void |
addActorInstance(java.lang.Object aname)
|
void |
addMultipleTargetInstances(java.lang.String tRoleName,
java.util.Collection insts)
|
void |
addProperty(KAoSProperty add)
This method overrides its superclass method so that it can add the property name to its targetRoleNames vector. |
void |
addTargetInstance(java.lang.String tRoleName,
java.lang.Object tname)
This function adds an instance in the property for the given target role name. |
void |
addTargetInstanceDescription(java.lang.String tRoleName,
java.lang.String instID,
KAoSInstance desc)
|
static BasicActionDescription |
filterBAD(BasicActionDescription bad,
BasicActionDescription policy)
This method filters a given BAD object such that it is allowed by the given A- policy object. |
java.util.List |
getActionSubclassesOfInterest()
This method returns all the subclasses of this action, along with the action class name. |
java.util.Set |
getActionTypes()
|
java.lang.String |
getActorRangeClassName()
|
java.util.Set |
getAllActorInstances()
|
java.lang.String |
getBaseActionClassName()
|
java.util.List |
getClassRangesOfInterest()
This method returns all the classranges of properties in this action. |
KAoSInstance |
getInstanceDescriptionFor(java.lang.String tRoleName,
java.lang.String instID)
|
java.util.Set |
getInstancesForTarget(java.lang.String tRoleName)
|
java.util.List |
getPropretiesOfInterest()
This method returns all the properties and their subproperties contained in this action. |
java.lang.String |
getTargetClassName(java.lang.String tRoleName)
|
java.util.Vector |
getTargetRoleNames()
|
boolean |
isActorComplement()
|
boolean |
isActorInstancePresent(java.lang.Object aname)
|
boolean |
isTargetComplement(java.lang.String tRoleName)
|
boolean |
isTargetInstancePresent(java.lang.String tRoleName,
java.lang.Object tname)
|
boolean |
isTargetPresent(java.lang.String tRoleName)
|
void |
removeActorInstance(java.lang.Object aname)
|
void |
removeAllActorInstances()
|
void |
removeAllTargetInstances(java.lang.String tRoleName)
|
void |
removeTargetInstance(java.lang.String tRoleName,
java.lang.Object tname)
|
void |
removeTargetInstanceDescription(java.lang.String tRoleName,
java.lang.String instID)
|
KAoSInstance |
returnCopy()
Return a clone of this instance. |
void |
setActionProperty(KAoSProperty prop)
|
void |
setActionTypes(java.util.Vector actions)
|
void |
setActorComplement(boolean b)
|
void |
setActorProperty(KAoSProperty prop)
|
void |
setActorRangeClassName(java.lang.String name)
|
void |
setBaseActionClassName(java.lang.String name)
|
void |
setMultipleTargetInstances(java.lang.String tRoleName,
java.util.Collection insts)
|
void |
setTargetClassName(java.lang.String tRoleName,
java.lang.String tClassName)
|
void |
setTargetComplement(java.lang.String tRoleName,
boolean val)
|
java.lang.String |
toString()
Return a string representation of this instance. |
void |
updateActionSubclasses(java.lang.String className,
java.util.Collection subclasses)
to update the subclasses of this action class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BasicActionDescription()
public BasicActionDescription(KAoSInstance ki) throws ActorNotSet
ActorNotSet
Method Detail |
---|
public void setActionTypes(java.util.Vector actions)
public void updateActionSubclasses(java.lang.String className, java.util.Collection subclasses)
className
- the action class whose subclasses are updatedsubclasses
- the collection of updated subclassespublic java.util.Set getActionTypes()
public void setActionProperty(KAoSProperty prop)
public void setBaseActionClassName(java.lang.String name)
public java.lang.String getBaseActionClassName()
public void addActorInstance(java.lang.Object aname)
public void removeActorInstance(java.lang.Object aname)
public void removeAllActorInstances()
public void setActorComplement(boolean b)
public boolean isActorComplement()
public boolean isActorInstancePresent(java.lang.Object aname)
public java.util.Set getAllActorInstances()
public void setActorRangeClassName(java.lang.String name)
public java.lang.String getActorRangeClassName()
public void setActorProperty(KAoSProperty prop)
public void addProperty(KAoSProperty add)
addProperty
in class KAoSInstance
add
- - the KAoSProperty to add to this instancepublic void addTargetInstance(java.lang.String tRoleName, java.lang.Object tname)
public void addTargetInstanceDescription(java.lang.String tRoleName, java.lang.String instID, KAoSInstance desc)
public void removeTargetInstance(java.lang.String tRoleName, java.lang.Object tname)
public void removeTargetInstanceDescription(java.lang.String tRoleName, java.lang.String instID)
public void addMultipleTargetInstances(java.lang.String tRoleName, java.util.Collection insts)
public void setMultipleTargetInstances(java.lang.String tRoleName, java.util.Collection insts)
public void removeAllTargetInstances(java.lang.String tRoleName)
public void setTargetComplement(java.lang.String tRoleName, boolean val)
public boolean isTargetComplement(java.lang.String tRoleName)
public java.util.Vector getTargetRoleNames()
public void setTargetClassName(java.lang.String tRoleName, java.lang.String tClassName)
public java.lang.String getTargetClassName(java.lang.String tRoleName)
public boolean isTargetInstancePresent(java.lang.String tRoleName, java.lang.Object tname)
public boolean isTargetPresent(java.lang.String tRoleName)
public java.util.Set getInstancesForTarget(java.lang.String tRoleName)
public KAoSInstance getInstanceDescriptionFor(java.lang.String tRoleName, java.lang.String instID)
public static BasicActionDescription filterBAD(BasicActionDescription bad, BasicActionDescription policy)
public java.util.List getPropretiesOfInterest()
public java.util.List getClassRangesOfInterest()
public java.util.List getActionSubclassesOfInterest()
public KAoSInstance returnCopy()
KAoSInstance
returnCopy
in class KAoSInstance
public java.lang.String toString()
KAoSInstance
toString
in class KAoSInstance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |