public abstract class AbstractBuildableObject extends AbstractDBObject
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier | Constructor and Description | 
|---|---|
  | 
AbstractBuildableObject()  | 
protected | 
AbstractBuildableObject(java.lang.String name, DBObjectID id)
Constructs a new instance with the specified name and id. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
checkInit()
Checks that the whole object is initialized (built). 
 | 
protected void | 
checkInit(java.lang.String prop)
Checks that the given property has been built. 
 | 
protected void | 
copyToImpl(AbstractDBObject copy, DBObject copyParent, IDPolicy idPolicy)
Implementation method for making a copy of this object. 
 | 
protected boolean | 
equalsImpl(AbstractDBObject target)
Equals implementation for testing equality with another AbstractDBObject. 
 | 
protected void | 
fireObjectUpdated(DBObjectChange change)  | 
protected void | 
getOwnedObjectsImpl(java.util.Collection<DBObject> c, java.lang.String... types)
Implementation first checks that the object has been built - then returns the collection from suprt.getOwnedObjectsImpl(). 
 | 
java.util.Map<java.lang.String,java.lang.Object> | 
getProperties()
Gets the property map that stores all the property information for this object. 
 | 
protected void | 
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Implementation first checks that the object has been built - then returns the collection from suprt.getReferenceIDsImpl(). 
 | 
protected boolean | 
needsInitialization()
Checks if there is still a DBObjectBuilder registered against this object, identifying that it is not yet fully built. 
 | 
addObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, firePropertyChanged, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setProperty, toStringpublic AbstractBuildableObject()
protected AbstractBuildableObject(java.lang.String name,
                       DBObjectID id)
name - a string representing the name of this object.id - the id for this object.protected boolean needsInitialization()
protected void checkInit(java.lang.String prop)
protected void checkInit()
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
DBObjectgetProperties in interface DBObjectgetProperties in interface DynamicPropertySetgetProperties in class AbstractDBObjectprotected void getOwnedObjectsImpl(java.util.Collection<DBObject> c, java.lang.String... types)
getOwnedObjectsImpl in class AbstractDBObjectc - a Collection of the apppropriate children.types - a vararg of the type(s) to search forAbstractDBObject.includesType(java.lang.String, java.lang.String...)protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
getReferenceIDsImpl in class AbstractDBObjectrefs - the collection of ids this object referencesprotected void copyToImpl(AbstractDBObject copy, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObjectcopyToImpl in class AbstractDBObjectcopy - the copy being created of this objectcopyParent - if this object is being copied underneath a parent, this parameter is the copy of the parent of this object, which will therefore need to be the parent of the copy of this object.idPolicy - the policy for copying the object's ID.protected boolean equalsImpl(AbstractDBObject target)
AbstractDBObjectequalsImpl in class AbstractDBObjectprotected void fireObjectUpdated(DBObjectChange change)
fireObjectUpdated in class AbstractDBObject