java.lang.Object | +--com.ibm.commerce.me.datatype.Credentials
This class stores credential information for an organization (such as buyer, supplier, or market place). The information (organization code, organization code domain, password, user id, user id type) is used mainly for authenticate purpose.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright field |
Constructor Summary | |
---|---|
Credentials() Credentials class default constructor. |
Method Summary | |
---|---|
java.lang.String |
getCode() Gets the organizations code |
java.lang.String |
getCodeDomain() Gets the organizations code domain |
java.lang.String |
getPassword() Gets the registered group password for the organization |
java.lang.String |
getUserId() Gets the registered group user id for the organization |
java.lang.String |
getUserIdType() Gets the type of the group user id for the organization |
void |
setCode(java.lang.String newCode) Sets the organizations code |
void |
setCodeDomain(java.lang.String newCodeDomain) Sets the organizations code domain |
void |
setPassword(java.lang.String newPassword) Sets the registered group password for the organization |
void |
setUserId(java.lang.String newUserId) Sets the registered group user id for the organization |
void |
setUserIdType(java.lang.String newUserIdType) Sets the type of the group user id for the organization |
java.lang.String |
toString() Returns a String that represents the value of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public Credentials()
Method Detail |
---|
public java.lang.String getCode()
public java.lang.String getCodeDomain()
public java.lang.String getPassword()
public java.lang.String getUserId()
public java.lang.String getUserIdType()
public void setCode(java.lang.String newCode)
newCode
- the new organization codepublic void setCodeDomain(java.lang.String newCodeDomain)
newCodeDomain
- the domain for the organization
codepublic void setPassword(java.lang.String newPassword)
newPassword
- the password for the
organizationpublic void setUserId(java.lang.String newUserId)
newUserId
- the user id for the
organizationpublic void setUserIdType(java.lang.String newUserIdType)
public java.lang.String toString()
toString
in class java.lang.Object