kaos.core.csi
Class ActionInstanceDescriptionImpl

java.lang.Object
  extended by kaos.core.csi.OntInstanceDescriptionImpl
      extended by kaos.core.csi.ActionInstanceDescriptionImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ActionInstanceDescription, OntInstanceDescription
Direct Known Subclasses:
ObligationActionDescriptionImpl

public class ActionInstanceDescriptionImpl
extends OntInstanceDescriptionImpl
implements ActionInstanceDescription, java.lang.Cloneable, java.io.Serializable

This class contains information describing an Action instance. $Revision: 1.24 $

See Also:
Serialized Form

Constructor Summary
ActionInstanceDescriptionImpl(SerializableOntModelImpl model, OntologyService ontService)
           
ActionInstanceDescriptionImpl(java.lang.String owlString)
           
ActionInstanceDescriptionImpl(java.lang.String owlString, OntologyService ontService)
           
ActionInstanceDescriptionImpl(java.lang.String actionId, java.lang.String actionClassName, java.lang.String actor)
           
ActionInstanceDescriptionImpl(java.lang.String actionId, java.lang.String actionClassName, java.lang.String actor, java.util.Map<java.lang.String,java.lang.Object> properties)
           
 
Method Summary
 java.lang.Object clone()
          Implementation of the clone method
 boolean equals(java.lang.Object o)
           
 java.lang.String getActionClassName()
          Get the name of the class of action.
 java.lang.String getActor()
          Get the name of the actor.
 java.lang.String getConceptMappingName()
          Get the name of the concept mapping.
 java.lang.String getPropertyPopulatorKey()
           
 int hashCode()
           
 void setConceptMappingName(java.lang.String name)
          Set the name of the concept mapping.
 void setPropertyPopulatorKey(java.lang.String aKey)
           
 java.lang.String toString()
          Returns a string representation of this instance.
 
Methods inherited from class kaos.core.csi.OntInstanceDescriptionImpl
addProperty, addProperty, addType, addValueForProperty, addValueForProperty, createValueDescription, getAllValueDescriptionsForProperty, getAllValuesForProperty, getDescriptionOfFirstValueForProperty, getFirstType, getFirstValueForProperty, getInstanceID, getInstanceOntModel, getName, getNestedProperty, getProperties, getPropertiesMap, getProperty, getTypes, removeProperty, removeType, setProperty, setValueForProperty, setValueForProperty
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface kaos.core.csi.OntInstanceDescription
addProperty, addProperty, addType, getFirstType, getInstanceOntModel, getName, getNestedProperty, getProperties, getPropertiesMap, getProperty, getTypes, removeProperty, removeType
 

Constructor Detail

ActionInstanceDescriptionImpl

public ActionInstanceDescriptionImpl(java.lang.String actionId,
                                     java.lang.String actionClassName,
                                     java.lang.String actor)
                              throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

ActionInstanceDescriptionImpl

public ActionInstanceDescriptionImpl(java.lang.String actionId,
                                     java.lang.String actionClassName,
                                     java.lang.String actor,
                                     java.util.Map<java.lang.String,java.lang.Object> properties)
                              throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

ActionInstanceDescriptionImpl

public ActionInstanceDescriptionImpl(SerializableOntModelImpl model,
                                     OntologyService ontService)
                              throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

ActionInstanceDescriptionImpl

public ActionInstanceDescriptionImpl(java.lang.String owlString,
                                     OntologyService ontService)
                              throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

ActionInstanceDescriptionImpl

public ActionInstanceDescriptionImpl(java.lang.String owlString)
                              throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException
Method Detail

getActor

public java.lang.String getActor()
Description copied from interface: ActionInstanceDescription
Get the name of the actor.

Specified by:
getActor in interface ActionInstanceDescription

getActionClassName

public java.lang.String getActionClassName()
Description copied from interface: ActionInstanceDescription
Get the name of the class of action.

Specified by:
getActionClassName in interface ActionInstanceDescription

setConceptMappingName

public void setConceptMappingName(java.lang.String name)
Description copied from interface: ActionInstanceDescription
Set the name of the concept mapping.

Specified by:
setConceptMappingName in interface ActionInstanceDescription
Parameters:
name - - the name of the concept mapping

getConceptMappingName

public java.lang.String getConceptMappingName()
Description copied from interface: ActionInstanceDescription
Get the name of the concept mapping.

Specified by:
getConceptMappingName in interface ActionInstanceDescription

getPropertyPopulatorKey

public java.lang.String getPropertyPopulatorKey()
Specified by:
getPropertyPopulatorKey in interface ActionInstanceDescription

setPropertyPopulatorKey

public void setPropertyPopulatorKey(java.lang.String aKey)
Specified by:
setPropertyPopulatorKey in interface ActionInstanceDescription

toString

public java.lang.String toString()
Description copied from class: OntInstanceDescriptionImpl
Returns a string representation of this instance.

Overrides:
toString in class OntInstanceDescriptionImpl

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class OntInstanceDescriptionImpl

hashCode

public int hashCode()
Overrides:
hashCode in class OntInstanceDescriptionImpl

clone

public java.lang.Object clone()
Description copied from class: OntInstanceDescriptionImpl
Implementation of the clone method

Specified by:
clone in interface OntInstanceDescription
Overrides:
clone in class OntInstanceDescriptionImpl
Returns:
clone of the object