|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.model.impl.ModelObjectImpl
public abstract class ModelObjectImpl
The class from which most other model objects descend from. You should not instantiate this class directly.
| Field Summary | |
|---|---|
protected Document |
document
|
protected Time |
modifiedTime
|
protected java.lang.String |
uid
|
| Constructor Summary | |
|---|---|
ModelObjectImpl()
|
|
| Method Summary | |
|---|---|
int |
compareTo(ModelObject o)
|
boolean |
equals(java.lang.Object obj)
|
Document |
getDocument()
Returns the document associated with this model object, or null if there is no document. |
Time |
getModified()
Gets the last modified date of the object |
java.lang.String |
getUid()
Returns the UID string for this object. |
void |
setChanged()
Sets the object as modified. |
void |
setDocument(Document document)
Sets the document. |
void |
setModified(java.util.Date modifiedDate)
|
void |
setModified(Time modifiedTime)
|
void |
setUid(java.lang.String uid)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Time modifiedTime
protected java.lang.String uid
protected Document document
| Constructor Detail |
|---|
public ModelObjectImpl()
| Method Detail |
|---|
public void setChanged()
ModelObject
setChanged in interface ModelObjectpublic Time getModified()
ModelObject
getModified in interface ModelObjectpublic void setModified(Time modifiedTime)
public void setModified(java.util.Date modifiedDate)
public java.lang.String getUid()
ModelObject
getUid in interface ModelObjectpublic void setUid(java.lang.String uid)
public Document getDocument()
ModelObject
getDocument in interface ModelObjectpublic void setDocument(Document document)
ModelObject
setDocument in interface ModelObjectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(ModelObject o)
compareTo in interface java.lang.Comparable<ModelObject>compareTo in interface ModelObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||