org.opennms.netmgt.jasper.rrdtool
Class Meta

java.lang.Object
  extended by org.opennms.netmgt.jasper.rrdtool.Meta
All Implemented Interfaces:
Serializable

public class Meta
extends Object
implements Serializable

Class Meta.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Meta()
           
 
Method Summary
 boolean equals(Object obj)
          Overrides the java.lang.Object.equals method.
 Columns getColumns()
          Returns the value of field 'columns'.
 End getEnd()
          Returns the value of field 'end'.
 Legend getLegend()
          Returns the value of field 'legend'.
 Rows getRows()
          Returns the value of field 'rows'.
 Start getStart()
          Returns the value of field 'start'.
 Step getStep()
          Returns the value of field 'step'.
 int hashCode()
          Overrides the java.lang.Object.hashCode method.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setColumns(Columns columns)
          Sets the value of field 'columns'.
 void setEnd(End end)
          Sets the value of field 'end'.
 void setLegend(Legend legend)
          Sets the value of field 'legend'.
 void setRows(Rows rows)
          Sets the value of field 'rows'.
 void setStart(Start start)
          Sets the value of field 'start'.
 void setStep(Step step)
          Sets the value of field 'step'.
static Meta unmarshal(Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Meta

public Meta()
Method Detail

equals

public boolean equals(Object obj)
Overrides the java.lang.Object.equals method.

Overrides:
equals in class Object
Parameters:
obj -
Returns:
true if the objects are equal.

getColumns

public Columns getColumns()
Returns the value of field 'columns'.

Returns:
the value of field 'Columns'.

getEnd

public End getEnd()
Returns the value of field 'end'.

Returns:
the value of field 'End'.

getLegend

public Legend getLegend()
Returns the value of field 'legend'.

Returns:
the value of field 'Legend'.

getRows

public Rows getRows()
Returns the value of field 'rows'.

Returns:
the value of field 'Rows'.

getStart

public Start getStart()
Returns the value of field 'start'.

Returns:
the value of field 'Start'.

getStep

public Step getStep()
Returns the value of field 'step'.

Returns:
the value of field 'Step'.

hashCode

public int hashCode()
Overrides the java.lang.Object.hashCode method.

The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3

Overrides:
hashCode in class Object
Returns:
a hash code value for the object.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

setColumns

public void setColumns(Columns columns)
Sets the value of field 'columns'.

Parameters:
columns - the value of field 'columns'.

setEnd

public void setEnd(End end)
Sets the value of field 'end'.

Parameters:
end - the value of field 'end'.

setLegend

public void setLegend(Legend legend)
Sets the value of field 'legend'.

Parameters:
legend - the value of field 'legend'.

setRows

public void setRows(Rows rows)
Sets the value of field 'rows'.

Parameters:
rows - the value of field 'rows'.

setStart

public void setStart(Start start)
Sets the value of field 'start'.

Parameters:
start - the value of field 'start'.

setStep

public void setStep(Step step)
Sets the value of field 'step'.

Parameters:
step - the value of field 'step'.

unmarshal

public static Meta unmarshal(Reader reader)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled org.opennms.netmgt.jasper.rrdtool.Met
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema


Copyright © 2011. All Rights Reserved.