public class AutoAcknowledge extends Object implements Serializable
Constructor and Description |
---|
AutoAcknowledge() |
Modifier and Type | Method and Description |
---|---|
void |
addMatch(int index,
String vMatch) |
void |
addMatch(String vMatch) |
void |
deleteNotify() |
Enumeration<String> |
enumerateMatch()
Method enumerateMatch.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getAcknowledge()
Returns the value of field 'acknowledge'.
|
String[] |
getMatch()
Method getMatch.Returns the contents of the collection in an
Array.
|
String |
getMatch(int index)
Method getMatch.
|
List<String> |
getMatchCollection()
Method getMatchCollection.Returns a reference to
'_matchList'.
|
int |
getMatchCount()
Method getMatchCount.
|
boolean |
getNotify()
Returns the value of field 'notify'.
|
String |
getResolutionPrefix()
Returns the value of field 'resolutionPrefix'.
|
String |
getUei()
Returns the value of field 'uei'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasNotify()
Method hasNotify.
|
boolean |
isNotify()
Returns the value of field 'notify'.
|
boolean |
isValid()
Method isValid.
|
Iterator<String> |
iterateMatch()
Method iterateMatch.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllMatch() |
boolean |
removeMatch(String vMatch)
Method removeMatch.
|
String |
removeMatchAt(int index)
Method removeMatchAt.
|
void |
setAcknowledge(String acknowledge)
Sets the value of field 'acknowledge'.
|
void |
setMatch(int index,
String vMatch) |
void |
setMatch(List<String> vMatchList)
Sets the value of '_matchList' by copying the given Vector.
|
void |
setMatch(String[] vMatchArray) |
void |
setMatchCollection(List<String> matchList)
Deprecated.
|
void |
setNotify(boolean notify)
Sets the value of field 'notify'.
|
void |
setResolutionPrefix(String resolutionPrefix)
Sets the value of field 'resolutionPrefix'.
|
void |
setUei(String uei)
Sets the value of field 'uei'.
|
static AutoAcknowledge |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addMatch(String vMatch) throws IndexOutOfBoundsException
vMatch
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addMatch(int index, String vMatch) throws IndexOutOfBoundsException
index
- vMatch
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteNotify()
public Enumeration<String> enumerateMatch()
public boolean equals(Object obj)
public String getAcknowledge()
public String getMatch(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getMatch()
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> getMatchCollection()
public int getMatchCount()
public boolean getNotify()
public String getResolutionPrefix()
public String getUei()
public boolean hasNotify()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isNotify()
public boolean isValid()
public Iterator<String> iterateMatch()
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 removeAllMatch()
public boolean removeMatch(String vMatch)
vMatch
- public String removeMatchAt(int index)
index
- public void setAcknowledge(String acknowledge)
acknowledge
- the value of field 'acknowledge'.public void setMatch(int index, String vMatch) throws IndexOutOfBoundsException
index
- vMatch
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setMatch(String[] vMatchArray)
vMatchArray
- public void setMatch(List<String> vMatchList)
vMatchList
- the Vector to copy.public void setMatchCollection(List<String> matchList)
matchList
- the Vector to set.public void setNotify(boolean notify)
notify
- the value of field 'notify'.public void setResolutionPrefix(String resolutionPrefix)
resolutionPrefix
- the value of field 'resolutionPrefix'public void setUei(String uei)
uei
- the value of field 'uei'.public static AutoAcknowledge 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 © 2015. All rights reserved.