org.opennms.netmgt.config.datacollection
Class Attrib

java.lang.Object
  extended by org.opennms.netmgt.config.datacollection.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
 void deleteMatchGroup()
          Method deleteMatchGroup
 java.lang.String getAlias()
          Returns the value of field 'alias'.
 int getMatchGroup()
          Returns the value of field 'matchGroup'.
 java.lang.String getType()
          Returns the value of field 'type'.
 boolean hasMatchGroup()
          Method hasMatchGroup
 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 setMatchGroup(int matchGroup)
          Sets the value of field 'matchGroup'.
 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

deleteMatchGroup

public void deleteMatchGroup()
Method deleteMatchGroup


getAlias

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

Returns:
String

getMatchGroup

public int getMatchGroup()
Returns the value of field 'matchGroup'.

Returns:
int

getType

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

Returns:
String

hasMatchGroup

public boolean hasMatchGroup()
Method hasMatchGroup

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

setAlias

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

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

setMatchGroup

public void setMatchGroup(int matchGroup)
Sets the value of field 'matchGroup'.

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

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.