com.ibm.commerce.member.dataobjects

Class AddressDO

  • Direct Known Subclasses:
    AddressBookEntryDO, SelfAddressDO


    public abstract class AddressDO
    extends DOBase
    Abstract sync helper data object class used to read/write data from/to the "ADDRESS" database table.
    • Field Detail

      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The name of the class
      • COPYRIGHT

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

      • AddressDO

        public AddressDO()
    • Method Detail

      • getNickName

        public java.lang.String getNickName()
        Gets the Nickname.
        Returns:
        the nickname
      • getDOName

        public java.lang.String getDOName()
        Gets the name of the class.
        Specified by:
        getDOName in class DOBase
        Returns:
        the name of the class.
      • read

        public TypedProperty read()
                           throws javax.persistence.NoResultException,
                                  ECException
        Reads the data attributes from the database. If the data cannot be resolved in the database, then return null.
        Specified by:
        read in class DOBase
        Returns:
        the data as output properties; null if nothing found.
        Throws:
        javax.persistence.NoResultException
        ECException
      • setNickName

        public void setNickName(java.lang.String strNickName)
        Sets the nickname.
        Parameters:
        strNickName - The nickname.
      • write

        public void write(TypedProperty tpProperties)
                   throws javax.persistence.NoResultException,
                          ECException
        Persists the data attributes to the database.
        Specified by:
        write in class DOBase
        Parameters:
        tpProperties - the input properties.
        Throws:
        javax.persistence.NoResultException
        ECException