net.sf.jagzilla.hibernate
Class NamedQuery
java.lang.Object
net.sf.jagzilla.hibernate.XmlObjectImpl
net.sf.jagzilla.hibernate.NamedQuery
- All Implemented Interfaces:
- java.io.Serializable, XmlObject
- public class NamedQuery
- extends XmlObjectImpl
- implements java.io.Serializable
represents a record in the table namedqueries.
- Author:
- mgriffa
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NamedQuery
public NamedQuery()
getLinkInFooter
public short getLinkInFooter()
- Returns:
- Returns the linkInFooter.
setLinkInFooter
public void setLinkInFooter(short linkInFooter)
- Parameters:
linkInFooter - The linkInFooter to set.
getQuery
public java.lang.String getQuery()
- Returns:
- Returns the query.
setQuery
public void setQuery(java.lang.String query)
- Parameters:
query - The query to set.
getWatchForDiffs
public short getWatchForDiffs()
- Returns:
- Returns the watchForDiffs.
setWatchForDiffs
public void setWatchForDiffs(short watchForDiffs)
- Parameters:
watchForDiffs - The watchForDiffs to set.
getId
public NamedQueryPrimaryKey getId()
- Returns:
- Returns the id.
setId
public void setId(NamedQueryPrimaryKey id)
- Parameters:
id - The id 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.
- Specified by:
loadFromXml in interface XmlObject
- 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.