org.opennms.netmgt.config.rrd
Class TimeAxis

java.lang.Object
  extended by org.opennms.netmgt.config.rrd.TimeAxis
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Time_axis

public class TimeAxis
extends java.lang.Object
implements java.io.Serializable

Class TimeAxis.

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

Constructor Summary
TimeAxis()
           
 
Method Summary
 void deleteCenter_labels()
          Method deleteCenter_labels
 void deleteMaj_grid_unit_steps()
          Method deleteMaj_grid_unit_steps
 void deleteMin_grid_unit_steps()
          Method deleteMin_grid_unit_steps
 boolean getCenter_labels()
          Returns the value of field 'center_labels'.
 java.lang.String getDate_format()
          Returns the value of field 'date_format'.
 DayOfWeek getFirst_day_of_week()
          Returns the value of field 'first_day_of_week'.
 GridTimeUnit getMaj_grid_time_unit()
          Returns the value of field 'maj_grid_time_unit'.
 int getMaj_grid_unit_steps()
          Returns the value of field 'maj_grid_unit_steps'.
 GridTimeUnit getMin_grid_time_unit()
          Returns the value of field 'min_grid_time_unit'.
 int getMin_grid_unit_steps()
          Returns the value of field 'min_grid_unit_steps'.
 boolean hasCenter_labels()
          Method hasCenter_labels
 boolean hasMaj_grid_unit_steps()
          Method hasMaj_grid_unit_steps
 boolean hasMin_grid_unit_steps()
          Method hasMin_grid_unit_steps
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setCenter_labels(boolean center_labels)
          Sets the value of field 'center_labels'.
 void setDate_format(java.lang.String date_format)
          Sets the value of field 'date_format'.
 void setFirst_day_of_week(DayOfWeek first_day_of_week)
          Sets the value of field 'first_day_of_week'.
 void setMaj_grid_time_unit(GridTimeUnit maj_grid_time_unit)
          Sets the value of field 'maj_grid_time_unit'.
 void setMaj_grid_unit_steps(int maj_grid_unit_steps)
          Sets the value of field 'maj_grid_unit_steps'.
 void setMin_grid_time_unit(GridTimeUnit min_grid_time_unit)
          Sets the value of field 'min_grid_time_unit'.
 void setMin_grid_unit_steps(int min_grid_unit_steps)
          Sets the value of field 'min_grid_unit_steps'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeAxis

public TimeAxis()
Method Detail

deleteCenter_labels

public void deleteCenter_labels()
Method deleteCenter_labels


deleteMaj_grid_unit_steps

public void deleteMaj_grid_unit_steps()
Method deleteMaj_grid_unit_steps


deleteMin_grid_unit_steps

public void deleteMin_grid_unit_steps()
Method deleteMin_grid_unit_steps


getCenter_labels

public boolean getCenter_labels()
Returns the value of field 'center_labels'.

Returns:
boolean

getDate_format

public java.lang.String getDate_format()
Returns the value of field 'date_format'. The field 'date_format' has the following description: XXX: the type should probably be a simpleType that we define with a pattern of allowable formats.

Returns:
String

getFirst_day_of_week

public DayOfWeek getFirst_day_of_week()
Returns the value of field 'first_day_of_week'.

Returns:
DayOfWeek

getMaj_grid_time_unit

public GridTimeUnit getMaj_grid_time_unit()
Returns the value of field 'maj_grid_time_unit'.

Returns:
GridTimeUnit

getMaj_grid_unit_steps

public int getMaj_grid_unit_steps()
Returns the value of field 'maj_grid_unit_steps'.

Returns:
int

getMin_grid_time_unit

public GridTimeUnit getMin_grid_time_unit()
Returns the value of field 'min_grid_time_unit'.

Returns:
GridTimeUnit

getMin_grid_unit_steps

public int getMin_grid_unit_steps()
Returns the value of field 'min_grid_unit_steps'.

Returns:
int

hasCenter_labels

public boolean hasCenter_labels()
Method hasCenter_labels

Returns:
boolean

hasMaj_grid_unit_steps

public boolean hasMaj_grid_unit_steps()
Method hasMaj_grid_unit_steps

Returns:
boolean

hasMin_grid_unit_steps

public boolean hasMin_grid_unit_steps()
Method hasMin_grid_unit_steps

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setCenter_labels

public void setCenter_labels(boolean center_labels)
Sets the value of field 'center_labels'.

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

setDate_format

public void setDate_format(java.lang.String date_format)
Sets the value of field 'date_format'. The field 'date_format' has the following description: XXX: the type should probably be a simpleType that we define with a pattern of allowable formats.

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

setFirst_day_of_week

public void setFirst_day_of_week(DayOfWeek first_day_of_week)
Sets the value of field 'first_day_of_week'.

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

setMaj_grid_time_unit

public void setMaj_grid_time_unit(GridTimeUnit maj_grid_time_unit)
Sets the value of field 'maj_grid_time_unit'.

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

setMaj_grid_unit_steps

public void setMaj_grid_unit_steps(int maj_grid_unit_steps)
Sets the value of field 'maj_grid_unit_steps'.

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

setMin_grid_time_unit

public void setMin_grid_time_unit(GridTimeUnit min_grid_time_unit)
Sets the value of field 'min_grid_time_unit'.

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

setMin_grid_unit_steps

public void setMin_grid_unit_steps(int min_grid_unit_steps)
Sets the value of field 'min_grid_unit_steps'.

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

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.