Package net.anotheria.asg.data
Class AbstractVO
- java.lang.Object
-
- net.anotheria.asg.data.AbstractVO
-
- All Implemented Interfaces:
java.lang.Cloneable,DataObject
public abstract class AbstractVO extends java.lang.Object implements DataObject
The base class for Value Objects which are DataObjects stored in Databases.- Version:
- $Id: $Id
- Author:
- lrosenberg
-
-
Constructor Summary
Constructors Constructor Description AbstractVO()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AbstractVOclone()DataObjects are cloneable.abstract longgetDaoCreated()Returns the timestamp in millis of the creation time of this object by the DAO.abstract longgetDaoUpdated()Returns the timestamp in millis of the last time of this object was been updated by the DAO.longgetLastUpdateTimestamp()Returns the timestamp (time in ms since 1970) of the last change.ObjectInfogetObjectInfo()Returns the object info about this data object.inthashCode()net.anotheria.util.xml.XMLNodetoXMLNode()Creates an XMLNode for this document for XML export.-
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.anotheria.asg.data.DataObject
getDefinedName, getDefinedParentName, getFootprint, getId, getPropertyValue
-
-
-
-
Method Detail
-
getLastUpdateTimestamp
public long getLastUpdateTimestamp()
Returns the timestamp (time in ms since 1970) of the last change.- Specified by:
getLastUpdateTimestampin interfaceDataObject- Returns:
- timestamp
-
getDaoCreated
public abstract long getDaoCreated()
Returns the timestamp in millis of the creation time of this object by the DAO.- Returns:
- milliseconds
-
getDaoUpdated
public abstract long getDaoUpdated()
Returns the timestamp in millis of the last time of this object was been updated by the DAO.- Returns:
- milliseconds
-
toXMLNode
public net.anotheria.util.xml.XMLNode toXMLNode()
Creates an XMLNode for this document for XML export.- Specified by:
toXMLNodein interfaceDataObject- Returns:
- created XMLSNode
-
getObjectInfo
public ObjectInfo getObjectInfo()
Returns the object info about this data object.- Specified by:
getObjectInfoin interfaceDataObject- Returns:
- object info
-
clone
public AbstractVO clone()
DataObjects are cloneable.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classjava.lang.Object- Returns:
- cloned object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-