com.ibm.commerce.foundation.server.services.dataaccess.bom.config

Class BusinessObjectAttributeMappingConfig

  • java.lang.Object
    • com.ibm.commerce.foundation.server.services.dataaccess.bom.config.BusinessObjectAttributeMappingConfig


  • public class BusinessObjectAttributeMappingConfig
    extends java.lang.Object
    • Constructor Detail

      • BusinessObjectAttributeMappingConfig

        public BusinessObjectAttributeMappingConfig(BusinessObjectAttributeMappingConfig parent,
                                                    java.lang.String astrComponentId)
        Constructor
        Parameters:
        parent -
        astrComponentId -
    • Method Detail

      • getAttributes

        public java.util.List getAttributes()
        Returns:
        attributes
      • getChildAttributeMappings

        public java.util.List getChildAttributeMappings()
        Returns:
        attribute mappings
      • setLogicalEntityClass

        public void setLogicalEntityClass(java.lang.Class logicalEntityClass)
        Parameters:
        logicalEntityClass -
      • setPhysicalEntityClass

        public void setPhysicalEntityClass(java.lang.Class physicalEntityClass)
        Parameters:
        physicalEntityClass -
      • isAssignable

        public boolean isAssignable(java.lang.Object aLogicalObject,
                                    java.lang.Object aPhysicalObject)
        Checks if the attribute mapping is compatible
        Parameters:
        aLogicalObject -
        aPhysicalObject -
        Returns:
        true if match
      • getLogicalEntityClass

        public java.lang.Class getLogicalEntityClass()
        Returns:
        Logical Entity Class
      • getPhysicalEntityClass

        public java.lang.Class getPhysicalEntityClass()
        Returns:
        Physical Entity Class
      • setAccessRelationShipMethod

        public void setAccessRelationShipMethod(java.lang.reflect.Method aGetRelationShipMethod)
        Parameters:
        aGetRelationShipMethod -
      • getAccessRelationShipMethod

        public java.lang.reflect.Method getAccessRelationShipMethod()
        Returns:
        a Get RelationShip Method
      • setMutateRelationShipMethod

        public void setMutateRelationShipMethod(java.lang.reflect.Method aSetRelationShipMethod)
        Parameters:
        aSetRelationShipMethod -
      • getMutateRelationShipMethod

        public java.lang.reflect.Method getMutateRelationShipMethod()
        Returns:
        a Set RelationShip Method
      • setRelationShipName

        public void setRelationShipName(java.lang.String relationShipName)
        Parameters:
        relationShipName -
      • setParentPhysicalEntityName

        public void setParentPhysicalEntityName(java.lang.String parentPhysicalEntityName)
        Parameters:
        parentPhysicalEntityName -
      • getRelationShipMethods

        public java.util.Map getRelationShipMethods(java.lang.Object aRootPhysicalEntity)
                                             throws java.lang.Exception
        Return the methods used to copy the foreign key relationships
        Parameters:
        aRootPhysicalEntity -
        Returns:
        The reltaionship methods
        Throws:
        java.lang.Exception