public class UeiMatch extends Object implements Serializable
Constructor and Description |
---|
UeiMatch() |
Modifier and Type | Method and Description |
---|---|
void |
addFacility(int index,
String vFacility) |
void |
addFacility(String vFacility) |
void |
addParameterAssignment(int index,
ParameterAssignment vParameterAssignment) |
void |
addParameterAssignment(ParameterAssignment vParameterAssignment) |
void |
addSeverity(int index,
String vSeverity) |
void |
addSeverity(String vSeverity) |
Enumeration<String> |
enumerateFacility()
Method enumerateFacility.
|
Enumeration<ParameterAssignment> |
enumerateParameterAssignment()
Method enumerateParameterAssignment.
|
Enumeration<String> |
enumerateSeverity()
Method enumerateSeverity.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String[] |
getFacility()
Method getFacility.Returns the contents of the collection in
an Array.
|
String |
getFacility(int index)
Method getFacility.
|
List<String> |
getFacilityCollection()
Method getFacilityCollection.Returns a reference to
'_facilityList'.
|
int |
getFacilityCount()
Method getFacilityCount.
|
HostaddrMatch |
getHostaddrMatch()
Returns the value of field 'hostaddrMatch'.
|
HostnameMatch |
getHostnameMatch()
Returns the value of field 'hostnameMatch'.
|
Match |
getMatch()
Returns the value of field 'match'.
|
ParameterAssignment[] |
getParameterAssignment()
Method getParameterAssignment.Returns the contents of the
collection in an Array.
|
ParameterAssignment |
getParameterAssignment(int index)
Method getParameterAssignment.
|
List<ParameterAssignment> |
getParameterAssignmentCollection()
Method getParameterAssignmentCollection.Returns a reference
to '_parameterAssignmentList'.
|
int |
getParameterAssignmentCount()
Method getParameterAssignmentCount.
|
ProcessMatch |
getProcessMatch()
Returns the value of field 'processMatch'.
|
String[] |
getSeverity()
Method getSeverity.Returns the contents of the collection in
an Array.
|
String |
getSeverity(int index)
Method getSeverity.
|
List<String> |
getSeverityCollection()
Method getSeverityCollection.Returns a reference to
'_severityList'.
|
int |
getSeverityCount()
Method getSeverityCount.
|
String |
getUei()
Returns the value of field 'uei'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<String> |
iterateFacility()
Method iterateFacility.
|
Iterator<ParameterAssignment> |
iterateParameterAssignment()
Method iterateParameterAssignment.
|
Iterator<String> |
iterateSeverity()
Method iterateSeverity.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllFacility() |
void |
removeAllParameterAssignment() |
void |
removeAllSeverity() |
boolean |
removeFacility(String vFacility)
Method removeFacility.
|
String |
removeFacilityAt(int index)
Method removeFacilityAt.
|
boolean |
removeParameterAssignment(ParameterAssignment vParameterAssignment)
Method removeParameterAssignment.
|
ParameterAssignment |
removeParameterAssignmentAt(int index)
Method removeParameterAssignmentAt.
|
boolean |
removeSeverity(String vSeverity)
Method removeSeverity.
|
String |
removeSeverityAt(int index)
Method removeSeverityAt.
|
void |
setFacility(int index,
String vFacility) |
void |
setFacility(List<String> vFacilityList)
Sets the value of '_facilityList' by copying the given
Vector.
|
void |
setFacility(String[] vFacilityArray) |
void |
setFacilityCollection(List<String> facilityList)
Deprecated.
|
void |
setHostaddrMatch(HostaddrMatch hostaddrMatch)
Sets the value of field 'hostaddrMatch'.
|
void |
setHostnameMatch(HostnameMatch hostnameMatch)
Sets the value of field 'hostnameMatch'.
|
void |
setMatch(Match match)
Sets the value of field 'match'.
|
void |
setParameterAssignment(int index,
ParameterAssignment vParameterAssignment) |
void |
setParameterAssignment(List<ParameterAssignment> vParameterAssignmentList)
Sets the value of '_parameterAssignmentList' by copying the
given Vector.
|
void |
setParameterAssignment(ParameterAssignment[] vParameterAssignmentArray) |
void |
setParameterAssignmentCollection(List<ParameterAssignment> parameterAssignmentList)
Deprecated.
|
void |
setProcessMatch(ProcessMatch processMatch)
Sets the value of field 'processMatch'.
|
void |
setSeverity(int index,
String vSeverity) |
void |
setSeverity(List<String> vSeverityList)
Sets the value of '_severityList' by copying the given
Vector.
|
void |
setSeverity(String[] vSeverityArray) |
void |
setSeverityCollection(List<String> severityList)
Deprecated.
|
void |
setUei(String uei)
Sets the value of field 'uei'.
|
static UeiMatch |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addFacility(String vFacility) throws IndexOutOfBoundsException
vFacility
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addFacility(int index, String vFacility) throws IndexOutOfBoundsException
index
- vFacility
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addParameterAssignment(ParameterAssignment vParameterAssignment) throws IndexOutOfBoundsException
vParameterAssignment
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addParameterAssignment(int index, ParameterAssignment vParameterAssignment) throws IndexOutOfBoundsException
index
- vParameterAssignment
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSeverity(String vSeverity) throws IndexOutOfBoundsException
vSeverity
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSeverity(int index, String vSeverity) throws IndexOutOfBoundsException
index
- vSeverity
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<String> enumerateFacility()
public Enumeration<ParameterAssignment> enumerateParameterAssignment()
public Enumeration<String> enumerateSeverity()
public boolean equals(Object obj)
public String getFacility(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getFacility()
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> getFacilityCollection()
public int getFacilityCount()
public HostaddrMatch getHostaddrMatch()
public HostnameMatch getHostnameMatch()
public Match getMatch()
public ParameterAssignment getParameterAssignment(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ParameterAssignment[] getParameterAssignment()
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<ParameterAssignment> getParameterAssignmentCollection()
public int getParameterAssignmentCount()
public ProcessMatch getProcessMatch()
public String getSeverity(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getSeverity()
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> getSeverityCollection()
public int getSeverityCount()
public String getUei()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<String> iterateFacility()
public Iterator<ParameterAssignment> iterateParameterAssignment()
public Iterator<String> iterateSeverity()
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 removeAllFacility()
public void removeAllParameterAssignment()
public void removeAllSeverity()
public boolean removeFacility(String vFacility)
vFacility
- public String removeFacilityAt(int index)
index
- public boolean removeParameterAssignment(ParameterAssignment vParameterAssignment)
vParameterAssignment
- public ParameterAssignment removeParameterAssignmentAt(int index)
index
- public boolean removeSeverity(String vSeverity)
vSeverity
- public String removeSeverityAt(int index)
index
- public void setFacility(int index, String vFacility) throws IndexOutOfBoundsException
index
- vFacility
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setFacility(String[] vFacilityArray)
vFacilityArray
- public void setFacility(List<String> vFacilityList)
vFacilityList
- the Vector to copy.public void setFacilityCollection(List<String> facilityList)
facilityList
- the Vector to set.public void setHostaddrMatch(HostaddrMatch hostaddrMatch)
hostaddrMatch
- the value of field 'hostaddrMatch'.public void setHostnameMatch(HostnameMatch hostnameMatch)
hostnameMatch
- the value of field 'hostnameMatch'.public void setMatch(Match match)
match
- the value of field 'match'.public void setParameterAssignment(int index, ParameterAssignment vParameterAssignment) throws IndexOutOfBoundsException
index
- vParameterAssignment
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setParameterAssignment(ParameterAssignment[] vParameterAssignmentArray)
vParameterAssignmentArray
- public void setParameterAssignment(List<ParameterAssignment> vParameterAssignmentList)
vParameterAssignmentList
- the Vector to copy.public void setParameterAssignmentCollection(List<ParameterAssignment> parameterAssignmentList)
parameterAssignmentList
- the Vector to set.public void setProcessMatch(ProcessMatch processMatch)
processMatch
- the value of field 'processMatch'.public void setSeverity(int index, String vSeverity) throws IndexOutOfBoundsException
index
- vSeverity
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSeverity(String[] vSeverityArray)
vSeverityArray
- public void setSeverity(List<String> vSeverityList)
vSeverityList
- the Vector to copy.public void setSeverityCollection(List<String> severityList)
severityList
- the Vector to set.public void setUei(String uei)
uei
- the value of field 'uei'.public static UeiMatch 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 © 2017. All rights reserved.