org.opennms.netmgt.config.rrd
Class TimeAxis

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

public class TimeAxis
extends Object
implements Serializable

Class TimeAxis.

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

Constructor Summary
TimeAxis()
           
 
Method Summary
 void deleteCenter_labels()
           
 void deleteMaj_grid_unit_steps()
           
 void deleteMin_grid_unit_steps()
           
 boolean getCenter_labels()
          Returns the value of field 'center_labels'.
 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 isCenter_labels()
          Returns the value of field 'center_labels'.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setCenter_labels(boolean center_labels)
          Sets the value of field 'center_labels'.
 void setDate_format(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 TimeAxis 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

TimeAxis

public TimeAxis()
Method Detail

deleteCenter_labels

public void deleteCenter_labels()

deleteMaj_grid_unit_steps

public void deleteMaj_grid_unit_steps()

deleteMin_grid_unit_steps

public void deleteMin_grid_unit_steps()

getCenter_labels

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

Returns:
the value of field 'Center_labels'.

getDate_format

public 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:
the value of field 'Date_format'.

getFirst_day_of_week

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

Returns:
the value of field 'First_day_of_week'.

getMaj_grid_time_unit

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

Returns:
the value of field 'Maj_grid_time_unit'.

getMaj_grid_unit_steps

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

Returns:
the value of field 'Maj_grid_unit_steps'.

getMin_grid_time_unit

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

Returns:
the value of field 'Min_grid_time_unit'.

getMin_grid_unit_steps

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

Returns:
the value of field 'Min_grid_unit_steps'.

hasCenter_labels

public boolean hasCenter_labels()
Method hasCenter_labels.

Returns:
true if at least one Center_labels has been added

hasMaj_grid_unit_steps

public boolean hasMaj_grid_unit_steps()
Method hasMaj_grid_unit_steps.

Returns:
true if at least one Maj_grid_unit_steps has been added

hasMin_grid_unit_steps

public boolean hasMin_grid_unit_steps()
Method hasMin_grid_unit_steps.

Returns:
true if at least one Min_grid_unit_steps has been added

isCenter_labels

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

Returns:
the value of field 'Center_labels'.

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

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(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 TimeAxis 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.TimeAxi
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.