|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.suggestion.EPPSuggestionRow
public class EPPSuggestionRow
A Row associates a Fully Qualified Domain Name with a score and status. This suggestion is returned to the client within a Table response.
Constructor Summary | |
---|---|
EPPSuggestionRow()
Constructor. |
|
EPPSuggestionRow(org.w3c.dom.Element aElement)
Constructor. |
|
EPPSuggestionRow(java.lang.String aName,
short aScore,
java.lang.String aStatus)
Constructor. |
|
EPPSuggestionRow(java.lang.String aName,
short aScore,
java.lang.String aStatus,
java.lang.String aUName)
Constructor. |
|
EPPSuggestionRow(java.lang.String aName,
short aScore,
java.lang.String aStatus,
java.lang.String aSource,
java.lang.String aMoreLikeThis,
java.lang.Integer aPpcValue)
Constructor. |
|
EPPSuggestionRow(java.lang.String aName,
short aScore,
java.lang.String aStatus,
java.lang.String aSource,
java.lang.String aMoreLikeThis,
java.lang.Integer aPpcValue,
java.lang.String aUName)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
clone an EPPCodecComponent . |
void |
decode(org.w3c.dom.Element aElement)
decode a DOM element tree to initialize the instance attributes. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode instance into a DOM element tree. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getMoreLikeThis()
More like this getter. |
java.lang.String |
getName()
Ascii name getter. |
java.lang.Integer |
getPpcValue()
Ppc value getter. |
UnsignedShort |
getScore()
Score getter. |
java.lang.String |
getSource()
Source getter. |
StatusEnum |
getStatus()
Status getter. |
java.lang.String |
getUName()
Unicode name getter. |
boolean |
isSetMoreLikeThis()
Is more like this value set. |
boolean |
isSetSource()
Is source value set. |
boolean |
isSetUName()
Is uName value set. |
void |
setMoreLikeThis(java.lang.String aMoreLikeThis)
More like this setter. |
void |
setName(java.lang.String aName)
Ascii name setter. |
void |
setPpcValue(java.lang.Integer aPpcValue)
Ppc value setter. |
void |
setPpcValue(java.lang.String aPpcValue)
Ppc value setter. |
void |
setScore(short aScore)
Score setter. |
void |
setScore(java.lang.String aScore)
Score setter. |
void |
setScore(UnsignedShort aScore)
Score setter. |
void |
setSource(java.lang.String aSource)
|
void |
setStatus(StatusEnum aStatus)
Status setter. |
void |
setStatus(java.lang.String aStatus)
Status setter. |
void |
setUName(java.lang.String aUName)
Unicode name setter. |
java.lang.String |
toString()
Implementation of Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EPPSuggestionRow()
public EPPSuggestionRow(org.w3c.dom.Element aElement) throws EPPDecodeException
aElement
- a dom element
EPPDecodeException
public EPPSuggestionRow(java.lang.String aName, short aScore, java.lang.String aStatus) throws InvalidValueException
aName
- a nameaScore
- a scoreaStatus
- a status
InvalidValueException
public EPPSuggestionRow(java.lang.String aName, short aScore, java.lang.String aStatus, java.lang.String aUName) throws InvalidValueException
aName
- a nameaScore
- a scoreaStatus
- a statusaUName
- a unicode name
InvalidValueException
public EPPSuggestionRow(java.lang.String aName, short aScore, java.lang.String aStatus, java.lang.String aSource, java.lang.String aMoreLikeThis, java.lang.Integer aPpcValue) throws InvalidValueException
aName
- a nameaScore
- a scoreaStatus
- a statusaSource
- a sourceaMoreLikeThis
- a more like this flagaPpcValue
- a ppc value flag
InvalidValueException
public EPPSuggestionRow(java.lang.String aName, short aScore, java.lang.String aStatus, java.lang.String aSource, java.lang.String aMoreLikeThis, java.lang.Integer aPpcValue, java.lang.String aUName) throws InvalidValueException
aName
- a ascii nameaScore
- a scoreaStatus
- a statusaSource
- a sourceaMoreLikeThis
- a more like this flagaPpcValue
- a ppc value flagaUName
- a unicode name
InvalidValueException
Method Detail |
---|
public java.lang.String getMoreLikeThis()
public java.lang.String getUName()
public java.lang.String getName()
public java.lang.Integer getPpcValue()
public UnsignedShort getScore()
public java.lang.String getSource()
public StatusEnum getStatus()
public boolean isSetMoreLikeThis()
public boolean isSetUName()
public boolean isSetSource()
public void setMoreLikeThis(java.lang.String aMoreLikeThis)
aMoreLikeThis
- more like this valuepublic void setUName(java.lang.String aUName)
aUName
- a unicode namepublic void setName(java.lang.String aName)
aName
- a ascii namepublic void setPpcValue(java.lang.Integer aPpcValue)
aPpcValue
- a ppc valuepublic void setPpcValue(java.lang.String aPpcValue)
aPpcValue
- a ppc valuepublic void setScore(short aScore) throws InvalidValueException
aScore
- a score
InvalidValueException
public void setScore(java.lang.String aScore) throws InvalidValueException
aScore
- a score
InvalidValueException
public void setScore(UnsignedShort aScore)
aScore
- a score
InvalidValueException
public void setSource(java.lang.String aSource)
public void setStatus(StatusEnum aStatus)
aStatus
- a score
InvalidValueException
public void setStatus(java.lang.String aStatus) throws InvalidValueException
aStatus
- a score
InvalidValueException
public java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.
toString
in class java.lang.Object
String
if successful;
ERROR
otherwise.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
EPPCodecComponent
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPCodecComponent
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPCodecComponent
aElement
argument represents the root DOM element and is
used to traverse the DOM nodes for instance attribute values. EPPCommand
is
passed into decode
of EPPCommand to be decoded and
used to set the instance attributes.
decode
in interface EPPCodecComponent
aElement
- root DOM element associated with instance
EPPDecodeException
- Error decoding the DOM element tree.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPCodecComponent
EPPCommand
is
created and is used to append the attribute nodes of
EPPCommand
.
encode
in interface EPPCodecComponent
aDocument
- DOM document used as a factory of DOM objects.
EPPEncodeException
- Error encoding the DOM element tree.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |