Class AbstractBusinessObjectDocument

  • java.lang.Object
    • Field Detail


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

      • AbstractBusinessObjectDocument

        public AbstractBusinessObjectDocument()
        Default constructor
      • AbstractBusinessObjectDocument

        public AbstractBusinessObjectDocument(ActivityToken newToken)
        Constructs a Business Object Document given an activity token
        newToken -
      • AbstractBusinessObjectDocument

        public AbstractBusinessObjectDocument(ActivityToken newToken,
                                              DataArea newDataArea)
        Creates a BusinessObjectDocument with an ActivityToken and a defined DataArea
        newToken -
        newDataArea -
    • Method Detail

      • getValue

        public java.lang.Object getValue(java.lang.Object endNode,
                                         java.lang.String property)
        Gets the value of the given property of a given node
        Specified by:
        getValue in interface BusinessObjectDocument
        endNode - the object that has the given property
        property - the property whose value will be returned.
        the value of endNode.get(property) or endNode.getProperty() 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
        See Also:
        BusinessObjectDocument.getValue(Object, String)
      • getAction

        public final VerbAction getAction(BaseVO endNode,
                                          java.lang.String attr)
        Returns the verb action given a value object and pathname
        Specified by:
        getAction in interface BusinessObjectDocument
        endNode - The node that contains the given attribute. For example, if we have a calling chain A.getB().getC().getPrice(), then for the attribute price (we use JavaBean convention) has endNode A.getB().getC().
        attr - the property in a JavaBean
        VerbAction The action that describes the given attribute
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
        the String representation of this business object document