de.fhg.igd.jhsm
Class AbstractComponent

java.lang.Object
  extended byde.fhg.igd.jhsm.AbstractComponent
All Implemented Interfaces:
Component, Serializable
Direct Known Subclasses:
HSMState, HSMTransition

public abstract class AbstractComponent
extends Object
implements Component, Serializable

See Also:
Serialized Form

Field Summary
private  Action action_
           
private  Logger LOG
           
private  String name_
           
private  Component parent_
           
 
Constructor Summary
AbstractComponent()
           
 
Method Summary
 Action getAction()
          Returns the action associated with this component.
 String getName()
          Debug method.
 Component getParent()
          Returns the parent component.
 void setAction(Action action)
          Assiociates an action with the component.
 void setName(String name)
          Debug method.
 void setParent(Component parent)
          Sets the parent component.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.fhg.igd.jhsm.Component
action
 

Field Detail

LOG

private final Logger LOG

name_

private String name_

parent_

private Component parent_

action_

private Action action_
Constructor Detail

AbstractComponent

public AbstractComponent()
Method Detail

setName

public void setName(String name)
Debug method.

Specified by:
setName in interface Component

getName

public String getName()
Debug method.

Specified by:
getName in interface Component

toString

public String toString()

setAction

public void setAction(Action action)
Description copied from interface: Component
Assiociates an action with the component.

Specified by:
setAction in interface Component
Parameters:
action - The action that should be executed by the component.

getAction

public Action getAction()
Description copied from interface: Component
Returns the action associated with this component.

Specified by:
getAction in interface Component

getParent

public Component getParent()
Description copied from interface: Component
Returns the parent component.

Specified by:
getParent in interface Component

setParent

public void setParent(Component parent)
Description copied from interface: Component
Sets the parent component.

Specified by:
setParent in interface Component


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.