net.sf.jagzilla.hibernate
Class ShadowLog

java.lang.Object
  extended bynet.sf.jagzilla.hibernate.XmlObjectImpl
      extended bynet.sf.jagzilla.hibernate.ShadowLog
All Implemented Interfaces:
XmlObject

public class ShadowLog
extends XmlObjectImpl

represents a record in the table shadowlog.

Author:
mgriffa

Constructor Summary
ShadowLog()
           
 
Method Summary
 java.lang.String getCommand()
           
 int getId()
           
 short getReflected()
           
 java.sql.Timestamp getTs()
           
 void loadFromXml(java.io.Reader reader)
          load the object data from xml.
 void setCommand(java.lang.String command)
           
 void setId(int id)
           
 void setReflected(short reflected)
           
 void setTs(java.sql.Timestamp ts)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.jagzilla.hibernate.XmlObjectImpl
equals, getXmlString, loadObjectFromXml, setXmlString, toXml
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShadowLog

public ShadowLog()
Method Detail

getCommand

public java.lang.String getCommand()
Returns:
Returns the command.

setCommand

public void setCommand(java.lang.String command)
Parameters:
command - The command to set.

getId

public int getId()
Returns:
Returns the id.

setId

public void setId(int id)
Parameters:
id - The id to set.

getReflected

public short getReflected()
Returns:
Returns the reflected.

setReflected

public void setReflected(short reflected)
Parameters:
reflected - The reflected to set.

getTs

public java.sql.Timestamp getTs()
Returns:
Returns the ts.

setTs

public void setTs(java.sql.Timestamp ts)
Parameters:
ts - The ts to set.

toString

public java.lang.String toString()

loadFromXml

public void loadFromXml(java.io.Reader reader)
                 throws java.io.IOException,
                        MappingException,
                        MarshalException,
                        ValidationException
Description copied from interface: XmlObject
load the object data from xml. This method internally uses castor to unmarshall the object form XML.

Parameters:
reader - a reader containing a parseable xml
Throws:
java.io.IOException
MappingException
MarshalException
ValidationException


Distributed under the GPL. By Miguel Griffa. See the Jagzilla project page for more info.