public class WmiConfig extends Object implements Serializable
Constructor and Description |
---|
WmiConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addDefinition(Definition vDefinition) |
void |
addDefinition(int index,
Definition vDefinition) |
void |
deleteRetry() |
void |
deleteTimeout() |
Enumeration<Definition> |
enumerateDefinition()
Method enumerateDefinition.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
Definition[] |
getDefinition()
Method getDefinition.Returns the contents of the collection in an Array.
|
Definition |
getDefinition(int index)
Method getDefinition.
|
List<Definition> |
getDefinitionCollection()
Method getDefinitionCollection.Returns a reference to 'definitionList'.
|
int |
getDefinitionCount()
Method getDefinitionCount.
|
String |
getDomain()
Returns the value of field 'domain'.
|
String |
getPassword()
Returns the value of field 'password'.
|
Integer |
getRetry()
Returns the value of field 'retry'.
|
Integer |
getTimeout()
Returns the value of field 'timeout'.
|
String |
getUsername()
Returns the value of field 'username'.
|
int |
hashCode()
Method hashCode.
|
boolean |
hasRetry()
Method hasRetry.
|
boolean |
hasTimeout()
Method hasTimeout.
|
Iterator<Definition> |
iterateDefinition()
Method iterateDefinition.
|
void |
removeAllDefinition() |
boolean |
removeDefinition(Definition vDefinition)
Method removeDefinition.
|
Definition |
removeDefinitionAt(int index)
Method removeDefinitionAt.
|
void |
setDefinition(Definition[] vDefinitionArray) |
void |
setDefinition(int index,
Definition vDefinition) |
void |
setDefinition(List<Definition> vDefinitionList)
Sets the value of 'definitionList' by copying the given Vector.
|
void |
setDefinitionCollection(List<Definition> definitionList)
Deprecated.
|
void |
setDomain(String domain)
Sets the value of field 'domain'.
|
void |
setPassword(String password)
Sets the value of field 'password'.
|
void |
setRetry(Integer retry)
Sets the value of field 'retry'.
|
void |
setTimeout(Integer timeout)
Sets the value of field 'timeout'.
|
void |
setUsername(String username)
Sets the value of field 'username'.
|
public void addDefinition(Definition vDefinition) throws IndexOutOfBoundsException
vDefinition
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void addDefinition(int index, Definition vDefinition) throws IndexOutOfBoundsException
index
- vDefinition
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void deleteRetry()
public void deleteTimeout()
public Enumeration<Definition> enumerateDefinition()
public boolean equals(Object obj)
public Definition getDefinition(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic Definition[] getDefinition()
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<Definition> getDefinitionCollection()
public int getDefinitionCount()
public String getDomain()
public String getPassword()
public Integer getRetry()
public Integer getTimeout()
public String getUsername()
public boolean hasRetry()
public boolean hasTimeout()
public int hashCode()
public Iterator<Definition> iterateDefinition()
public void removeAllDefinition()
public boolean removeDefinition(Definition vDefinition)
vDefinition
- public Definition removeDefinitionAt(int index)
index
- public void setDefinition(int index, Definition vDefinition) throws IndexOutOfBoundsException
index
- vDefinition
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void setDefinition(Definition[] vDefinitionArray)
vDefinitionArray
- public void setDefinition(List<Definition> vDefinitionList)
vDefinitionList
- the Vector to copy.public void setDefinitionCollection(List<Definition> definitionList)
definitionList
- the Vector to set.public void setDomain(String domain)
domain
- the value of field 'domain'.public void setPassword(String password)
password
- the value of field 'password'.public void setRetry(Integer retry)
retry
- the value of field 'retry'.public void setTimeout(Integer timeout)
timeout
- the value of field 'timeout'.public void setUsername(String username)
username
- the value of field 'username'.Copyright © 2017. All rights reserved.