|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.fsa.unparse.UnparseManager
No comment provided by developer, please add a comment to improve documentation.
Nested Class Summary | |
private class |
UnparseManager.ConsistencyPCL
No comment provided by developer, please add a comment to improve documentation. |
Field Summary | |
private java.util.WeakHashMap |
cascadedProperties
No comment provided by developer, please add a comment to improve documentation. |
private java.beans.PropertyChangeListener |
consistencyPCL
No comment provided by developer, please add a comment to improve documentation. |
private java.util.WeakHashMap |
deferredUnparseTargets
No comment provided by developer, please add a comment to improve documentation. |
private java.lang.ref.ReferenceQueue |
deferredUnparseTargetsGCQueue
No comment provided by developer, please add a comment to improve documentation. |
private static org.apache.log4j.Logger |
log
log4j logging |
private java.lang.StringBuffer |
moduleNameStringBuffer
No comment provided by developer, please add a comment to improve documentation. |
private boolean |
pausePropertyProcessing
No comment provided by developer, please add a comment to improve documentation. |
private java.util.LinkedList |
queuedPropertyEvents
No comment provided by developer, please add a comment to improve documentation. |
private static UnparseManager |
singleton
No comment provided by developer, please add a comment to improve documentation. |
private java.util.TreeMap |
unparseModules
No comment provided by developer, please add a comment to improve documentation. |
Constructor Summary | |
private |
UnparseManager()
Constructor for class UnparseManager |
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. |
private void |
clearDeferredUnparseTargetsGCQueue()
No comment provided by developer, please add a comment to improve documentation. |
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 |
private java.lang.String |
getFsaID(FSAObject fsaObject,
UnparseInterface unparseModule,
java.lang.String property)
Get the fsaID 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. |
(package private) void |
initialize(UnparseInterface unparseModule,
LogicUnparseInterface incr,
FSAObject fsaObject)
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 |
Field Detail |
private static final transient org.apache.log4j.Logger log
private static transient UnparseManager singleton
private transient java.util.TreeMap unparseModules
private transient java.lang.StringBuffer moduleNameStringBuffer
private java.util.LinkedList queuedPropertyEvents
private boolean pausePropertyProcessing
private java.beans.PropertyChangeListener consistencyPCL
private java.util.WeakHashMap cascadedProperties
private java.util.WeakHashMap deferredUnparseTargets
private java.lang.ref.ReferenceQueue deferredUnparseTargetsGCQueue
Constructor Detail |
private UnparseManager()
Method Detail |
public static UnparseManager get()
public final UnparseInterface getUnparseModule(LogicUnparseInterface iface)
iface
- No description provided
public final UnparseInterface getUnparseModule(java.lang.String className, java.lang.ClassLoader loader)
className
- No description providedloader
- No description provided
protected UnparseInterface getUnparseModuleImpl(LogicUnparseInterface iface)
iface
- No description provided
protected UnparseInterface getUnparseModuleImpl(java.lang.String className, java.lang.ClassLoader loader)
className
- No description providedloader
- No description provided
public java.lang.String getUnparseModuleName(LogicUnparseInterface iface)
iface
- No description provided
public FSAObject unparse(LogicUnparseInterface incr)
FSAObject
for the given logic object.
incr
- the logic object to unparse
unparse(de.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface, de.uni_paderborn.fujaba.fsa.FSAObject)
public final FSAObject unparse(LogicUnparseInterface incr, FSAObject fsaObject)
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
.
incr
- the logic object to unparsefsaObject
- the Parent into which the logic object should be unparsed
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)
protected FSAObject unparseImpl(LogicUnparseInterface incr, FSAObject fsaObject)
incr
- No description providedfsaObject
- No description provided
void initialize(UnparseInterface unparseModule, LogicUnparseInterface incr, FSAObject fsaObject)
unparseModule
- No description providedincr
- No description providedfsaObject
- No description providedpublic void propertyChange(FSAInterface iface, java.beans.PropertyChangeEvent event)
iface
- No description providedevent
- No description providedprivate java.lang.String getFsaID(FSAObject fsaObject, UnparseInterface unparseModule, java.lang.String property)
fsaObject
- No description providedunparseModule
- No description providedproperty
- No description provided
public void pausePropertyProcessing()
public void resumePropertyProcessing()
protected final void processEvent(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
iface
- No description providedevent
- No description providedfsaId
- No description providedunparseModule
- No description providedprotected final void processAddEvent(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
iface
- No description providedevent
- No description providedfsaId
- No description providedunparseModule
- No description providedprotected void processAddEventImpl(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
iface
- No description providedevent
- No description providedfsaId
- No description providedunparseModule
- No description providedprotected final void processRemoveEvent(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
iface
- No description providedevent
- No description providedfsaId
- No description providedunparseModule
- No description providedprotected void processRemoveEventImpl(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
iface
- No description providedevent
- No description providedfsaId
- No description providedunparseModule
- No description providedprotected final void processChangeEvent(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
iface
- No description providedevent
- No description providedfsaId
- No description providedunparseModule
- No description providedprotected void processChangeEventImpl(LogicUnparseInterface iface, java.beans.PropertyChangeEvent event, java.lang.String fsaId, UnparseInterface unparseModule)
iface
- No description providedevent
- No description providedfsaId
- No description providedunparseModule
- No description providedpublic final boolean isConsistent(LogicUnparseInterface incr)
incr
- No description provided
protected boolean isConsistentImpl(LogicUnparseInterface incr)
incr
- No description provided
protected boolean observeConsistency(LogicUnparseInterface incr, FSAObject unparseTarget)
incr
- No description providedunparseTarget
- No description provided
protected void unobserveConsistency(LogicUnparseInterface incr)
incr
- No description providedprotected java.beans.PropertyChangeListener getConsistencyPCL()
protected boolean addToCascadedProperties(LogicUnparseInterface value, java.lang.String property, CascadedPropertyChangeSupport cpcs)
value
- The object added.property
- The object added.cpcs
- The object added.
public boolean hasKeyInCascadedProperties(LogicUnparseInterface value)
value
- No description provided
public boolean hasKeyInCascadedProperties(LogicUnparseInterface value, java.lang.String property)
value
- No description providedproperty
- No description provided
public boolean hasInCascadedProperties(LogicUnparseInterface value, java.lang.String property, CascadedPropertyChangeSupport support)
value
- No description providedproperty
- No description providedsupport
- No description provided
public java.util.Iterator iteratorOfCascadedProperties(LogicUnparseInterface value)
value
- No description provided
public java.util.Iterator keysOfCascadedProperties(LogicUnparseInterface value)
value
- No description provided
public java.util.Iterator entriesOfCascadedProperties(LogicUnparseInterface value)
value
- No description provided
public CascadedPropertyChangeSupport getFromCascadedProperties(LogicUnparseInterface value, java.lang.String prop)
value
- No description providedprop
- No description provided
protected boolean removeKeyFromCascadedProperties(LogicUnparseInterface value, java.lang.String prop)
value
- No description providedprop
- No description provided
protected boolean removeKeyFromCascadedProperties(LogicUnparseInterface value)
value
- No description provided
private void clearDeferredUnparseTargetsGCQueue()
protected boolean addToDeferredUnparseTargets(LogicUnparseInterface incr, FSAObject target)
incr
- The object added.target
- The object added.
public boolean hasKeyInDeferredUnparseTargets(LogicUnparseInterface value)
value
- No description provided
public boolean hasInDeferredUnparseTargets(LogicUnparseInterface incr, FSAObject target)
incr
- No description providedtarget
- No description provided
public java.util.Iterator iteratorOfDeferredUnparseTargets(LogicUnparseInterface value)
value
- No description provided
public java.util.Iterator keysOfDeferredUnparseTargets()
protected boolean removeKeyFromDeferredUnparseTargets(LogicUnparseInterface value)
value
- No description provided
protected boolean removeFromDeferredUnparseTargets(LogicUnparseInterface incr, FSAObject target)
incr
- No description providedtarget
- No description provided
protected boolean removeFromDeferredUnparseTargets(FSAObject target)
target
- No description provided
protected void removeAllFromDeferredUnparseTargets()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |