com.ibm.commerce.component.bod

Interface BusinessObjectDocument

    • Field Detail

      • COPYRIGHT

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

      • getApplicationArea

        ApplicationArea getApplicationArea()
        Returns the ApplicationArea inside this BusinessObjectDocument
        Returns:
        ApplicationArea
      • getDataArea

        DataArea getDataArea()
        Returns the DataArea contained inside this BusinessObjectDocument
        Returns:
        DataArea
      • setActivityToken

        void setActivityToken(ActivityToken token)
        Sets the activity token of for this object
        Parameters:
        token - the token to be set
      • setDataArea

        void setDataArea(DataArea area)
        Sets the DataArea of a business object document. The existing data area will be overwritten.
        Parameters:
        area - The DataArea of a BOD
      • getAction

        VerbAction getAction(BaseVO endNode,
                             java.lang.String attr)
        Gets the action that's corresponding to the given endNode and its attribute
        Parameters:
        endNode -
        attribute -
        Returns:
        the action of the path that leads to endNode.getAttr(). Null if there is no action found
      • getValue

        java.lang.Object getValue(java.lang.Object endNode,
                                  java.lang.String attribute)
        Gets the value of the given attribute of a given node
        Parameters:
        endNode -
        attribute -
        Returns:
        the value of endNode.get(attribute) or endNode.getAttribute() if the value is not null. Otherwise, if there is a path that ends with endNode.getAttribute(), the value found with the path will be returned. If none of the two above are satisfied, NullObject.VALUE will be returned