public class Interface extends Object implements Serializable
Constructor and Description |
---|
Interface() |
Modifier and Type | Method and Description |
---|---|
void |
addCategory(Category vCategory) |
void |
addCategory(int index,
Category vCategory) |
void |
addMonitoredService(int index,
MonitoredService vMonitoredService) |
void |
addMonitoredService(MonitoredService vMonitoredService) |
void |
deleteManaged() |
void |
deleteStatus() |
Enumeration<Category> |
enumerateCategory()
Method enumerateCategory.
|
Enumeration<MonitoredService> |
enumerateMonitoredService()
Method enumerateMonitoredService.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
Category[] |
getCategory()
Method getCategory.Returns the contents of the collection in
an Array.
|
Category |
getCategory(int index)
Method getCategory.
|
List<Category> |
getCategoryCollection()
Method getCategoryCollection.Returns a reference to
'_categoryList'.
|
int |
getCategoryCount()
Method getCategoryCount.
|
Object |
getDescr()
Returns the value of field 'descr'.
|
String |
getIpAddr()
Returns the value of field 'ipAddr'.
|
boolean |
getManaged()
Returns the value of field 'managed'.
|
MonitoredService[] |
getMonitoredService()
Method getMonitoredService.Returns the contents of the
collection in an Array.
|
MonitoredService |
getMonitoredService(int index)
Method getMonitoredService.
|
List<MonitoredService> |
getMonitoredServiceCollection()
Method getMonitoredServiceCollection.Returns a reference to
'_monitoredServiceList'.
|
int |
getMonitoredServiceCount()
Method getMonitoredServiceCount.
|
InterfaceSnmpPrimaryType |
getSnmpPrimary()
Returns the value of field 'snmpPrimary'.
|
int |
getStatus()
Returns the value of field 'status'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasManaged()
Method hasManaged.
|
boolean |
hasStatus()
Method hasStatus.
|
boolean |
isManaged()
Returns the value of field 'managed'.
|
boolean |
isValid()
Method isValid.
|
Iterator<Category> |
iterateCategory()
Method iterateCategory.
|
Iterator<MonitoredService> |
iterateMonitoredService()
Method iterateMonitoredService.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllCategory() |
void |
removeAllMonitoredService() |
boolean |
removeCategory(Category vCategory)
Method removeCategory.
|
Category |
removeCategoryAt(int index)
Method removeCategoryAt.
|
boolean |
removeMonitoredService(MonitoredService vMonitoredService)
Method removeMonitoredService.
|
MonitoredService |
removeMonitoredServiceAt(int index)
Method removeMonitoredServiceAt.
|
void |
setCategory(Category[] vCategoryArray) |
void |
setCategory(int index,
Category vCategory) |
void |
setCategory(List<Category> vCategoryList)
Sets the value of '_categoryList' by copying the given
Vector.
|
void |
setCategoryCollection(List<Category> categoryList)
Deprecated.
|
void |
setDescr(Object descr)
Sets the value of field 'descr'.
|
void |
setIpAddr(String ipAddr)
Sets the value of field 'ipAddr'.
|
void |
setManaged(boolean managed)
Sets the value of field 'managed'.
|
void |
setMonitoredService(int index,
MonitoredService vMonitoredService) |
void |
setMonitoredService(List<MonitoredService> vMonitoredServiceList)
Sets the value of '_monitoredServiceList' by copying the
given Vector.
|
void |
setMonitoredService(MonitoredService[] vMonitoredServiceArray) |
void |
setMonitoredServiceCollection(List<MonitoredService> monitoredServiceList)
Deprecated.
|
void |
setSnmpPrimary(InterfaceSnmpPrimaryType snmpPrimary)
Sets the value of field 'snmpPrimary'.
|
void |
setStatus(int status)
Sets the value of field 'status'.
|
static Interface |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addCategory(Category vCategory) throws IndexOutOfBoundsException
vCategory
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addCategory(int index, Category vCategory) throws IndexOutOfBoundsException
index
- vCategory
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addMonitoredService(MonitoredService vMonitoredService) throws IndexOutOfBoundsException
vMonitoredService
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addMonitoredService(int index, MonitoredService vMonitoredService) throws IndexOutOfBoundsException
index
- vMonitoredService
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteManaged()
public void deleteStatus()
public Enumeration<Category> enumerateCategory()
public Enumeration<MonitoredService> enumerateMonitoredService()
public boolean equals(Object obj)
public Category getCategory(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Category[] getCategory()
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<Category> getCategoryCollection()
public int getCategoryCount()
public Object getDescr()
public String getIpAddr()
public boolean getManaged()
public MonitoredService getMonitoredService(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic MonitoredService[] getMonitoredService()
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<MonitoredService> getMonitoredServiceCollection()
public int getMonitoredServiceCount()
public InterfaceSnmpPrimaryType getSnmpPrimary()
public int getStatus()
public boolean hasManaged()
public boolean hasStatus()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isManaged()
public boolean isValid()
public Iterator<Category> iterateCategory()
public Iterator<MonitoredService> iterateMonitoredService()
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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllCategory()
public void removeAllMonitoredService()
public boolean removeCategory(Category vCategory)
vCategory
- public Category removeCategoryAt(int index)
index
- public boolean removeMonitoredService(MonitoredService vMonitoredService)
vMonitoredService
- public MonitoredService removeMonitoredServiceAt(int index)
index
- public void setCategory(int index, Category vCategory) throws IndexOutOfBoundsException
index
- vCategory
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setCategory(Category[] vCategoryArray)
vCategoryArray
- public void setCategory(List<Category> vCategoryList)
vCategoryList
- the Vector to copy.public void setCategoryCollection(List<Category> categoryList)
categoryList
- the Vector to set.public void setDescr(Object descr)
descr
- the value of field 'descr'.public void setIpAddr(String ipAddr)
ipAddr
- the value of field 'ipAddr'.public void setManaged(boolean managed)
managed
- the value of field 'managed'.public void setMonitoredService(int index, MonitoredService vMonitoredService) throws IndexOutOfBoundsException
index
- vMonitoredService
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setMonitoredService(MonitoredService[] vMonitoredServiceArray)
vMonitoredServiceArray
- public void setMonitoredService(List<MonitoredService> vMonitoredServiceList)
vMonitoredServiceList
- the Vector to copy.public void setMonitoredServiceCollection(List<MonitoredService> monitoredServiceList)
monitoredServiceList
- the Vector to set.public void setSnmpPrimary(InterfaceSnmpPrimaryType snmpPrimary)
snmpPrimary
- the value of field 'snmpPrimary'.public void setStatus(int status)
status
- the value of field 'status'.public static Interface 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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All Rights Reserved.