org.infolayer.model
Class ObjectStateImpl

java.lang.Object
  extended byorg.infolayer.model.ObjectStateImpl
All Implemented Interfaces:
ObjectState

public class ObjectStateImpl
extends java.lang.Object
implements ObjectState

Author:
J?rg Pleumann To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates.

Constructor Summary
ObjectStateImpl()
           
 
Method Summary
 UmlModelElement getOclState(java.lang.String state)
          Returns the UmlState ModelElement for the given OclState name or null, if the state doesn't exist.
 java.lang.Object[] getPotentialTriggers()
           
 void init(UmlObject object)
           
 boolean isStateActive(java.lang.String state)
          Can't be implemented using getActiveState because this only contains the active leaf states.
 void processEvent(java.lang.Object event)
           
 void renderState(java.io.OutputStream output)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectStateImpl

public ObjectStateImpl()
Method Detail

init

public void init(UmlObject object)
Specified by:
init in interface ObjectState
See Also:
org.infolayer.model.ObjectState#setObject(org.infolayer.model.UmlObject)

getPotentialTriggers

public java.lang.Object[] getPotentialTriggers()
Specified by:
getPotentialTriggers in interface ObjectState
See Also:
org.infolayer.model.ObjectState#getTriggeringEvents()

isStateActive

public boolean isStateActive(java.lang.String state)
Description copied from interface: ObjectState
Can't be implemented using getActiveState because this only contains the active leaf states.

Specified by:
isStateActive in interface ObjectState
See Also:
org.infolayer.model.ObjectState#isStateActive(org.infolayer.model.OclState)

getOclState

public UmlModelElement getOclState(java.lang.String state)
Description copied from interface: ObjectState
Returns the UmlState ModelElement for the given OclState name or null, if the state doesn't exist.

Specified by:
getOclState in interface ObjectState

processEvent

public void processEvent(java.lang.Object event)
Specified by:
processEvent in interface ObjectState
See Also:
org.infolayer.model.ObjectState#processEvent(java.lang.String)

renderState

public void renderState(java.io.OutputStream output)
Specified by:
renderState in interface ObjectState