org.opennms.netmgt.config.rrd
Class GraphGprint

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

public class GraphGprint
extends Object
implements Serializable

Class GraphGprint.

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

Constructor Summary
GraphGprint()
           
 
Method Summary
 void deleteBase()
           
 int getBase()
          Returns the value of field 'base'.
 Cf getCf()
          Returns the value of field 'cf'.
 String getDatasource()
          Returns the value of field 'datasource'.
 String getFormat()
          Returns the value of field 'format'.
 boolean hasBase()
          Method hasBase.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setBase(int base)
          Sets the value of field 'base'.
 void setCf(Cf cf)
          Sets the value of field 'cf'.
 void setDatasource(String datasource)
          Sets the value of field 'datasource'.
 void setFormat(String format)
          Sets the value of field 'format'.
static GraphGprint 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

GraphGprint

public GraphGprint()
Method Detail

deleteBase

public void deleteBase()

getBase

public int getBase()
Returns the value of field 'base'.

Returns:
the value of field 'Base'.

getCf

public Cf getCf()
Returns the value of field 'cf'.

Returns:
the value of field 'Cf'.

getDatasource

public String getDatasource()
Returns the value of field 'datasource'.

Returns:
the value of field 'Datasource'.

getFormat

public String getFormat()
Returns the value of field 'format'.

Returns:
the value of field 'Format'.

hasBase

public boolean hasBase()
Method hasBase.

Returns:
true if at least one Base has been added

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

setBase

public void setBase(int base)
Sets the value of field 'base'.

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

setCf

public void setCf(Cf cf)
Sets the value of field 'cf'.

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

setDatasource

public void setDatasource(String datasource)
Sets the value of field 'datasource'.

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

setFormat

public void setFormat(String format)
Sets the value of field 'format'.

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

unmarshal

public static GraphGprint 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.GraphGprint
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.