com.ibm.commerce.giftregistry.service.valueobjects

Class BOD

  • All Implemented Interfaces:
    java.io.Serializable


    public class BOD
    extends BaseVO
    This BOD is a noun that is returned in a ConfirmBOD. This noun holds 2 objects: 1) A NounOutcomeValue which is typically a noun which had a problem being processed 2) A ProcessingOutcomeMessage which is the message/reason the NounOutcomeValue had a problem being processed
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • BOD

        public BOD()
        Default constructor
      • BOD

        public BOD(BaseVO vo)
        Constructs this object with a default value object.
        Parameters:
        BaseVO - the default value object this noun will be based on
      • BOD

        public BOD(BaseVO vo,
                   ProcessingOutcomeMessage errorMessage)
        Constructs this object with a default value object and processing outcome message.
        Parameters:
        vo - the default value object the constructed noun will be based on
        errorMessage - the error message the constructed noun will have
    • Method Detail

      • getId

        public java.lang.Object getId()
        The unique identifier of this noun is the Id of its NounOutcomeValue. If no NounOutcomeValue is set, this method returns null.
        Specified by:
        getId in class BaseVO
        Returns:
        getNounOutcomeValue().getId(), the ID of this noun
      • getNounOutcomeValue

        public BaseVO getNounOutcomeValue()
        Gets the BOD that has problems being processed
        Returns:
        the BOD that has problems being processed
      • setNounOutcomeValue

        public void setNounOutcomeValue(BaseVO vo)
        Sets a list of BODs that have problems being processed
        Parameters:
        vo - the outcome value of this noun
      • getProcessingOutcomeMessage

        public ProcessingOutcomeMessage getProcessingOutcomeMessage()
        Returns a list of error processing messages
        Returns:
        Returns a list of error processing messages
      • setProcessingOutcomeMessage

        public void setProcessingOutcomeMessage(ProcessingOutcomeMessage errorMessage)
        Sets the error details for this BusinessObjectDocument
        Parameters:
        the - error message of this noun