public abstract class AbstractDBObject extends Object implements DBObject
DBObject interface which serves as
parent class for concrete implementations.| Modifier and Type | Field and Description |
|---|---|
protected String |
doc |
protected String |
name |
protected String |
objectType |
protected CompositeDBObject<?> |
owner |
| Constructor and Description |
|---|
AbstractDBObject(String name,
String objectType) |
AbstractDBObject(String name,
String objectType,
CompositeDBObject owner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDoc() |
String |
getName() |
String |
getObjectType() |
CompositeDBObject<?> |
getOwner() |
int |
hashCode() |
void |
setDoc(String doc) |
void |
setName(String name) |
void |
setOwner(CompositeDBObject<?> owner)
sets the owner of the DBObject instance.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisIdenticalprotected String name
protected String objectType
protected String doc
protected CompositeDBObject<?> owner
public AbstractDBObject(String name, String objectType, CompositeDBObject owner)
public String getName()
getName in interface org.databene.commons.Namedpublic String getObjectType()
getObjectType in interface DBObjectpublic void setName(String name)
public String getDoc()
public void setDoc(String doc)
public CompositeDBObject<?> getOwner()
public void setOwner(CompositeDBObject<?> owner)
DBObjectCopyright © 2006–2014 Volker Bergmann. All rights reserved.