Package net.anotheria.asg.data
Class ObjectInfo
- java.lang.Object
-
- net.anotheria.asg.data.ObjectInfo
-
public class ObjectInfo extends java.lang.ObjectAn object which contains the meta information about an object.- Version:
- $Id: $Id
- Author:
- lrosenberg
-
-
Constructor Summary
Constructors Constructor Description ObjectInfo()Creates a new ObjectInfo.ObjectInfo(DataObject object)Creates a new ObjectInfo for a DataObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAuthor()Getter for the fieldauthor.java.lang.StringgetFootprint()Getter for the fieldfootprint.java.lang.StringgetId()Getter for the fieldid.longgetLastChangeTimestamp()Getter for the fieldlastChangeTimestamp.java.lang.StringgetType()Getter for the fieldtype.voidsetAuthor(java.lang.String author)Setter for the fieldauthor.voidsetFootprint(java.lang.String footprint)Setter for the fieldfootprint.voidsetId(java.lang.String id)Setter for the fieldid.voidsetLastChangeTimestamp(long lastChangeTimestamp)Setter for the fieldlastChangeTimestamp.voidsetType(java.lang.String type)Setter for the fieldtype.java.lang.StringtoString()net.anotheria.util.xml.XMLNodetoXML()Creates the XMLNode for xml representation of this object info.
-
-
-
Constructor Detail
-
ObjectInfo
public ObjectInfo()
Creates a new ObjectInfo.
-
ObjectInfo
public ObjectInfo(DataObject object)
Creates a new ObjectInfo for a DataObject.- Parameters:
object- the data object to create the info for.
-
-
Method Detail
-
getAuthor
public java.lang.String getAuthor()
Getter for the field
author.- Returns:
- a
Stringobject.
-
setAuthor
public void setAuthor(java.lang.String author)
Setter for the field
author.- Parameters:
author- aStringobject.
-
getLastChangeTimestamp
public long getLastChangeTimestamp()
Getter for the field
lastChangeTimestamp.- Returns:
- a long.
-
setLastChangeTimestamp
public void setLastChangeTimestamp(long lastChangeTimestamp)
Setter for the field
lastChangeTimestamp.- Parameters:
lastChangeTimestamp- a long.
-
getFootprint
public java.lang.String getFootprint()
Getter for the field
footprint.- Returns:
- a
Stringobject.
-
setFootprint
public void setFootprint(java.lang.String footprint)
Setter for the field
footprint.- Parameters:
footprint- aStringobject.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getId
public java.lang.String getId()
Getter for the field
id.- Returns:
- a
Stringobject.
-
setId
public void setId(java.lang.String id)
Setter for the field
id.- Parameters:
id- aStringobject.
-
toXML
public net.anotheria.util.xml.XMLNode toXML()
Creates the XMLNode for xml representation of this object info.- Returns:
- created XMLNode
-
getType
public java.lang.String getType()
Getter for the field
type.- Returns:
- a
Stringobject.
-
setType
public void setType(java.lang.String type)
Setter for the field
type.- Parameters:
type- aStringobject.
-
-