org.opennms.netmgt.config.rrd
Class Options

java.lang.Object
  extended by org.opennms.netmgt.config.rrd.Options
All Implemented Interfaces:
Serializable

public class Options
extends Object
implements Serializable

Class Options.

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

Constructor Summary
Options()
           
 
Method Summary
 void deleteAnti_aliasing()
           
 void deleteBase_value()
           
 void deleteFront_grid()
           
 void deleteGrid_x()
           
 void deleteGrid_y()
           
 void deleteLeft_padding()
           
 void deleteMajor_grid_x()
           
 void deleteMajor_grid_y()
           
 void deleteMinor_grid_x()
           
 void deleteMinor_grid_y()
           
 void deleteShow_legend()
           
 void deleteShow_signature()
           
 void deleteUnits_exponent()
           
 boolean getAnti_aliasing()
          Returns the value of field 'anti_aliasing'.
 String getArrow_color()
          Returns the value of field 'arrow_color'.
 String getAxis_color()
          Returns the value of field 'axis_color'.
 String getBack_color()
          Returns the value of field 'back_color'.
 String getBackground()
          Returns the value of field 'background'.
 int getBase_value()
          Returns the value of field 'base_value'.
 Border getBorder()
          Returns the value of field 'border'.
 String getCanvas()
          Returns the value of field 'canvas'.
 String getDefault_font_color()
          Returns the value of field 'default_font_color'.
 Default_font getDefault_font()
          Returns the value of field 'default_font'.
 String getFrame_color()
          Returns the value of field 'frame_color'.
 boolean getFront_grid()
          Returns the value of field 'front_grid'.
 Grid_range getGrid_range()
          Returns the value of field 'grid_range'.
 boolean getGrid_x()
          Returns the value of field 'grid_x'.
 boolean getGrid_y()
          Returns the value of field 'grid_y'.
 int getLeft_padding()
          Returns the value of field 'left_padding'.
 String getMajor_grid_color()
          Returns the value of field 'major_grid_color'.
 boolean getMajor_grid_x()
          Returns the value of field 'major_grid_x'.
 boolean getMajor_grid_y()
          Returns the value of field 'major_grid_y'.
 String getMinor_grid_color()
          Returns the value of field 'minor_grid_color'.
 boolean getMinor_grid_x()
          Returns the value of field 'minor_grid_x'.
 boolean getMinor_grid_y()
          Returns the value of field 'minor_grid_y'.
 String getOverlay()
          Returns the value of field 'overlay'.
 boolean getShow_legend()
          Returns the value of field 'show_legend'.
 boolean getShow_signature()
          Returns the value of field 'show_signature'.
 String getTime_axis_label()
          Returns the value of field 'time_axis_label'.
 Time_axis getTime_axis()
          Returns the value of field 'time_axis'.
 String getTitle_font_color()
          Returns the value of field 'title_font_color'.
 Title_font getTitle_font()
          Returns the value of field 'title_font'.
 String getTitle()
          Returns the value of field 'title'.
 int getUnits_exponent()
          Returns the value of field 'units_exponent'.
 Value_axis getValue_axis()
          Returns the value of field 'value_axis'.
 String getVertical_label()
          Returns the value of field 'vertical_label'.
 boolean hasAnti_aliasing()
          Method hasAnti_aliasing.
 boolean hasBase_value()
          Method hasBase_value.
 boolean hasFront_grid()
          Method hasFront_grid.
 boolean hasGrid_x()
          Method hasGrid_x.
 boolean hasGrid_y()
          Method hasGrid_y.
 boolean hasLeft_padding()
          Method hasLeft_padding.
 boolean hasMajor_grid_x()
          Method hasMajor_grid_x.
 boolean hasMajor_grid_y()
          Method hasMajor_grid_y.
 boolean hasMinor_grid_x()
          Method hasMinor_grid_x.
 boolean hasMinor_grid_y()
          Method hasMinor_grid_y.
 boolean hasShow_legend()
          Method hasShow_legend.
 boolean hasShow_signature()
          Method hasShow_signature.
 boolean hasUnits_exponent()
          Method hasUnits_exponent.
 boolean isAnti_aliasing()
          Returns the value of field 'anti_aliasing'.
 boolean isFront_grid()
          Returns the value of field 'front_grid'.
 boolean isGrid_x()
          Returns the value of field 'grid_x'.
 boolean isGrid_y()
          Returns the value of field 'grid_y'.
 boolean isMajor_grid_x()
          Returns the value of field 'major_grid_x'.
 boolean isMajor_grid_y()
          Returns the value of field 'major_grid_y'.
 boolean isMinor_grid_x()
          Returns the value of field 'minor_grid_x'.
 boolean isMinor_grid_y()
          Returns the value of field 'minor_grid_y'.
 boolean isShow_legend()
          Returns the value of field 'show_legend'.
 boolean isShow_signature()
          Returns the value of field 'show_signature'.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setAnti_aliasing(boolean anti_aliasing)
          Sets the value of field 'anti_aliasing'.
 void setArrow_color(String arrow_color)
          Sets the value of field 'arrow_color'.
 void setAxis_color(String axis_color)
          Sets the value of field 'axis_color'.
 void setBack_color(String back_color)
          Sets the value of field 'back_color'.
 void setBackground(String background)
          Sets the value of field 'background'.
 void setBase_value(int base_value)
          Sets the value of field 'base_value'.
 void setBorder(Border border)
          Sets the value of field 'border'.
 void setCanvas(String canvas)
          Sets the value of field 'canvas'.
 void setDefault_font_color(String default_font_color)
          Sets the value of field 'default_font_color'.
 void setDefault_font(Default_font default_font)
          Sets the value of field 'default_font'.
 void setFrame_color(String frame_color)
          Sets the value of field 'frame_color'.
 void setFront_grid(boolean front_grid)
          Sets the value of field 'front_grid'.
 void setGrid_range(Grid_range grid_range)
          Sets the value of field 'grid_range'.
 void setGrid_x(boolean grid_x)
          Sets the value of field 'grid_x'.
 void setGrid_y(boolean grid_y)
          Sets the value of field 'grid_y'.
 void setLeft_padding(int left_padding)
          Sets the value of field 'left_padding'.
 void setMajor_grid_color(String major_grid_color)
          Sets the value of field 'major_grid_color'.
 void setMajor_grid_x(boolean major_grid_x)
          Sets the value of field 'major_grid_x'.
 void setMajor_grid_y(boolean major_grid_y)
          Sets the value of field 'major_grid_y'.
 void setMinor_grid_color(String minor_grid_color)
          Sets the value of field 'minor_grid_color'.
 void setMinor_grid_x(boolean minor_grid_x)
          Sets the value of field 'minor_grid_x'.
 void setMinor_grid_y(boolean minor_grid_y)
          Sets the value of field 'minor_grid_y'.
 void setOverlay(String overlay)
          Sets the value of field 'overlay'.
 void setShow_legend(boolean show_legend)
          Sets the value of field 'show_legend'.
 void setShow_signature(boolean show_signature)
          Sets the value of field 'show_signature'.
 void setTime_axis_label(String time_axis_label)
          Sets the value of field 'time_axis_label'.
 void setTime_axis(Time_axis time_axis)
          Sets the value of field 'time_axis'.
 void setTitle_font_color(String title_font_color)
          Sets the value of field 'title_font_color'.
 void setTitle_font(Title_font title_font)
          Sets the value of field 'title_font'.
 void setTitle(String title)
          Sets the value of field 'title'.
 void setUnits_exponent(int units_exponent)
          Sets the value of field 'units_exponent'.
 void setValue_axis(Value_axis value_axis)
          Sets the value of field 'value_axis'.
 void setVertical_label(String vertical_label)
          Sets the value of field 'vertical_label'.
static Options 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

Options

public Options()
Method Detail

deleteAnti_aliasing

public void deleteAnti_aliasing()

deleteBase_value

public void deleteBase_value()

deleteFront_grid

public void deleteFront_grid()

deleteGrid_x

public void deleteGrid_x()

deleteGrid_y

public void deleteGrid_y()

deleteLeft_padding

public void deleteLeft_padding()

deleteMajor_grid_x

public void deleteMajor_grid_x()

deleteMajor_grid_y

public void deleteMajor_grid_y()

deleteMinor_grid_x

public void deleteMinor_grid_x()

deleteMinor_grid_y

public void deleteMinor_grid_y()

deleteShow_legend

public void deleteShow_legend()

deleteShow_signature

public void deleteShow_signature()

deleteUnits_exponent

public void deleteUnits_exponent()

getAnti_aliasing

public boolean getAnti_aliasing()
Returns the value of field 'anti_aliasing'.

Returns:
the value of field 'Anti_aliasing'.

getArrow_color

public String getArrow_color()
Returns the value of field 'arrow_color'.

Returns:
the value of field 'Arrow_color'.

getAxis_color

public String getAxis_color()
Returns the value of field 'axis_color'.

Returns:
the value of field 'Axis_color'.

getBack_color

public String getBack_color()
Returns the value of field 'back_color'.

Returns:
the value of field 'Back_color'.

getBackground

public String getBackground()
Returns the value of field 'background'.

Returns:
the value of field 'Background'.

getBase_value

public int getBase_value()
Returns the value of field 'base_value'.

Returns:
the value of field 'Base_value'.

getBorder

public Border getBorder()
Returns the value of field 'border'.

Returns:
the value of field 'Border'.

getCanvas

public String getCanvas()
Returns the value of field 'canvas'.

Returns:
the value of field 'Canvas'.

getDefault_font

public Default_font getDefault_font()
Returns the value of field 'default_font'.

Returns:
the value of field 'Default_font'.

getDefault_font_color

public String getDefault_font_color()
Returns the value of field 'default_font_color'.

Returns:
the value of field 'Default_font_color'.

getFrame_color

public String getFrame_color()
Returns the value of field 'frame_color'.

Returns:
the value of field 'Frame_color'.

getFront_grid

public boolean getFront_grid()
Returns the value of field 'front_grid'.

Returns:
the value of field 'Front_grid'.

getGrid_range

public Grid_range getGrid_range()
Returns the value of field 'grid_range'.

Returns:
the value of field 'Grid_range'.

getGrid_x

public boolean getGrid_x()
Returns the value of field 'grid_x'.

Returns:
the value of field 'Grid_x'.

getGrid_y

public boolean getGrid_y()
Returns the value of field 'grid_y'.

Returns:
the value of field 'Grid_y'.

getLeft_padding

public int getLeft_padding()
Returns the value of field 'left_padding'.

Returns:
the value of field 'Left_padding'.

getMajor_grid_color

public String getMajor_grid_color()
Returns the value of field 'major_grid_color'.

Returns:
the value of field 'Major_grid_color'.

getMajor_grid_x

public boolean getMajor_grid_x()
Returns the value of field 'major_grid_x'.

Returns:
the value of field 'Major_grid_x'.

getMajor_grid_y

public boolean getMajor_grid_y()
Returns the value of field 'major_grid_y'.

Returns:
the value of field 'Major_grid_y'.

getMinor_grid_color

public String getMinor_grid_color()
Returns the value of field 'minor_grid_color'.

Returns:
the value of field 'Minor_grid_color'.

getMinor_grid_x

public boolean getMinor_grid_x()
Returns the value of field 'minor_grid_x'.

Returns:
the value of field 'Minor_grid_x'.

getMinor_grid_y

public boolean getMinor_grid_y()
Returns the value of field 'minor_grid_y'.

Returns:
the value of field 'Minor_grid_y'.

getOverlay

public String getOverlay()
Returns the value of field 'overlay'.

Returns:
the value of field 'Overlay'.

getShow_legend

public boolean getShow_legend()
Returns the value of field 'show_legend'.

Returns:
the value of field 'Show_legend'.

getShow_signature

public boolean getShow_signature()
Returns the value of field 'show_signature'.

Returns:
the value of field 'Show_signature'.

getTime_axis

public Time_axis getTime_axis()
Returns the value of field 'time_axis'.

Returns:
the value of field 'Time_axis'.

getTime_axis_label

public String getTime_axis_label()
Returns the value of field 'time_axis_label'.

Returns:
the value of field 'Time_axis_label'.

getTitle

public String getTitle()
Returns the value of field 'title'.

Returns:
the value of field 'Title'.

getTitle_font

public Title_font getTitle_font()
Returns the value of field 'title_font'.

Returns:
the value of field 'Title_font'.

getTitle_font_color

public String getTitle_font_color()
Returns the value of field 'title_font_color'.

Returns:
the value of field 'Title_font_color'.

getUnits_exponent

public int getUnits_exponent()
Returns the value of field 'units_exponent'.

Returns:
the value of field 'Units_exponent'.

getValue_axis

public Value_axis getValue_axis()
Returns the value of field 'value_axis'.

Returns:
the value of field 'Value_axis'.

getVertical_label

public String getVertical_label()
Returns the value of field 'vertical_label'.

Returns:
the value of field 'Vertical_label'.

hasAnti_aliasing

public boolean hasAnti_aliasing()
Method hasAnti_aliasing.

Returns:
true if at least one Anti_aliasing has been added

hasBase_value

public boolean hasBase_value()
Method hasBase_value.

Returns:
true if at least one Base_value has been added

hasFront_grid

public boolean hasFront_grid()
Method hasFront_grid.

Returns:
true if at least one Front_grid has been added

hasGrid_x

public boolean hasGrid_x()
Method hasGrid_x.

Returns:
true if at least one Grid_x has been added

hasGrid_y

public boolean hasGrid_y()
Method hasGrid_y.

Returns:
true if at least one Grid_y has been added

hasLeft_padding

public boolean hasLeft_padding()
Method hasLeft_padding.

Returns:
true if at least one Left_padding has been added

hasMajor_grid_x

public boolean hasMajor_grid_x()
Method hasMajor_grid_x.

Returns:
true if at least one Major_grid_x has been added

hasMajor_grid_y

public boolean hasMajor_grid_y()
Method hasMajor_grid_y.

Returns:
true if at least one Major_grid_y has been added

hasMinor_grid_x

public boolean hasMinor_grid_x()
Method hasMinor_grid_x.

Returns:
true if at least one Minor_grid_x has been added

hasMinor_grid_y

public boolean hasMinor_grid_y()
Method hasMinor_grid_y.

Returns:
true if at least one Minor_grid_y has been added

hasShow_legend

public boolean hasShow_legend()
Method hasShow_legend.

Returns:
true if at least one Show_legend has been added

hasShow_signature

public boolean hasShow_signature()
Method hasShow_signature.

Returns:
true if at least one Show_signature has been added

hasUnits_exponent

public boolean hasUnits_exponent()
Method hasUnits_exponent.

Returns:
true if at least one Units_exponent has been added

isAnti_aliasing

public boolean isAnti_aliasing()
Returns the value of field 'anti_aliasing'.

Returns:
the value of field 'Anti_aliasing'.

isFront_grid

public boolean isFront_grid()
Returns the value of field 'front_grid'.

Returns:
the value of field 'Front_grid'.

isGrid_x

public boolean isGrid_x()
Returns the value of field 'grid_x'.

Returns:
the value of field 'Grid_x'.

isGrid_y

public boolean isGrid_y()
Returns the value of field 'grid_y'.

Returns:
the value of field 'Grid_y'.

isMajor_grid_x

public boolean isMajor_grid_x()
Returns the value of field 'major_grid_x'.

Returns:
the value of field 'Major_grid_x'.

isMajor_grid_y

public boolean isMajor_grid_y()
Returns the value of field 'major_grid_y'.

Returns:
the value of field 'Major_grid_y'.

isMinor_grid_x

public boolean isMinor_grid_x()
Returns the value of field 'minor_grid_x'.

Returns:
the value of field 'Minor_grid_x'.

isMinor_grid_y

public boolean isMinor_grid_y()
Returns the value of field 'minor_grid_y'.

Returns:
the value of field 'Minor_grid_y'.

isShow_legend

public boolean isShow_legend()
Returns the value of field 'show_legend'.

Returns:
the value of field 'Show_legend'.

isShow_signature

public boolean isShow_signature()
Returns the value of field 'show_signature'.

Returns:
the value of field 'Show_signature'.

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

setAnti_aliasing

public void setAnti_aliasing(boolean anti_aliasing)
Sets the value of field 'anti_aliasing'.

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

setArrow_color

public void setArrow_color(String arrow_color)
Sets the value of field 'arrow_color'.

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

setAxis_color

public void setAxis_color(String axis_color)
Sets the value of field 'axis_color'.

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

setBack_color

public void setBack_color(String back_color)
Sets the value of field 'back_color'.

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

setBackground

public void setBackground(String background)
Sets the value of field 'background'.

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

setBase_value

public void setBase_value(int base_value)
Sets the value of field 'base_value'.

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

setBorder

public void setBorder(Border border)
Sets the value of field 'border'.

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

setCanvas

public void setCanvas(String canvas)
Sets the value of field 'canvas'.

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

setDefault_font

public void setDefault_font(Default_font default_font)
Sets the value of field 'default_font'.

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

setDefault_font_color

public void setDefault_font_color(String default_font_color)
Sets the value of field 'default_font_color'.

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

setFrame_color

public void setFrame_color(String frame_color)
Sets the value of field 'frame_color'.

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

setFront_grid

public void setFront_grid(boolean front_grid)
Sets the value of field 'front_grid'.

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

setGrid_range

public void setGrid_range(Grid_range grid_range)
Sets the value of field 'grid_range'.

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

setGrid_x

public void setGrid_x(boolean grid_x)
Sets the value of field 'grid_x'.

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

setGrid_y

public void setGrid_y(boolean grid_y)
Sets the value of field 'grid_y'.

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

setLeft_padding

public void setLeft_padding(int left_padding)
Sets the value of field 'left_padding'.

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

setMajor_grid_color

public void setMajor_grid_color(String major_grid_color)
Sets the value of field 'major_grid_color'.

Parameters:
major_grid_color - the value of field 'major_grid_color'

setMajor_grid_x

public void setMajor_grid_x(boolean major_grid_x)
Sets the value of field 'major_grid_x'.

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

setMajor_grid_y

public void setMajor_grid_y(boolean major_grid_y)
Sets the value of field 'major_grid_y'.

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

setMinor_grid_color

public void setMinor_grid_color(String minor_grid_color)
Sets the value of field 'minor_grid_color'.

Parameters:
minor_grid_color - the value of field 'minor_grid_color'

setMinor_grid_x

public void setMinor_grid_x(boolean minor_grid_x)
Sets the value of field 'minor_grid_x'.

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

setMinor_grid_y

public void setMinor_grid_y(boolean minor_grid_y)
Sets the value of field 'minor_grid_y'.

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

setOverlay

public void setOverlay(String overlay)
Sets the value of field 'overlay'.

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

setShow_legend

public void setShow_legend(boolean show_legend)
Sets the value of field 'show_legend'.

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

setShow_signature

public void setShow_signature(boolean show_signature)
Sets the value of field 'show_signature'.

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

setTime_axis

public void setTime_axis(Time_axis time_axis)
Sets the value of field 'time_axis'.

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

setTime_axis_label

public void setTime_axis_label(String time_axis_label)
Sets the value of field 'time_axis_label'.

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

setTitle

public void setTitle(String title)
Sets the value of field 'title'.

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

setTitle_font

public void setTitle_font(Title_font title_font)
Sets the value of field 'title_font'.

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

setTitle_font_color

public void setTitle_font_color(String title_font_color)
Sets the value of field 'title_font_color'.

Parameters:
title_font_color - the value of field 'title_font_color'

setUnits_exponent

public void setUnits_exponent(int units_exponent)
Sets the value of field 'units_exponent'.

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

setValue_axis

public void setValue_axis(Value_axis value_axis)
Sets the value of field 'value_axis'.

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

setVertical_label

public void setVertical_label(String vertical_label)
Sets the value of field 'vertical_label'.

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

unmarshal

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