|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.capsd.ProtocolConfiguration
public class ProtocolConfiguration
IP address/range-specific protocol configuration.
| Constructor Summary | |
|---|---|
ProtocolConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addProperty(int index,
Property vProperty)
Method addProperty |
void |
addProperty(Property vProperty)
Method addProperty |
void |
addRange(int index,
Range vRange)
Method addRange |
void |
addRange(Range vRange)
Method addRange |
void |
addSpecific(int index,
java.lang.String vSpecific)
Method addSpecific |
void |
addSpecific(java.lang.String vSpecific)
Method addSpecific |
void |
clearProperty()
Method clearProperty |
void |
clearRange()
Method clearRange |
void |
clearSpecific()
Method clearSpecific |
java.util.Enumeration |
enumerateProperty()
Method enumerateProperty |
java.util.Enumeration |
enumerateRange()
Method enumerateRange |
java.util.Enumeration |
enumerateSpecific()
Method enumerateSpecific |
Property[] |
getProperty()
Method getProperty |
Property |
getProperty(int index)
Method getProperty |
java.util.ArrayList |
getPropertyCollection()
Method getPropertyCollection Returns a reference to 'property'. |
int |
getPropertyCount()
Method getPropertyCount |
Range[] |
getRange()
Method getRange |
Range |
getRange(int index)
Method getRange |
java.util.ArrayList |
getRangeCollection()
Method getRangeCollection Returns a reference to 'range'. |
int |
getRangeCount()
Method getRangeCount |
java.lang.String |
getScan()
Returns the value of field 'scan'. |
java.lang.String[] |
getSpecific()
Method getSpecific |
java.lang.String |
getSpecific(int index)
Method getSpecific |
java.util.ArrayList |
getSpecificCollection()
Method getSpecificCollection Returns a reference to 'specific'. |
int |
getSpecificCount()
Method getSpecificCount |
java.lang.String |
getUserDefined()
Returns the value of field 'userDefined'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeProperty(Property vProperty)
Method removeProperty |
boolean |
removeRange(Range vRange)
Method removeRange |
boolean |
removeSpecific(java.lang.String vSpecific)
Method removeSpecific |
void |
setProperty(java.util.ArrayList propertyCollection)
Method setProperty Sets the value of 'property' by copying the given ArrayList. |
void |
setProperty(int index,
Property vProperty)
Method setProperty |
void |
setProperty(Property[] propertyArray)
Method setProperty |
void |
setPropertyCollection(java.util.ArrayList propertyCollection)
Method setPropertyCollection Sets the value of 'property' by setting it to the given ArrayList. |
void |
setRange(java.util.ArrayList rangeCollection)
Method setRange Sets the value of 'range' by copying the given ArrayList. |
void |
setRange(int index,
Range vRange)
Method setRange |
void |
setRange(Range[] rangeArray)
Method setRange |
void |
setRangeCollection(java.util.ArrayList rangeCollection)
Method setRangeCollection Sets the value of 'range' by setting it to the given ArrayList. |
void |
setScan(java.lang.String scan)
Sets the value of field 'scan'. |
void |
setSpecific(java.util.ArrayList specificCollection)
Method setSpecific Sets the value of 'specific' by copying the given ArrayList. |
void |
setSpecific(int index,
java.lang.String vSpecific)
Method setSpecific |
void |
setSpecific(java.lang.String[] specificArray)
Method setSpecific |
void |
setSpecificCollection(java.util.ArrayList specificCollection)
Method setSpecificCollection Sets the value of 'specific' by setting it to the given ArrayList. |
void |
setUserDefined(java.lang.String userDefined)
Sets the value of field 'userDefined'. |
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 |
|---|
public ProtocolConfiguration()
| Method Detail |
|---|
public void addProperty(Property vProperty)
throws java.lang.IndexOutOfBoundsException
vProperty -
java.lang.IndexOutOfBoundsException
public void addProperty(int index,
Property vProperty)
throws java.lang.IndexOutOfBoundsException
index - vProperty -
java.lang.IndexOutOfBoundsException
public void addRange(Range vRange)
throws java.lang.IndexOutOfBoundsException
vRange -
java.lang.IndexOutOfBoundsException
public void addRange(int index,
Range vRange)
throws java.lang.IndexOutOfBoundsException
index - vRange -
java.lang.IndexOutOfBoundsException
public void addSpecific(java.lang.String vSpecific)
throws java.lang.IndexOutOfBoundsException
vSpecific -
java.lang.IndexOutOfBoundsException
public void addSpecific(int index,
java.lang.String vSpecific)
throws java.lang.IndexOutOfBoundsException
index - vSpecific -
java.lang.IndexOutOfBoundsExceptionpublic void clearProperty()
public void clearRange()
public void clearSpecific()
public java.util.Enumeration enumerateProperty()
public java.util.Enumeration enumerateRange()
public java.util.Enumeration enumerateSpecific()
public Property getProperty(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Property[] getProperty()
public java.util.ArrayList getPropertyCollection()
public int getPropertyCount()
public Range getRange(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Range[] getRange()
public java.util.ArrayList getRangeCollection()
public int getRangeCount()
public java.lang.String getScan()
public java.lang.String getSpecific(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getSpecific()
public java.util.ArrayList getSpecificCollection()
public int getSpecificCount()
public java.lang.String getUserDefined()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeProperty(Property vProperty)
vProperty -
public boolean removeRange(Range vRange)
vRange -
public boolean removeSpecific(java.lang.String vSpecific)
vSpecific -
public void setProperty(int index,
Property vProperty)
throws java.lang.IndexOutOfBoundsException
index - vProperty -
java.lang.IndexOutOfBoundsExceptionpublic void setProperty(Property[] propertyArray)
propertyArray - public void setProperty(java.util.ArrayList propertyCollection)
propertyCollection - the Vector to copy.public void setPropertyCollection(java.util.ArrayList propertyCollection)
propertyCollection - the ArrayList to copy.
public void setRange(int index,
Range vRange)
throws java.lang.IndexOutOfBoundsException
index - vRange -
java.lang.IndexOutOfBoundsExceptionpublic void setRange(Range[] rangeArray)
rangeArray - public void setRange(java.util.ArrayList rangeCollection)
rangeCollection - the Vector to copy.public void setRangeCollection(java.util.ArrayList rangeCollection)
rangeCollection - the ArrayList to copy.public void setScan(java.lang.String scan)
scan - the value of field 'scan'.
public void setSpecific(int index,
java.lang.String vSpecific)
throws java.lang.IndexOutOfBoundsException
index - vSpecific -
java.lang.IndexOutOfBoundsExceptionpublic void setSpecific(java.lang.String[] specificArray)
specificArray - public void setSpecific(java.util.ArrayList specificCollection)
specificCollection - the Vector to copy.public void setSpecificCollection(java.util.ArrayList specificCollection)
specificCollection - the ArrayList to copy.public void setUserDefined(java.lang.String userDefined)
userDefined - the value of field 'userDefined'.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||