org.opennms.netmgt.config.collectd
Class Attrib

java.lang.Object
  extended by org.opennms.netmgt.config.collectd.Attrib
All Implemented Interfaces:
java.io.Serializable

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

Class Attrib.

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

Constructor Summary
Attrib()
           
 
Method Summary
 java.lang.String getAlias()
          Returns the value of field 'alias'.
 java.lang.String getMaxval()
          Returns the value of field 'maxval'.
 java.lang.String getMinval()
          Returns the value of field 'minval'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getType()
          Returns the value of field 'type'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setAlias(java.lang.String alias)
          Sets the value of field 'alias'.
 void setMaxval(java.lang.String maxval)
          Sets the value of field 'maxval'.
 void setMinval(java.lang.String minval)
          Sets the value of field 'minval'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setType(java.lang.String type)
          Sets the value of field 'type'.
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

Attrib

public Attrib()
Method Detail

getAlias

public java.lang.String getAlias()
Returns the value of field 'alias'.

Returns:
String

getMaxval

public java.lang.String getMaxval()
Returns the value of field 'maxval'.

Returns:
String

getMinval

public java.lang.String getMinval()
Returns the value of field 'minval'.

Returns:
String

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
String

getType

public java.lang.String getType()
Returns the value of field 'type'.

Returns:
String

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

setAlias

public void setAlias(java.lang.String alias)
Sets the value of field 'alias'.

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

setMaxval

public void setMaxval(java.lang.String maxval)
Sets the value of field 'maxval'.

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

setMinval

public void setMinval(java.lang.String minval)
Sets the value of field 'minval'.

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

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

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

setType

public void setType(java.lang.String type)
Sets the value of field 'type'.

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

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.