public abstract class Structure extends java.lang.Object implements Dirtyable
HashStructure and ListStructure.HashStructure, 
ListStructure| Modifier and Type | Method and Description | 
|---|---|
| void | addStructureChangeListener(StructureChangeListener listener)Adds the specified  StructureChangeListenerto this
  Structure. | 
| void | applyBatchChanges(java.lang.Runnable runnable)This method buffers all change events at this level of Structure
  for the duration of the specified Runnable. | 
| void | clear() | 
| void | fireValueModified(java.lang.String name,
                 Structure valueParent,
                 java.lang.Object oldValue,
                 java.lang.Object newValue) | 
| java.lang.String | getFullName()Returns the fully qualified name of this structure relative to
  its root structure. | 
| java.lang.String | getStructName()Returns the immediate name of this structure relative to its parent
  structure. | 
| protected static java.lang.Object | intern(java.lang.Object object) | 
| protected static java.lang.String | intern(java.lang.String s) | 
| protected static java.net.URL | intern(java.net.URL url) | 
| boolean | isDirty()True if the data in the object has been modified. | 
| void | markDirty(boolean dirty)Marks the entire object graph containing this Structure instance
  as dirty. | 
| void | removeStructureChangeListener(StructureChangeListener listener)Removes the specified  StructureChangeListenerfrom this
  Structure. | 
protected static final java.lang.Object intern(java.lang.Object object)
protected static final java.lang.String intern(java.lang.String s)
protected static final java.net.URL intern(java.net.URL url)
public final boolean isDirty()
Dirtyablepublic void markDirty(boolean dirty)
public void clear()
public java.lang.String getStructName()
null.public java.lang.String getFullName()
null.public void addStructureChangeListener(StructureChangeListener listener)
StructureChangeListener to this
  Structure.  Only events firing from this level of Structure
  or one of its descendants is forwarded to the listener -- i.e.
  changes applied to sibling Structures will not automatically
  notify listeners registered on this Structure.public void removeStructureChangeListener(StructureChangeListener listener)
StructureChangeListener from this
  Structure.public void applyBatchChanges(java.lang.Runnable runnable)
StructureChangeEvent
  is fired to listeners with the details of all individual change
  events that occurred.public final void fireValueModified(java.lang.String name,
                                    Structure valueParent,
                                    java.lang.Object oldValue,
                                    java.lang.Object newValue)