public class Mapping extends Object implements Serializable
Constructor and Description |
---|
Mapping() |
Modifier and Type | Method and Description |
---|---|
void |
addAssignment(Assignment vAssignment) |
void |
addAssignment(int index,
Assignment vAssignment) |
void |
deletePreserveSnmpData() |
Enumeration<Assignment> |
enumerateAssignment()
Method enumerateAssignment.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
Assignment[] |
getAssignment()
Method getAssignment.Returns the contents of the collection in an Array.
|
Assignment |
getAssignment(int index)
Method getAssignment.
|
List<Assignment> |
getAssignmentCollection()
Method getAssignmentCollection.Returns a reference to 'assignmentList'.
|
int |
getAssignmentCount()
Method getAssignmentCount.
|
Boolean |
getPreserveSnmpData()
Returns the value of field 'preserveSnmpData'.
|
int |
hashCode()
Method hashCode.
|
boolean |
hasPreserveSnmpData()
Method hasPreserveSnmpData.
|
Boolean |
isPreserveSnmpData()
Returns the value of field 'preserveSnmpData'.
|
Iterator<Assignment> |
iterateAssignment()
Method iterateAssignment.
|
void |
removeAllAssignment() |
boolean |
removeAssignment(Assignment vAssignment)
Method removeAssignment.
|
Assignment |
removeAssignmentAt(int index)
Method removeAssignmentAt.
|
void |
setAssignment(Assignment[] vAssignmentArray) |
void |
setAssignment(int index,
Assignment vAssignment) |
void |
setAssignment(List<Assignment> vAssignmentList)
Sets the value of 'assignmentList' by copying the given Vector.
|
void |
setAssignmentCollection(List<Assignment> assignmentList)
Deprecated.
|
void |
setPreserveSnmpData(Boolean preserveSnmpData)
Sets the value of field 'preserveSnmpData'.
|
public void addAssignment(Assignment vAssignment) throws IndexOutOfBoundsException
vAssignment
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void addAssignment(int index, Assignment vAssignment) throws IndexOutOfBoundsException
index
- vAssignment
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void deletePreserveSnmpData()
public Enumeration<Assignment> enumerateAssignment()
public boolean equals(Object obj)
public Assignment getAssignment(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic Assignment[] getAssignment()
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<Assignment> getAssignmentCollection()
public int getAssignmentCount()
public Boolean getPreserveSnmpData()
public boolean hasPreserveSnmpData()
public int hashCode()
public Boolean isPreserveSnmpData()
public Iterator<Assignment> iterateAssignment()
public void removeAllAssignment()
public boolean removeAssignment(Assignment vAssignment)
vAssignment
- public Assignment removeAssignmentAt(int index)
index
- public void setAssignment(int index, Assignment vAssignment) throws IndexOutOfBoundsException
index
- vAssignment
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void setAssignment(Assignment[] vAssignmentArray)
vAssignmentArray
- public void setAssignment(List<Assignment> vAssignmentList)
vAssignmentList
- the Vector to copy.public void setAssignmentCollection(List<Assignment> assignmentList)
assignmentList
- the Vector to set.public void setPreserveSnmpData(Boolean preserveSnmpData)
preserveSnmpData
- the value of field 'preserveSnmpData'.Copyright © 2017. All rights reserved.