com.ibm.commerce.me.datatype

Class Credentials

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


    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 marketplace). The information (organization code, organization code domain, password, user ID, user ID type) is used mainly for authentication purposes.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright field
    • Constructor Summary

      Constructors 
      Constructor and Description
      Credentials()
      The Credentials class default constructor calls its parents constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getCode()
      This method gets the organization code.
      java.lang.String getCodeDomain()
      This method gets the organization code domain.
      java.lang.String getPassword()
      This method gets the registered group password for the organization.
      java.lang.String getUserId()
      This method gets the registered group user ID for the organization.
      java.lang.String getUserIdType()
      This method gets the type of the group user ID for the organization.
      void setCode(java.lang.String newCode)
      This method sets the organizations code.
      void setCodeDomain(java.lang.String newCodeDomain)
      This method sets the organizations code domain.
      void setPassword(java.lang.String newPassword)
      This method sets the registered group password for the organization.
      void setUserId(java.lang.String newUserId)
      This method sets the registered group user ID for the organization.
      void setUserIdType(java.lang.String newUserIdType)
      This method sets the type of the group user ID for the organization.
      java.lang.String toString()
      This method returns a String that represents the value of this object.
      • Methods inherited from class java.lang.Object

        equals, 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()
        The Credentials class default constructor calls its parents constructor.
    • Method Detail

      • getCode

        public java.lang.String getCode()
        This method gets the organization code.
        Returns:
        the organization code
      • getCodeDomain

        public java.lang.String getCodeDomain()
        This method gets the organization code domain.
        Returns:
        the domain for the current organization code
      • getPassword

        public java.lang.String getPassword()
        This method gets the registered group password for the organization.
        Returns:
        the password for the organization
      • getUserId

        public java.lang.String getUserId()
        This method gets the registered group user ID for the organization.
        Returns:
        the user ID for the organization
      • getUserIdType

        public java.lang.String getUserIdType()
        This method 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)
        This method sets the organizations code.
        Parameters:
        newCode - the new organization code
      • setCodeDomain

        public void setCodeDomain(java.lang.String newCodeDomain)
        This method sets the organizations code domain.
        Parameters:
        newCodeDomain - the domain for the organization code
      • setPassword

        public void setPassword(java.lang.String newPassword)
        This method sets the registered group password for the organization.
        Parameters:
        newPassword - the password for the organization
      • setUserId

        public void setUserId(java.lang.String newUserId)
        This method 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)
        This method sets the type of the group user ID for the organization.
        Parameters:
        newUserIdType - the type of user ID for the organization
      • toString

        public java.lang.String toString()
        This method returns a String that represents the value of this object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of the organization credential information including organization code, code domain, user ID, user ID type, and password.