de.uni_paderborn.fujaba.fsa.update
Class AbstractUpdater

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.update.AbstractUpdater
All Implemented Interfaces:
Translator
Direct Known Subclasses:
FsaToLogicUpdater, LogicToFsaUpdater

public abstract class AbstractUpdater
extends java.lang.Object
implements Translator

base class for uml-fsa-update

Version:
$Revision: 1.11 $
Author:
$Author: lowende $

Field Summary
private  java.lang.String fsaAttrName
          UMLAttribute : 'fsaAttrName : String '
private  FSAObject fsaObject
           N 0..1 AbstractUpdater ----------------------- FSAObject updater fsaObject
private  boolean listenerActive
          No comment provided by developer, please add a comment to improve documentation.
private  java.lang.String logicAttrName
          UMLAttribute : 'logicAttrName : String '
private  java.lang.Object logicObject
          UMLAttribute : 'logicObject : Object '
private  Translator translator
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
AbstractUpdater()
          Constructor for class AbstractUpdater
 
Method Summary
protected abstract  void addListener()
          Access method for an one to n association.
 java.lang.String getFsaAttrName()
          Get the value of fsaAttrName.
 FSAObject getFsaObject()
          Get the fsaObject attribute of the AbstractUpdater object
 java.lang.String getLogicAttrName()
          Get the value of logicAttrName.
 java.lang.Object getLogicObject()
          Get the value of logicObject.
 Translator getTranslator()
          Get the translator attribute of the AbstractUpdater object
protected abstract  void initialize()
          No comment provided by developer, please add a comment to improve documentation.
 boolean isListenerActive()
          Get the listenerActive attribute of the AbstractUpdater object
protected abstract  void removeListener()
          No comment provided by developer, please add a comment to improve documentation.
 boolean setFsaAttrName(java.lang.String fsaAttrName)
          Set the value of fsaAttrName.
 boolean setFsaObject(FSAObject value)
          Sets the fsaObject attribute of the AbstractUpdater object
 boolean setListenerActive(boolean active)
          Sets the listenerActive attribute of the AbstractUpdater object
(package private)  void setListenerState(boolean state)
          Sets the listenerState attribute of the AbstractUpdater object
 boolean setLogicAttrName(java.lang.String logicAttrName)
          Set the value of logicAttrName.
 boolean setLogicObject(java.lang.Object logicObject)
          Set the value of logicObject.
 void setTranslator(Translator propValue)
          Sets the translator attribute of the AbstractUpdater object
 java.lang.String toString()
           
 java.lang.Object translateFsaToLogic(java.lang.Object data)
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.Object translateLogicToFsa(java.lang.Object data)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

translator

private Translator translator
No comment provided by developer, please add a comment to improve documentation.


logicObject

private java.lang.Object logicObject
UMLAttribute : 'logicObject : Object '


logicAttrName

private java.lang.String logicAttrName
UMLAttribute : 'logicAttrName : String '


fsaAttrName

private java.lang.String fsaAttrName
UMLAttribute : 'fsaAttrName : String '


fsaObject

private FSAObject fsaObject
                  N                0..1
 AbstractUpdater ----------------------- FSAObject
                  updater     fsaObject
 


listenerActive

private boolean listenerActive
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

AbstractUpdater

public AbstractUpdater()
Constructor for class AbstractUpdater

Method Detail

getTranslator

public Translator getTranslator()
Get the translator attribute of the AbstractUpdater object

Returns:
The translator value

setTranslator

public void setTranslator(Translator propValue)
Sets the translator attribute of the AbstractUpdater object

Parameters:
propValue - The new translator value

getLogicObject

public java.lang.Object getLogicObject()
Get the value of logicObject.

Returns:
Value of logicObject.

setLogicObject

public boolean setLogicObject(java.lang.Object logicObject)
Set the value of logicObject.

Parameters:
logicObject - Value to assign to logicObject.
Returns:
No description provided

getLogicAttrName

public java.lang.String getLogicAttrName()
Get the value of logicAttrName.

Returns:
Value of logicAttrName.

setLogicAttrName

public boolean setLogicAttrName(java.lang.String logicAttrName)
Set the value of logicAttrName.

Parameters:
logicAttrName - Value to assign to logicAttrName.
Returns:
No description provided

getFsaAttrName

public java.lang.String getFsaAttrName()
Get the value of fsaAttrName.

Returns:
Value of fsaAttrName.

setFsaAttrName

public boolean setFsaAttrName(java.lang.String fsaAttrName)
Set the value of fsaAttrName.

Parameters:
fsaAttrName - Value to assign to fsaAttrName.
Returns:
No description provided

setFsaObject

public boolean setFsaObject(FSAObject value)
Sets the fsaObject attribute of the AbstractUpdater object

Parameters:
value - The new fsaObject value
Returns:
No description provided

getFsaObject

public FSAObject getFsaObject()
Get the fsaObject attribute of the AbstractUpdater object

Returns:
The fsaObject value

toString

public java.lang.String toString()
Returns:
short string representation of current object

translateLogicToFsa

public java.lang.Object translateLogicToFsa(java.lang.Object data)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
translateLogicToFsa in interface Translator
Parameters:
data - No description provided
Returns:
No description provided

translateFsaToLogic

public java.lang.Object translateFsaToLogic(java.lang.Object data)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
translateFsaToLogic in interface Translator
Parameters:
data - No description provided
Returns:
No description provided

setListenerState

void setListenerState(boolean state)
Sets the listenerState attribute of the AbstractUpdater object

Parameters:
state - The new listenerState value

setListenerActive

public boolean setListenerActive(boolean active)
Sets the listenerActive attribute of the AbstractUpdater object

Parameters:
active - The new listenerActive value
Returns:
No description provided

isListenerActive

public boolean isListenerActive()
Get the listenerActive attribute of the AbstractUpdater object

Returns:
The listenerActive value

initialize

protected abstract void initialize()
No comment provided by developer, please add a comment to improve documentation.


addListener

protected abstract void addListener()
Access method for an one to n association.


removeListener

protected abstract void removeListener()
No comment provided by developer, please add a comment to improve documentation.