org.opennms.netmgt.config.rrd
Class GraphChoice

java.lang.Object
  extended by org.opennms.netmgt.config.rrd.GraphChoice
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Graph_element

public class GraphChoice
extends Object
implements Serializable

Class GraphChoice.

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

Constructor Summary
GraphChoice()
           
 
Method Summary
 Area getArea()
          Returns the value of field 'area'.
 Object getChoiceValue()
          Returns the value of field 'choiceValue'.
 String getComment()
          Returns the value of field 'comment'.
 Gprint getGprint()
          Returns the value of field 'gprint'.
 Hrule getHrule()
          Returns the value of field 'hrule'.
 Line getLine()
          Returns the value of field 'line'.
 Stack getStack()
          Returns the value of field 'stack'.
 Time getTime()
          Returns the value of field 'time'.
 Vrule getVrule()
          Returns the value of field 'vrule'.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setArea(Area area)
          Sets the value of field 'area'.
 void setComment(String comment)
          Sets the value of field 'comment'.
 void setGprint(Gprint gprint)
          Sets the value of field 'gprint'.
 void setHrule(Hrule hrule)
          Sets the value of field 'hrule'.
 void setLine(Line line)
          Sets the value of field 'line'.
 void setStack(Stack stack)
          Sets the value of field 'stack'.
 void setTime(Time time)
          Sets the value of field 'time'.
 void setVrule(Vrule vrule)
          Sets the value of field 'vrule'.
static GraphChoice unmarshal(Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphChoice

public GraphChoice()
Method Detail

getArea

public Area getArea()
Returns the value of field 'area'.

Returns:
the value of field 'Area'.

getChoiceValue

public Object getChoiceValue()
Returns the value of field 'choiceValue'. The field 'choiceValue' has the following description: Internal choice value storage

Returns:
the value of field 'ChoiceValue'.

getComment

public String getComment()
Returns the value of field 'comment'.

Returns:
the value of field 'Comment'.

getGprint

public Gprint getGprint()
Returns the value of field 'gprint'.

Returns:
the value of field 'Gprint'.

getHrule

public Hrule getHrule()
Returns the value of field 'hrule'.

Returns:
the value of field 'Hrule'.

getLine

public Line getLine()
Returns the value of field 'line'.

Returns:
the value of field 'Line'.

getStack

public Stack getStack()
Returns the value of field 'stack'.

Returns:
the value of field 'Stack'.

getTime

public Time getTime()
Returns the value of field 'time'.

Returns:
the value of field 'Time'.

getVrule

public Vrule getVrule()
Returns the value of field 'vrule'.

Returns:
the value of field 'Vrule'.

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

setArea

public void setArea(Area area)
Sets the value of field 'area'.

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

setComment

public void setComment(String comment)
Sets the value of field 'comment'.

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

setGprint

public void setGprint(Gprint gprint)
Sets the value of field 'gprint'.

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

setHrule

public void setHrule(Hrule hrule)
Sets the value of field 'hrule'.

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

setLine

public void setLine(Line line)
Sets the value of field 'line'.

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

setStack

public void setStack(Stack stack)
Sets the value of field 'stack'.

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

setTime

public void setTime(Time time)
Sets the value of field 'time'.

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

setVrule

public void setVrule(Vrule vrule)
Sets the value of field 'vrule'.

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

unmarshal

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

Parameters:
reader -
Returns:
the unmarshaled org.opennms.netmgt.config.rrd.GraphChoice
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 © 2009. All Rights Reserved.