Class ObjectInfo


  • public class ObjectInfo
    extends java.lang.Object
    An 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.String getAuthor()
      Getter for the field author.
      java.lang.String getFootprint()
      Getter for the field footprint.
      java.lang.String getId()
      Getter for the field id.
      long getLastChangeTimestamp()
      Getter for the field lastChangeTimestamp.
      java.lang.String getType()
      Getter for the field type.
      void setAuthor​(java.lang.String author)
      Setter for the field author.
      void setFootprint​(java.lang.String footprint)
      Setter for the field footprint.
      void setId​(java.lang.String id)
      Setter for the field id.
      void setLastChangeTimestamp​(long lastChangeTimestamp)
      Setter for the field lastChangeTimestamp.
      void setType​(java.lang.String type)
      Setter for the field type.
      java.lang.String toString()
      net.anotheria.util.xml.XMLNode toXML()
      Creates the XMLNode for xml representation of this object info.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 String object.
      • setAuthor

        public void setAuthor​(java.lang.String author)

        Setter for the field author.

        Parameters:
        author - a String object.
      • 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 String object.
      • setFootprint

        public void setFootprint​(java.lang.String footprint)

        Setter for the field footprint.

        Parameters:
        footprint - a String object.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getId

        public java.lang.String getId()

        Getter for the field id.

        Returns:
        a String object.
      • setId

        public void setId​(java.lang.String id)

        Setter for the field id.

        Parameters:
        id - a String object.
      • 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 String object.
      • setType

        public void setType​(java.lang.String type)

        Setter for the field type.

        Parameters:
        type - a String object.