public class Mbean extends Object implements Serializable
Constructor and Description |
---|
Mbean() |
Modifier and Type | Method and Description |
---|---|
void |
addAttrib(Attrib vAttrib) |
void |
addAttrib(int index,
Attrib vAttrib) |
void |
addCompAttrib(CompAttrib vCompAttrib) |
void |
addCompAttrib(int index,
CompAttrib vCompAttrib) |
void |
addIncludeMbean(int index,
String vIncludeMbean) |
void |
addIncludeMbean(String vIncludeMbean) |
Enumeration<Attrib> |
enumerateAttrib()
Method enumerateAttrib.
|
Enumeration<CompAttrib> |
enumerateCompAttrib()
Method enumerateCompAttrib.
|
Enumeration<String> |
enumerateIncludeMbean()
Method enumerateIncludeMbean.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
Attrib[] |
getAttrib()
Method getAttrib.Returns the contents of the collection in
an Array.
|
Attrib |
getAttrib(int index)
Method getAttrib.
|
List<Attrib> |
getAttribCollection()
Method getAttribCollection.Returns a reference to
'_attribList'.
|
int |
getAttribCount()
Method getAttribCount.
|
CompAttrib[] |
getCompAttrib()
Method getCompAttrib.Returns the contents of the collection
in an Array.
|
CompAttrib |
getCompAttrib(int index)
Method getCompAttrib.
|
List<CompAttrib> |
getCompAttribCollection()
Method getCompAttribCollection.Returns a reference to
'_compAttribList'.
|
int |
getCompAttribCount()
Method getCompAttribCount.
|
String |
getExclude()
Returns the value of field 'exclude'.
|
String[] |
getIncludeMbean()
Method getIncludeMbean.Returns the contents of the
collection in an Array.
|
String |
getIncludeMbean(int index)
Method getIncludeMbean.
|
List<String> |
getIncludeMbeanCollection()
Method getIncludeMbeanCollection.Returns a reference to
'_includeMbeanList'.
|
int |
getIncludeMbeanCount()
Method getIncludeMbeanCount.
|
String |
getKeyAlias()
Returns the value of field 'keyAlias'.
|
String |
getKeyfield()
Returns the value of field 'keyfield'.
|
String |
getName()
Returns the value of field 'name'.
|
String |
getObjectname()
Returns the value of field 'objectname'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Deprecated.
|
Iterator<Attrib> |
iterateAttrib()
Method iterateAttrib.
|
Iterator<CompAttrib> |
iterateCompAttrib()
Method iterateCompAttrib.
|
Iterator<String> |
iterateIncludeMbean()
Method iterateIncludeMbean.
|
void |
marshal(ContentHandler handler)
Deprecated.
|
void |
marshal(Writer out)
Deprecated.
|
void |
removeAllAttrib() |
void |
removeAllCompAttrib() |
void |
removeAllIncludeMbean() |
boolean |
removeAttrib(Attrib vAttrib)
Method removeAttrib.
|
Attrib |
removeAttribAt(int index)
Method removeAttribAt.
|
boolean |
removeCompAttrib(CompAttrib vCompAttrib)
Method removeCompAttrib.
|
CompAttrib |
removeCompAttribAt(int index)
Method removeCompAttribAt.
|
boolean |
removeIncludeMbean(String vIncludeMbean)
Method removeIncludeMbean.
|
String |
removeIncludeMbeanAt(int index)
Method removeIncludeMbeanAt.
|
void |
setAttrib(Attrib[] vAttribArray) |
void |
setAttrib(int index,
Attrib vAttrib) |
void |
setAttrib(List<Attrib> vAttribList)
Sets the value of '_attribList' by copying the given Vector.
|
void |
setAttribCollection(List<Attrib> attribList)
Deprecated.
|
void |
setCompAttrib(CompAttrib[] vCompAttribArray) |
void |
setCompAttrib(int index,
CompAttrib vCompAttrib) |
void |
setCompAttrib(List<CompAttrib> vCompAttribList)
Sets the value of '_compAttribList' by copying the given
Vector.
|
void |
setCompAttribCollection(List<CompAttrib> compAttribList)
Deprecated.
|
void |
setExclude(String exclude)
Sets the value of field 'exclude'.
|
void |
setIncludeMbean(int index,
String vIncludeMbean) |
void |
setIncludeMbean(List<String> vIncludeMbeanList)
Sets the value of '_includeMbeanList' by copying the given
Vector.
|
void |
setIncludeMbean(String[] vIncludeMbeanArray) |
void |
setIncludeMbeanCollection(List<String> includeMbeanList)
Deprecated.
|
void |
setKeyAlias(String keyAlias)
Sets the value of field 'keyAlias'.
|
void |
setKeyfield(String keyfield)
Sets the value of field 'keyfield'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setObjectname(String objectname)
Sets the value of field 'objectname'.
|
static Mbean |
unmarshal(Reader reader)
Deprecated.
|
void |
validate()
Deprecated.
|
public void addAttrib(Attrib vAttrib) throws IndexOutOfBoundsException
vAttrib
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAttrib(int index, Attrib vAttrib) throws IndexOutOfBoundsException
index
- vAttrib
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addCompAttrib(CompAttrib vCompAttrib) throws IndexOutOfBoundsException
vCompAttrib
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addCompAttrib(int index, CompAttrib vCompAttrib) throws IndexOutOfBoundsException
index
- vCompAttrib
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addIncludeMbean(String vIncludeMbean) throws IndexOutOfBoundsException
vIncludeMbean
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addIncludeMbean(int index, String vIncludeMbean) throws IndexOutOfBoundsException
index
- vIncludeMbean
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<Attrib> enumerateAttrib()
public Enumeration<CompAttrib> enumerateCompAttrib()
public Enumeration<String> enumerateIncludeMbean()
public boolean equals(Object obj)
public Attrib getAttrib(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Attrib[] getAttrib()
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<Attrib> getAttribCollection()
public int getAttribCount()
public CompAttrib getCompAttrib(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic CompAttrib[] getCompAttrib()
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<CompAttrib> getCompAttribCollection()
public int getCompAttribCount()
public String getExclude()
public String getIncludeMbean(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getIncludeMbean()
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<String> getIncludeMbeanCollection()
public int getIncludeMbeanCount()
public String getKeyAlias()
public String getKeyfield()
public String getName()
public String getObjectname()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
@Deprecated public boolean isValid()
public Iterator<Attrib> iterateAttrib()
public Iterator<CompAttrib> iterateCompAttrib()
public Iterator<String> iterateIncludeMbean()
@Deprecated 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 schema@Deprecated public 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 removeAllAttrib()
public void removeAllCompAttrib()
public void removeAllIncludeMbean()
public boolean removeAttrib(Attrib vAttrib)
vAttrib
- public Attrib removeAttribAt(int index)
index
- public boolean removeCompAttrib(CompAttrib vCompAttrib)
vCompAttrib
- public CompAttrib removeCompAttribAt(int index)
index
- public boolean removeIncludeMbean(String vIncludeMbean)
vIncludeMbean
- public String removeIncludeMbeanAt(int index)
index
- public void setAttrib(int index, Attrib vAttrib) throws IndexOutOfBoundsException
index
- vAttrib
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAttrib(Attrib[] vAttribArray)
vAttribArray
- public void setAttrib(List<Attrib> vAttribList)
vAttribList
- the Vector to copy.public void setAttribCollection(List<Attrib> attribList)
attribList
- the Vector to set.public void setCompAttrib(int index, CompAttrib vCompAttrib) throws IndexOutOfBoundsException
index
- vCompAttrib
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setCompAttrib(CompAttrib[] vCompAttribArray)
vCompAttribArray
- public void setCompAttrib(List<CompAttrib> vCompAttribList)
vCompAttribList
- the Vector to copy.public void setCompAttribCollection(List<CompAttrib> compAttribList)
compAttribList
- the Vector to set.public void setExclude(String exclude)
exclude
- the value of field 'exclude'.public void setIncludeMbean(int index, String vIncludeMbean) throws IndexOutOfBoundsException
index
- vIncludeMbean
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setIncludeMbean(String[] vIncludeMbeanArray)
vIncludeMbeanArray
- public void setIncludeMbean(List<String> vIncludeMbeanList)
vIncludeMbeanList
- the Vector to copy.public void setIncludeMbeanCollection(List<String> includeMbeanList)
includeMbeanList
- the Vector to set.public void setKeyAlias(String keyAlias)
keyAlias
- the value of field 'keyAlias'.public void setKeyfield(String keyfield)
keyfield
- the value of field 'keyfield'.public void setName(String name)
name
- the value of field 'name'.public void setObjectname(String objectname)
objectname
- the value of field 'objectname'.@Deprecated public static Mbean 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 schema@Deprecated public 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.