com.verisign.epp.codec.jobscontact
Class EPPJobsContactCreateCmd

java.lang.Object
  extended by com.verisign.epp.codec.jobscontact.EPPJobsContactCreateCmd
All Implemented Interfaces:
EPPCodecComponent, java.io.Serializable, java.lang.Cloneable

public class EPPJobsContactCreateCmd
extends java.lang.Object
implements EPPCodecComponent

Extension to the contact create command

See Also:
EPPJobsContactCreateCmd, Serialized Form

Field Summary
static java.lang.String ELM_NAME
          Constant for the JobsContact create extension tag
 
Constructor Summary
EPPJobsContactCreateCmd()
          Create an EPPJobContactCreateCmd instance
EPPJobsContactCreateCmd(java.lang.String aTitle, java.lang.String aWebsite, java.lang.String aIndustryType, java.lang.String aIsAdminContact, java.lang.String aIsAssociationMember)
          Create a EPPJobsContact instance with the most common attributes
 
Method Summary
 java.lang.Object clone()
          Clone EPPJobsContactCreateCmd.
 void decode(org.w3c.dom.Element aElement)
          Decode the EPPIdnLangExtCrete component
 org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
          Sets all this instance's data in the given XML document
 boolean equals(java.lang.Object aObject)
          implements a deep EPPJobsContact compare.
 java.lang.String getIndustryType()
          Returns the Contact industry type
 java.lang.String getTitle()
          Returns the title
 java.lang.String getWebsite()
          Returns the contact website
 java.lang.String isAdminContact()
          Returns whether the contact is of admin type
 java.lang.String isAssociationMember()
          Returns whether the contact is a member of HR association
 void setAdminContact(java.lang.String aIsAdminContact)
          Sets the contact type information for admin contact
 void setAssociationMember(java.lang.String aIsAssociationMember)
          Sets the membership information for the contact
 void setIndustry(java.lang.String aIndustryType)
          Sets the Contact industry type
 void setTitle(java.lang.String aTitle)
          Sets the title
 void setWebsite(java.lang.String aWebsite)
          Sets the Contact website
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELM_NAME

public static final java.lang.String ELM_NAME
Constant for the JobsContact create extension tag

See Also:
Constant Field Values
Constructor Detail

EPPJobsContactCreateCmd

public EPPJobsContactCreateCmd()
Create an EPPJobContactCreateCmd instance


EPPJobsContactCreateCmd

public EPPJobsContactCreateCmd(java.lang.String aTitle,
                               java.lang.String aWebsite,
                               java.lang.String aIndustryType,
                               java.lang.String aIsAdminContact,
                               java.lang.String aIsAssociationMember)
Create a EPPJobsContact instance with the most common attributes

Parameters:
aTitle - Contact title
aWebsite - Contact website
aIndustryType - Contact industry type
aIsAdminContact - Contact Admin type
aIsAssociationMember - Contact whether member of HR association
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone EPPJobsContactCreateCmd.

Specified by:
clone in interface EPPCodecComponent
Overrides:
clone in class java.lang.Object
Returns:
clone of EPPJobsContactCreateCmd
Throws:
java.lang.CloneNotSupportedException - standard Object.clone exception

encode

public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
                           throws EPPEncodeException
Sets all this instance's data in the given XML document

Specified by:
encode in interface EPPCodecComponent
Parameters:
aDocument - a DOM Document to attach data to.
Returns:
The root element of this component.
Throws:
EPPEncodeException - Thrown if any errors prevent encoding.

decode

public void decode(org.w3c.dom.Element aElement)
            throws EPPDecodeException
Decode the EPPIdnLangExtCrete component

Specified by:
decode in interface EPPCodecComponent
Parameters:
aElement -
Throws:
EPPDecodeException

equals

public boolean equals(java.lang.Object aObject)
implements a deep EPPJobsContact compare.

Overrides:
equals in class java.lang.Object
Parameters:
aObject - EPPJobsContact instance to compare with
Returns:
true if equal false otherwise

getTitle

public java.lang.String getTitle()
Returns the title

Returns:
the title if set;null otherwise

setTitle

public void setTitle(java.lang.String aTitle)
Sets the title

Parameters:
aTitle - Contact title

getWebsite

public java.lang.String getWebsite()
Returns the contact website

Returns:
the contact website if set;null otherwise

setWebsite

public void setWebsite(java.lang.String aWebsite)
Sets the Contact website

Parameters:
aWebsite - Contact website

getIndustryType

public java.lang.String getIndustryType()
Returns the Contact industry type

Returns:
the contact industry type if set;null otherwise

setIndustry

public void setIndustry(java.lang.String aIndustryType)
Sets the Contact industry type

Parameters:
aIndustryType - Contact industry type

isAdminContact

public java.lang.String isAdminContact()
Returns whether the contact is of admin type

Returns:
the contact type if set;null otherwise

setAdminContact

public void setAdminContact(java.lang.String aIsAdminContact)
Sets the contact type information for admin contact

Parameters:
aIsAdminContact - Is admin contact?

isAssociationMember

public java.lang.String isAssociationMember()
Returns whether the contact is a member of HR association

Returns:
the contact association membership information if set;null otherwise

setAssociationMember

public void setAssociationMember(java.lang.String aIsAssociationMember)
Sets the membership information for the contact

Parameters:
aIsAssociationMember - Contact Association membership


Copyright © VeriSign Inc. All Rights Reserved.