|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.linkd.Vlans
public class Vlans
Class Vlans.
| Constructor Summary | |
|---|---|
Vlans()
|
|
| Method Summary | |
|---|---|
void |
addVendor(int index,
Vendor vVendor)
|
void |
addVendor(Vendor vVendor)
|
Enumeration<Vendor> |
enumerateVendor()
Method enumerateVendor. |
Vendor[] |
getVendor()
Method getVendor.Returns the contents of the collection in an Array. |
Vendor |
getVendor(int index)
Method getVendor. |
List<Vendor> |
getVendorCollection()
Method getVendorCollection.Returns a reference to '_vendorList'. |
int |
getVendorCount()
Method getVendorCount. |
boolean |
isValid()
Method isValid. |
Iterator<Vendor> |
iterateVendor()
Method iterateVendor. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllVendor()
|
boolean |
removeVendor(Vendor vVendor)
Method removeVendor. |
Vendor |
removeVendorAt(int index)
Method removeVendorAt. |
void |
setVendor(int index,
Vendor vVendor)
|
void |
setVendor(List<Vendor> vVendorList)
Sets the value of '_vendorList' by copying the given Vector. |
void |
setVendor(Vendor[] vVendorArray)
|
void |
setVendorCollection(List<Vendor> vendorList)
Deprecated. |
static Vlans |
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 |
|---|
public Vlans()
| Method Detail |
|---|
public void addVendor(Vendor vVendor)
throws IndexOutOfBoundsException
vVendor -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addVendor(int index,
Vendor vVendor)
throws IndexOutOfBoundsException
index - vVendor -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Vendor> enumerateVendor()
public Vendor getVendor(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Vendor[] getVendor()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Vendor> getVendorCollection()
public int getVendorCount()
public boolean isValid()
public Iterator<Vendor> iterateVendor()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
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
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
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 marshalingpublic void removeAllVendor()
public boolean removeVendor(Vendor vVendor)
vVendor -
public Vendor removeVendorAt(int index)
index -
public void setVendor(int index,
Vendor vVendor)
throws IndexOutOfBoundsException
index - vVendor -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setVendor(Vendor[] vVendorArray)
vVendorArray - public void setVendor(List<Vendor> vVendorList)
vVendorList - the Vector to copy.public void setVendorCollection(List<Vendor> vendorList)
vendorList - the Vector to set.
public static Vlans unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
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
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||