DomainCreateCmd Class Reference

EPP DomainCreateCmd Class. More...

#include <DomainCreateCmd.H>

Inheritance diagram for DomainCreateCmd:

Command BrDomainCreateCmd List of all members.

Public Member Functions

 DomainCreateCmd (bool reset=true)
 Default constructor.
void set_name (string name)
 Sets domain name.
string get_name ()
 Returns domain name.
void set_period (int time, string unit)
 Sets domain registration period.
RegistrationPeriod get_period ()
 Returns domain registration period.
void insert_nameserver (const struct NameServer &nameserver)
 Inserts a nameserver to the list of nameservers.
vector< struct NameServer > get_nameservers ()
 Returns a list of nameservers.
void set_registrant (string registrant)
 Sets registrant.
string get_registrant ()
 Returns registrant.
void insert_contact (string type, string identification)
 Inserts a contact in the map of other contacts.
map< string, string, less<
string > > 
get_contacts ()
 Returns map of other contacts.
void set_authInfo (const AuthInfo &authInfo)
 Sets authorization information.
AuthInfo get_authInfo ()
 Returns authorization information.
void add_dsInfo (const DSInfo &ds_info)
 Sets ds info attribute.
list< DSInfoget_dsInfo ()
 Returns ds info attribute.
bool has_extension ()
 Check if there is any extension.
bool has_ds_extension ()
 Check if there is secDNS extension.
void reset ()
 Reset object attributes.

Protected Attributes

string _name
 fully qualified domain name
RegistrationPeriod _period
 initial registration period of the domain object
vector< struct NameServer > _nameservers
 name servers associated with domain object
string _registrant
 registrant
map< string, string, less<
string > > 
_contacts
 other contact objects
AuthInfo _authInfo
 Authorization information.
list< DSInfo_ds_info
 DS info.

Detailed Description

EPP DomainCreateCmd Class.


Member Function Documentation

void DomainCreateCmd::add_dsInfo ( const DSInfo ds_info  )  [inline]

Sets ds info attribute.

Parameters:
ds info attribute

AuthInfo DomainCreateCmd::get_authInfo (  )  [inline]

Returns authorization information.

Returns:
authorization information

map< string, string, less<string> > DomainCreateCmd::get_contacts (  )  [inline]

Returns map of other contacts.

Returns:
map of other contacts

list<DSInfo> DomainCreateCmd::get_dsInfo (  )  [inline]

Returns ds info attribute.

Returns:
ds info attribute

string DomainCreateCmd::get_name (  )  [inline]

Returns domain name.

Returns:
fully qualified domain name

vector<struct NameServer> DomainCreateCmd::get_nameservers (  )  [inline]

Returns a list of nameservers.

Returns:
list of nameservers associated with domain object

RegistrationPeriod DomainCreateCmd::get_period (  )  [inline]

Returns domain registration period.

Returns:
domain registration period

string DomainCreateCmd::get_registrant (  )  [inline]

Returns registrant.

Returns:
registrant identification

void DomainCreateCmd::insert_contact ( string  type,
string  identification 
) [inline]

Inserts a contact in the map of other contacts.

Parameters:
type contact type
identification contact identification

void DomainCreateCmd::insert_nameserver ( const struct NameServer &  nameserver  )  [inline]

Inserts a nameserver to the list of nameservers.

Parameters:
nameserver a name server

void DomainCreateCmd::set_authInfo ( const AuthInfo authInfo  )  [inline]

Sets authorization information.

Parameters:
authInfo domain authorization information

void DomainCreateCmd::set_name ( string  name  )  [inline]

Sets domain name.

Parameters:
name fully qualified domain name

void DomainCreateCmd::set_period ( int  time,
string  unit 
) [inline]

Sets domain registration period.

Parameters:
time amount of time
unit measure unit

void DomainCreateCmd::set_registrant ( string  registrant  )  [inline]

Sets registrant.

Parameters:
registrant registrant identification


The documentation for this class was generated from the following file:
Generated on Tue Mar 17 16:03:07 2009 for libepp_nicbr by  doxygen 1.4.7