com.ibm.commerce.attachment.objects

Class AttachmentRelationEntityCreationData

  • java.lang.Object
    • com.ibm.commerce.attachment.objects.AttachmentRelationEntityCreationData
  • All Implemented Interfaces:
    EntityBeanCreationData, java.io.Serializable


    public class AttachmentRelationEntityCreationData
    extends java.lang.Object
    implements EntityBeanCreationData
    This EntityCreationData represents the data object for creating the Attachment Relation EJB.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The internal copyright field.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void copyFromAccessBean(com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean accessBean)
      Copy attributes' values from the Attachment Relation access bean to the Attachment Relation entity creation data.
      java.lang.Integer getAttachmentObjectTypeId()
      Gets the attachment object type ID of the business object.
      java.lang.Long getAttachmentRelationId()
      Gets the attachment relation ID.
      java.lang.Integer getAttachmentRelationUsageId()
      Gets the attachment relation usage ID.
      java.lang.Long getAttachmentTargetId()
      Gets the attachment target ID.
      java.sql.Timestamp getLastUpdate()
      Gets the last update timestamp.
      java.lang.String getObjectId()
      Gets the object ID which is the primary key of the business object.
      java.lang.Double getSequence()
      Gets the sequence.
      void reset()
      Reset all attributes of the Attachment Relation.
      void setAttachmentObjectTypeId(java.lang.Integer anAttachmentObjectTypeId)
      Sets the attachment object type ID of the business object.
      void setAttachmentRelationId(java.lang.Long anAttachmentRelationId)
      Sets the attachment relation ID.
      void setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
      Sets the attachment relation usage ID.
      void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
      Sets the attachment target ID.
      void setLastUpdate(java.sql.Timestamp atmLastUpdate)
      Sets the last update timestamp.
      void setObjectId(java.lang.String astrObjectId)
      Sets the object ID which is the primary key of the business object.
      void setSequence(java.lang.Double adSequence)
      Sets the sequence.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

      • AttachmentRelationEntityCreationData

        public AttachmentRelationEntityCreationData()
        Default constructor for the Attachment Relation entity creation data.
    • Method Detail

      • getAttachmentRelationId

        public java.lang.Long getAttachmentRelationId()
        Gets the attachment relation ID.
        Returns:
        AttachmentRelationId The attachment relation ID
      • setAttachmentRelationId

        public void setAttachmentRelationId(java.lang.Long anAttachmentRelationId)
        Sets the attachment relation ID.
        Parameters:
        anAttachmentRelationId - The attachment relation ID
      • getObjectId

        public java.lang.String getObjectId()
        Gets the object ID which is the primary key of the business object.
        Returns:
        ObjectId The primary key of the business object
      • setObjectId

        public void setObjectId(java.lang.String astrObjectId)
        Sets the object ID which is the primary key of the business object.
        Parameters:
        astrObjectId - The primary key of the business object
      • getAttachmentObjectTypeId

        public java.lang.Integer getAttachmentObjectTypeId()
        Gets the attachment object type ID of the business object.
        Returns:
        AttachmentObjectTypeId The attachment object type ID
      • setAttachmentObjectTypeId

        public void setAttachmentObjectTypeId(java.lang.Integer anAttachmentObjectTypeId)
        Sets the attachment object type ID of the business object.
        Parameters:
        anAttachmentObjectTypeId - The attachment object type ID
      • getAttachmentTargetId

        public java.lang.Long getAttachmentTargetId()
        Gets the attachment target ID.
        Returns:
        AttachmentTargetId The attachment target ID
      • setAttachmentTargetId

        public void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
        Sets the attachment target ID.
        Parameters:
        anAttachmentTargetId - The attachment target ID
      • getAttachmentRelationUsageId

        public java.lang.Integer getAttachmentRelationUsageId()
        Gets the attachment relation usage ID.
        Returns:
        AttachmentRelationUsageId The attachment relation usage ID
      • setAttachmentRelationUsageId

        public void setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
        Sets the attachment relation usage ID.
        Parameters:
        anAttachmentRelationUsageId - The attachment relation usage ID
      • getLastUpdate

        public java.sql.Timestamp getLastUpdate()
        Gets the last update timestamp.
        Returns:
        LastUpdate The last update timestamp
      • setLastUpdate

        public void setLastUpdate(java.sql.Timestamp atmLastUpdate)
        Sets the last update timestamp.
        Parameters:
        atmLastUpdate - The last update timestamp
      • getSequence

        public java.lang.Double getSequence()
        Gets the sequence.
        Returns:
        Sequence The sequence
      • setSequence

        public void setSequence(java.lang.Double adSequence)
        Sets the sequence.
        Parameters:
        adSequence - The sequence
      • reset

        public void reset()
                   throws java.lang.IllegalAccessException
        Reset all attributes of the Attachment Relation.
        Throws:
        java.lang.IllegalAccessException - An illegal access exception
      • copyFromAccessBean

        public void copyFromAccessBean(com.ibm.commerce.attachment.objects.AttachmentRelationAccessBean accessBean)
        Copy attributes' values from the Attachment Relation access bean to the Attachment Relation entity creation data.
        Parameters:
        AccessBean - The Attachment Relation access bean