com.ibm.commerce.giftregistry.beans

Class GiftRegistryRegistrantDataBean

    • Field Detail

      • COPYRIGHT

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

      • GiftRegistryRegistrantDataBean

        public GiftRegistryRegistrantDataBean()
        Creates an empty data bean
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty param)
        Sets the request properties within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        requestProperties - the set of properties passed to the JSP page that invokes this data bean,
        Throws:
        java.lang.Exception - if there is a problem when setting the request properties. This particular method should not throw any exception because it just stores the request properties.
      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        The command context as CommandContext object.
      • setCommandContext

        public void setCommandContext(CommandContext commandContext)
        Sets the command context.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        commandContext - The command context..
      • populate

        public void populate()
        Populates the data bean with data elements.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - if there is a problem populating the data bean with data.
      • getGiftRegistryId

        public java.lang.Long getGiftRegistryId()
        Gets the gift registry ID to which this registrant belongs
        Overrides:
        getGiftRegistryId in class GiftRegistryRegistrantAccessBean
        Returns:
        giftRegistryId - the gift registry ID to which registrant belongs to
      • getRelation

        public java.lang.String getRelation()
        Gets the registrants relation to the other registrants
        Overrides:
        getRelation in class GiftRegistryRegistrantAccessBean
        Returns:
        relation - the registrants relation to the other registrants
      • setRegistrantId

        public void setRegistrantId(java.lang.Long newValue)
        Sets the registrant ID. Only valid before initialization
        Overrides:
        setRegistrantId in class GiftRegistryRegistrantAccessBean
        Parameters:
        newValue - - the registrant ID
      • getAddress

        public GiftRegistryAddressDataBean getAddress()
        Returns the address of the registrant The GiftRegistryAddressDataBean is protected and results will only be returned if proper authority is met
        Returns:
        GiftRegistryAddressDataBean
      • getFirstName

        public java.lang.String getFirstName()
        Gets the registrant's first name
        Returns:
        The registrant's first name
      • getLastName

        public java.lang.String getLastName()
        Gets the registrant's last name
        Returns:
        The registrant's last name