com.ibm.commerce.me.datatype
Class Credentials

java.lang.Object
  com.ibm.commerce.me.datatype.Credentials
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Credentials
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

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.

See Also:
Serialized Form

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

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM Copyright field
See Also:
Constant Field Values
Constructor Detail

Credentials

public Credentials()
Credentials class default constructor.
Method Detail

getCode

public java.lang.String getCode()
Gets the organizations code
Returns:
the organization code

getCodeDomain

public java.lang.String getCodeDomain()
Gets the organizations code domain
Returns:
the doemain for the current organization code

getPassword

public java.lang.String getPassword()
Gets the registered group password for the organization
Returns:
the password for the organization

getUserId

public java.lang.String getUserId()
Gets the registered group user id for the organization
Returns:
the user id for the organization

getUserIdType

public java.lang.String getUserIdType()
Gets the type of the group user id for the organization
Returns:
the user id type for the organization

setCode

public void setCode(java.lang.String newCode)
Sets the organizations code
Parameters:
newCode - the new organization code

setCodeDomain

public void setCodeDomain(java.lang.String newCodeDomain)
Sets the organizations code domain
Parameters:
newCodeDomain - the domain for the organization code

setPassword

public void setPassword(java.lang.String newPassword)
Sets the registered group password for the organization
Parameters:
newPassword - the password for the organization

setUserId

public void setUserId(java.lang.String newUserId)
Sets the registered group user id for the organization
Parameters:
newUserId - the user id for the organization

setUserIdType

public void setUserIdType(java.lang.String newUserIdType)
Sets the type of the group user id for the organization

toString

public java.lang.String toString()
Returns a String that represents the value of this object.
Returns:
a string representation of the organization credential information including organization code, code domain, user id, user id type, and password.

Feedback