de.uni_paderborn.fujaba.fsa.unparse
Class UnparseManager

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.unparse.UnparseManager

public class UnparseManager
extends java.lang.Object

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

Version:
$Revision: 1.40.2.1 $
Author:
$Author: burmi $

Method Summary
protected  boolean addToCascadedProperties(LogicUnparseInterface value, java.lang.String property, CascadedPropertyChangeSupport cpcs)
          Access method for an one to n association.
protected  boolean addToDeferredUnparseTargets(LogicUnparseInterface incr, FSAObject target)
          Access method for an one to n association.
 java.util.Iterator entriesOfCascadedProperties(LogicUnparseInterface value)
          No comment provided by developer, please add a comment to improve documentation.
static UnparseManager get()
          No comment provided by developer, please add a comment to improve documentation.
protected  java.beans.PropertyChangeListener getConsistencyPCL()
          Get the consistencyPCL attribute of the UnparseManager object
 CascadedPropertyChangeSupport getFromCascadedProperties(LogicUnparseInterface value, java.lang.String prop)
          Get the fromCascadedProperties attribute of the UnparseManager object
 UnparseInterface getUnparseModule(LogicUnparseInterface iface)
          Get the unparseModule attribute of the UnparseManager object
 UnparseInterface getUnparseModule(java.lang.String className, java.lang.ClassLoader loader)
          Get the unparseModule attribute of the UnparseManager object
protected  UnparseInterface getUnparseModuleImpl(LogicUnparseInterface iface)
          Get the unparseModuleImpl attribute of the UnparseManager object
protected  UnparseInterface getUnparseModuleImpl(java.lang.String className, java.lang.ClassLoader loader)
          Get the unparseModuleImpl attribute of the UnparseManager object
 java.lang.String getUnparseModuleName(LogicUnparseInterface iface)
          Get the unparseModuleName attribute of the UnparseManager object
 boolean hasInCascadedProperties(LogicUnparseInterface value, java.lang.String property, CascadedPropertyChangeSupport support)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInDeferredUnparseTargets(LogicUnparseInterface incr, FSAObject target)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasKeyInCascadedProperties(LogicUnparseInterface value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasKeyInCascadedProperties(LogicUnparseInterface value, java.lang.String property)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasKeyInDeferredUnparseTargets(LogicUnparseInterface value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean isConsistent(LogicUnparseInterface incr)
          Get the consistent attribute of the UnparseManager object
protected  boolean isConsistentImpl(LogicUnparseInterface incr)
          Get the consistentImpl attribute of the UnparseManager object
 java.util.Iterator iteratorOfCascadedProperties(LogicUnparseInterface value)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfDeferredUnparseTargets(LogicUnparseInterface value)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator keysOfCascadedProperties(LogicUnparseInterface value)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator keysOfDeferredUnparseTargets()
          No comment provided by developer, please add a comment to improve documentation.
protected  boolean observeConsistency(LogicUnparseInterface incr, FSAObject unparseTarget)
          No comment provided by developer, please add a comment to improve documentation.
 void pausePropertyProcessing()
          No comment provided by developer, please add a comment to improve documentation.
protected  void processAddEvent(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
          No comment provided by developer, please add a comment to improve documentation.
protected  void processAddEventImpl(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
          method processAddEvent.
protected  void processChangeEvent(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
          No comment provided by developer, please add a comment to improve documentation.
protected  void processChangeEventImpl(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
          No comment provided by developer, please add a comment to improve documentation.
protected  void processEvent(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
          No comment provided by developer, please add a comment to improve documentation.
protected  void processRemoveEvent(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
          No comment provided by developer, please add a comment to improve documentation.
protected  void processRemoveEventImpl(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
          No comment provided by developer, please add a comment to improve documentation.
 void propertyChange(FSAInterface iface, java.beans.PropertyChangeEvent event)
          No comment provided by developer, please add a comment to improve documentation.
protected  void removeAllFromDeferredUnparseTargets()
          No comment provided by developer, please add a comment to improve documentation.
protected  boolean removeFromDeferredUnparseTargets(FSAObject target)
          No comment provided by developer, please add a comment to improve documentation.
protected  boolean removeFromDeferredUnparseTargets(LogicUnparseInterface incr, FSAObject target)
          No comment provided by developer, please add a comment to improve documentation.
protected  boolean removeKeyFromCascadedProperties(LogicUnparseInterface value)
          No comment provided by developer, please add a comment to improve documentation.
protected  boolean removeKeyFromCascadedProperties(LogicUnparseInterface value, java.lang.String prop)
          No comment provided by developer, please add a comment to improve documentation.
protected  boolean removeKeyFromDeferredUnparseTargets(LogicUnparseInterface value)
          No comment provided by developer, please add a comment to improve documentation.
 void resumePropertyProcessing()
          No comment provided by developer, please add a comment to improve documentation.
protected  void unobserveConsistency(LogicUnparseInterface incr)
          No comment provided by developer, please add a comment to improve documentation.
 FSAObject unparse(LogicUnparseInterface incr)
          Creates a FSAObject for the given logic object.
 FSAObject unparse(LogicUnparseInterface incr, FSAObject fsaObject)
          Creates a FSAObject for the given logic object.
protected  FSAObject unparseImpl(LogicUnparseInterface incr, FSAObject fsaObject)
          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, toString, wait, wait, wait
 

Method Detail

get

public static UnparseManager get()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

getUnparseModule

public final UnparseInterface getUnparseModule(LogicUnparseInterface iface)
Get the unparseModule attribute of the UnparseManager object

Parameters:
iface - No description provided
Returns:
The unparseModule value

getUnparseModule

public final UnparseInterface getUnparseModule(java.lang.String className,
                                               java.lang.ClassLoader loader)
Get the unparseModule attribute of the UnparseManager object

Parameters:
className - No description provided
loader - No description provided
Returns:
The unparseModule value

getUnparseModuleImpl

protected UnparseInterface getUnparseModuleImpl(LogicUnparseInterface iface)
Get the unparseModuleImpl attribute of the UnparseManager object

Parameters:
iface - No description provided
Returns:
The unparseModuleImpl value

getUnparseModuleImpl

protected UnparseInterface getUnparseModuleImpl(java.lang.String className,
                                                java.lang.ClassLoader loader)
Get the unparseModuleImpl attribute of the UnparseManager object

Parameters:
className - No description provided
loader - No description provided
Returns:
The unparseModuleImpl value

getUnparseModuleName

public java.lang.String getUnparseModuleName(LogicUnparseInterface iface)
Get the unparseModuleName attribute of the UnparseManager object

Parameters:
iface - No description provided
Returns:
The unparseModuleName value

unparse

public FSAObject unparse(LogicUnparseInterface incr)
Creates a FSAObject for the given logic object.

Parameters:
incr - the logic object to unparse
Returns:
the FSAObject that represents the logic object (a new one if there was none before or the old one if one existed already)
See Also:
unparse(de.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface, de.uni_paderborn.fujaba.fsa.FSAObject)

unparse

public final FSAObject unparse(LogicUnparseInterface incr,
                               FSAObject fsaObject)
Creates a FSAObject for the given logic object.

If one already exists no changes are made and the old FSAObject is returned. Otherwise the appropriate UnparseModule is retrieved and its create-Method is called to create a new FSAObject. After successful creation unparsing of child objects of the logic object is triggered as defined by the result set of getChildProperties . At last partner links are checked and perhaps triggered for unparsing as defined by the result set of getPartnerProperties.

Parameters:
incr - the logic object to unparse
fsaObject - the Parent into which the logic object should be unparsed
Returns:
the FSAObject that represents the logic object (a new one if there was none before or the old one if one existed already)
See Also:
getUnparseModule(LogicUnparseInterface), isConsistent(de.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface), UnparseInterface.create(de.uni_paderborn.fujaba.fsa.FSAObject, de.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface), UnparseInterface.getChildProperties(java.util.Set), UnparseInterface.getPartnerProperties(java.util.Set)

unparseImpl

protected FSAObject unparseImpl(LogicUnparseInterface incr,
                                FSAObject fsaObject)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
incr - No description provided
fsaObject - No description provided
Returns:
No description provided

propertyChange

public void propertyChange(FSAInterface iface,
                           java.beans.PropertyChangeEvent event)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
iface - No description provided
event - No description provided

pausePropertyProcessing

public void pausePropertyProcessing()
No comment provided by developer, please add a comment to improve documentation.


resumePropertyProcessing

public void resumePropertyProcessing()
No comment provided by developer, please add a comment to improve documentation.


processEvent

protected final void processEvent(LogicUnparseInterface iface,
                                  java.beans.PropertyChangeEvent event,
                                  java.lang.String fsaId,
                                  UnparseInterface unparseModule)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
iface - No description provided
event - No description provided
fsaId - No description provided
unparseModule - No description provided

processAddEvent

protected final void processAddEvent(LogicUnparseInterface iface,
                                     java.beans.PropertyChangeEvent event,
                                     java.lang.String fsaId,
                                     UnparseInterface unparseModule)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
iface - No description provided
event - No description provided
fsaId - No description provided
unparseModule - No description provided

processAddEventImpl

protected void processAddEventImpl(LogicUnparseInterface iface,
                                   java.beans.PropertyChangeEvent event,
                                   java.lang.String fsaId,
                                   UnparseInterface unparseModule)
method processAddEvent.

Parameters:
iface - No description provided
event - No description provided
fsaId - No description provided
unparseModule - No description provided

processRemoveEvent

protected final void processRemoveEvent(LogicUnparseInterface iface,
                                        java.beans.PropertyChangeEvent event,
                                        java.lang.String fsaId,
                                        UnparseInterface unparseModule)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
iface - No description provided
event - No description provided
fsaId - No description provided
unparseModule - No description provided

processRemoveEventImpl

protected void processRemoveEventImpl(LogicUnparseInterface iface,
                                      java.beans.PropertyChangeEvent event,
                                      java.lang.String fsaId,
                                      UnparseInterface unparseModule)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
iface - No description provided
event - No description provided
fsaId - No description provided
unparseModule - No description provided

processChangeEvent

protected final void processChangeEvent(LogicUnparseInterface iface,
                                        java.beans.PropertyChangeEvent event,
                                        java.lang.String fsaId,
                                        UnparseInterface unparseModule)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
iface - No description provided
event - No description provided
fsaId - No description provided
unparseModule - No description provided

processChangeEventImpl

protected void processChangeEventImpl(LogicUnparseInterface iface,
                                      java.beans.PropertyChangeEvent event,
                                      java.lang.String fsaId,
                                      UnparseInterface unparseModule)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
iface - No description provided
event - No description provided
fsaId - No description provided
unparseModule - No description provided

isConsistent

public final boolean isConsistent(LogicUnparseInterface incr)
Get the consistent attribute of the UnparseManager object

Parameters:
incr - No description provided
Returns:
The consistent value

isConsistentImpl

protected boolean isConsistentImpl(LogicUnparseInterface incr)
Get the consistentImpl attribute of the UnparseManager object

Parameters:
incr - No description provided
Returns:
The consistentImpl value

observeConsistency

protected boolean observeConsistency(LogicUnparseInterface incr,
                                     FSAObject unparseTarget)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
incr - No description provided
unparseTarget - No description provided
Returns:
No description provided

unobserveConsistency

protected void unobserveConsistency(LogicUnparseInterface incr)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
incr - No description provided

getConsistencyPCL

protected java.beans.PropertyChangeListener getConsistencyPCL()
Get the consistencyPCL attribute of the UnparseManager object

Returns:
The consistencyPCL value

addToCascadedProperties

protected boolean addToCascadedProperties(LogicUnparseInterface value,
                                          java.lang.String property,
                                          CascadedPropertyChangeSupport cpcs)
Access method for an one to n association.

Parameters:
value - The object added.
property - The object added.
cpcs - The object added.
Returns:
No description provided

hasKeyInCascadedProperties

public boolean hasKeyInCascadedProperties(LogicUnparseInterface value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

hasKeyInCascadedProperties

public boolean hasKeyInCascadedProperties(LogicUnparseInterface value,
                                          java.lang.String property)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
property - No description provided
Returns:
No description provided

hasInCascadedProperties

public boolean hasInCascadedProperties(LogicUnparseInterface value,
                                       java.lang.String property,
                                       CascadedPropertyChangeSupport support)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
property - No description provided
support - No description provided
Returns:
No description provided

iteratorOfCascadedProperties

public java.util.Iterator iteratorOfCascadedProperties(LogicUnparseInterface value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

keysOfCascadedProperties

public java.util.Iterator keysOfCascadedProperties(LogicUnparseInterface value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

entriesOfCascadedProperties

public java.util.Iterator entriesOfCascadedProperties(LogicUnparseInterface value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

getFromCascadedProperties

public CascadedPropertyChangeSupport getFromCascadedProperties(LogicUnparseInterface value,
                                                               java.lang.String prop)
Get the fromCascadedProperties attribute of the UnparseManager object

Parameters:
value - No description provided
prop - No description provided
Returns:
The fromCascadedProperties value

removeKeyFromCascadedProperties

protected boolean removeKeyFromCascadedProperties(LogicUnparseInterface value,
                                                  java.lang.String prop)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
prop - No description provided
Returns:
No description provided

removeKeyFromCascadedProperties

protected boolean removeKeyFromCascadedProperties(LogicUnparseInterface value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

addToDeferredUnparseTargets

protected boolean addToDeferredUnparseTargets(LogicUnparseInterface incr,
                                              FSAObject target)
Access method for an one to n association.

Parameters:
incr - The object added.
target - The object added.
Returns:
No description provided

hasKeyInDeferredUnparseTargets

public boolean hasKeyInDeferredUnparseTargets(LogicUnparseInterface value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

hasInDeferredUnparseTargets

public boolean hasInDeferredUnparseTargets(LogicUnparseInterface incr,
                                           FSAObject target)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
incr - No description provided
target - No description provided
Returns:
No description provided

iteratorOfDeferredUnparseTargets

public java.util.Iterator iteratorOfDeferredUnparseTargets(LogicUnparseInterface value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

keysOfDeferredUnparseTargets

public java.util.Iterator keysOfDeferredUnparseTargets()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

removeKeyFromDeferredUnparseTargets

protected boolean removeKeyFromDeferredUnparseTargets(LogicUnparseInterface value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

removeFromDeferredUnparseTargets

protected boolean removeFromDeferredUnparseTargets(LogicUnparseInterface incr,
                                                   FSAObject target)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
incr - No description provided
target - No description provided
Returns:
No description provided

removeFromDeferredUnparseTargets

protected boolean removeFromDeferredUnparseTargets(FSAObject target)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
target - No description provided
Returns:
No description provided

removeAllFromDeferredUnparseTargets

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