|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.modelimport.Node
public class Node
A node in OpenNMS is a network entity that is used to contain network interfaces and those interface's services.
| Constructor Summary | |
|---|---|
Node()
|
|
| Method Summary | |
|---|---|
void |
addCategory(Category vCategory)
Method addCategory |
void |
addCategory(int index,
Category vCategory)
Method addCategory |
void |
addInterface(Interface vInterface)
Method addInterface |
void |
addInterface(int index,
Interface vInterface)
Method addInterface |
void |
clearCategory()
Method clearCategory |
void |
clearInterface()
Method clearInterface |
java.util.Enumeration |
enumerateCategory()
Method enumerateCategory |
java.util.Enumeration |
enumerateInterface()
Method enumerateInterface |
java.lang.String |
getBuilding()
Returns the value of field 'building'. |
Category[] |
getCategory()
Method getCategory |
Category |
getCategory(int index)
Method getCategory |
java.util.ArrayList |
getCategoryCollection()
Method getCategoryCollection Returns a reference to 'category'. |
int |
getCategoryCount()
Method getCategoryCount |
java.lang.String |
getCity()
Returns the value of field 'city'. |
java.lang.String |
getForeignId()
Returns the value of field 'foreignId'. |
Interface[] |
getInterface()
Method getInterface |
Interface |
getInterface(int index)
Method getInterface |
java.util.ArrayList |
getInterfaceCollection()
Method getInterfaceCollection Returns a reference to '_interface'. |
int |
getInterfaceCount()
Method getInterfaceCount |
java.lang.String |
getNodeLabel()
Returns the value of field 'nodeLabel'. |
java.lang.String |
getParentForeignId()
Returns the value of field 'parentForeignId'. |
java.lang.String |
getParentNodeLabel()
Returns the value of field 'parentNodeLabel'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeCategory(Category vCategory)
Method removeCategory |
boolean |
removeInterface(Interface vInterface)
Method removeInterface |
void |
setBuilding(java.lang.String building)
Sets the value of field 'building'. |
void |
setCategory(java.util.ArrayList categoryCollection)
Method setCategory Sets the value of 'category' by copying the given ArrayList. |
void |
setCategory(Category[] categoryArray)
Method setCategory |
void |
setCategory(int index,
Category vCategory)
Method setCategory |
void |
setCategoryCollection(java.util.ArrayList categoryCollection)
Method setCategoryCollection Sets the value of 'category' by setting it to the given ArrayList. |
void |
setCity(java.lang.String city)
Sets the value of field 'city'. |
void |
setForeignId(java.lang.String foreignId)
Sets the value of field 'foreignId'. |
void |
setInterface(java.util.ArrayList _interfaceCollection)
Method setInterface Sets the value of '_interface' by copying the given ArrayList. |
void |
setInterface(Interface[] _interfaceArray)
Method setInterface |
void |
setInterface(int index,
Interface vInterface)
Method setInterface |
void |
setInterfaceCollection(java.util.ArrayList _interfaceCollection)
Method setInterfaceCollection Sets the value of '_interface' by setting it to the given ArrayList. |
void |
setNodeLabel(java.lang.String nodeLabel)
Sets the value of field 'nodeLabel'. |
void |
setParentForeignId(java.lang.String parentForeignId)
Sets the value of field 'parentForeignId'. |
void |
setParentNodeLabel(java.lang.String parentNodeLabel)
Sets the value of field 'parentNodeLabel'. |
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 Node()
| Method Detail |
|---|
public void addCategory(Category vCategory)
throws java.lang.IndexOutOfBoundsException
vCategory -
java.lang.IndexOutOfBoundsException
public void addCategory(int index,
Category vCategory)
throws java.lang.IndexOutOfBoundsException
index - vCategory -
java.lang.IndexOutOfBoundsException
public void addInterface(Interface vInterface)
throws java.lang.IndexOutOfBoundsException
vInterface -
java.lang.IndexOutOfBoundsException
public void addInterface(int index,
Interface vInterface)
throws java.lang.IndexOutOfBoundsException
index - vInterface -
java.lang.IndexOutOfBoundsExceptionpublic void clearCategory()
public void clearInterface()
public java.util.Enumeration enumerateCategory()
public java.util.Enumeration enumerateInterface()
public java.lang.String getBuilding()
public Category getCategory(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Category[] getCategory()
public java.util.ArrayList getCategoryCollection()
public int getCategoryCount()
public java.lang.String getCity()
public java.lang.String getForeignId()
public Interface getInterface(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Interface[] getInterface()
public java.util.ArrayList getInterfaceCollection()
public int getInterfaceCount()
public java.lang.String getNodeLabel()
public java.lang.String getParentForeignId()
public java.lang.String getParentNodeLabel()
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 removeCategory(Category vCategory)
vCategory -
public boolean removeInterface(Interface vInterface)
vInterface -
public void setBuilding(java.lang.String building)
building - the value of field 'building'.
public void setCategory(int index,
Category vCategory)
throws java.lang.IndexOutOfBoundsException
index - vCategory -
java.lang.IndexOutOfBoundsExceptionpublic void setCategory(Category[] categoryArray)
categoryArray - public void setCategory(java.util.ArrayList categoryCollection)
categoryCollection - the Vector to copy.public void setCategoryCollection(java.util.ArrayList categoryCollection)
categoryCollection - the ArrayList to copy.public void setCity(java.lang.String city)
city - the value of field 'city'.public void setForeignId(java.lang.String foreignId)
foreignId - the value of field 'foreignId'.
public void setInterface(int index,
Interface vInterface)
throws java.lang.IndexOutOfBoundsException
index - vInterface -
java.lang.IndexOutOfBoundsExceptionpublic void setInterface(Interface[] _interfaceArray)
_interfaceArray - public void setInterface(java.util.ArrayList _interfaceCollection)
_interfaceCollection - the Vector to copy.public void setInterfaceCollection(java.util.ArrayList _interfaceCollection)
_interfaceCollection - the ArrayList to copy.public void setNodeLabel(java.lang.String nodeLabel)
nodeLabel - the value of field 'nodeLabel'.public void setParentForeignId(java.lang.String parentForeignId)
parentForeignId - the value of field 'parentForeignId'.public void setParentNodeLabel(java.lang.String parentNodeLabel)
parentNodeLabel - the value of field 'parentNodeLabel'.
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 | ||||||||