public class VmwareGroup extends Object implements Serializable
Constructor and Description |
---|
VmwareGroup() |
Modifier and Type | Method and Description |
---|---|
void |
addAttrib(Attrib vAttrib) |
void |
addAttrib(int index,
Attrib vAttrib) |
Enumeration<Attrib> |
enumerateAttrib()
Method enumerateAttrib.
|
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.
|
String |
getName()
Returns the value of field 'name'.
|
String |
getResourceType()
Returns the value of field 'resourceType'.
|
Iterator<Attrib> |
iterateAttrib()
Method iterateAttrib.
|
void |
removeAllAttrib() |
boolean |
removeAttrib(Attrib vAttrib)
Method removeAttrib.
|
Attrib |
removeAttribAt(int index)
Method removeAttribAt.
|
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 |
setName(String name)
Sets the value of field 'name'.
|
void |
setResourceType(String resourceType)
Sets the value of field 'resourceType'.
|
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 Enumeration<Attrib> enumerateAttrib()
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 String getName()
public String getResourceType()
public Iterator<Attrib> iterateAttrib()
public void removeAllAttrib()
public boolean removeAttrib(Attrib vAttrib)
vAttrib
- public Attrib removeAttribAt(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 setName(String name)
name
- the value of field 'name'.public void setResourceType(String resourceType)
resourceType
- the value of field 'resourceType'.Copyright © 2021. All rights reserved.