com.ibm.commerce.attachment.objects

Class AttachmentAssetEntityCreationData

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


    public class AttachmentAssetEntityCreationData
    extends java.lang.Object
    implements EntityBeanCreationData
    This EntityCreationData represents the data object for creating the Attachment Asset 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.AttachmentAssetAccessBean accessBean)
      Copy attributes' values from the Attachment Asset access bean to the Attachment Asset entity creation data.
      java.lang.Long getAttachmentAssetId()
      Gets the attachment asset ID.
      java.lang.String getAttachmentAssetPath()
      Gets the attachment asset path.
      java.lang.Long getAttachmentTargetId()
      Gets the attachment target ID.
      java.lang.String getDirectoryPath()
      Gets the directory path.
      java.lang.String getImage1()
      Gets the path to image 1.
      java.lang.String getImage2()
      Gets the path to image 2.
      java.lang.String getMimeType()
      Gets the mime type.
      java.lang.String getMimeTypeEncoding()
      Gets the mime type encoding.
      java.lang.Integer getStoreentId()
      Gets the store entity ID.
      java.sql.Timestamp getTimeCreated()
      Gets the time the attachment asset was created.
      java.sql.Timestamp getTimeUpdated()
      Gets the time the attachment asset was updated.
      void reset()
      Reset all attributes of the Attachment Asset.
      void setAttachmentAssetId(java.lang.Long anAttachmentAssetId)
      Sets the attachment asset ID.
      void setAttachmentAssetPath(java.lang.String astrAttachmentAssetPath)
      Sets the attachment asset path.
      void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
      Sets the attachment target ID.
      void setDirectoryPath(java.lang.String astrDirectoryPath)
      Sets the directory path.
      void setImage1(java.lang.String astrImage1)
      Sets the path to image 1.
      void setImage2(java.lang.String astrImage2)
      Sets the path to image 2.
      void setMimeType(java.lang.String astrMimeType)
      Sets the mime type.
      void setMimeTypeEncoding(java.lang.String astrMimeTypeEncoding)
      Sets the mime type encoding.
      void setStoreentId(java.lang.Integer anStoreentId)
      Sets the store entity ID.
      void setTimeCreated(java.sql.Timestamp atmTimeCreated)
      Sets the time the attachment asset was created.
      void setTimeUpdated(java.sql.Timestamp atmTimeUpdated)
      Sets the time the attachment asset was updated.
      • 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

      • AttachmentAssetEntityCreationData

        public AttachmentAssetEntityCreationData()
        Default constructor for the Attachment Asset entity creation data.
    • Method Detail

      • getAttachmentAssetId

        public java.lang.Long getAttachmentAssetId()
        Gets the attachment asset ID.
        Returns:
        AttachmentAssetId The attachment asset ID
      • setAttachmentAssetId

        public void setAttachmentAssetId(java.lang.Long anAttachmentAssetId)
        Sets the attachment asset ID.
        Parameters:
        anAttachmentAssetId - The attachment asset ID
      • getStoreentId

        public java.lang.Integer getStoreentId()
        Gets the store entity ID.
        Returns:
        StoreentId The store entity ID
      • setStoreentId

        public void setStoreentId(java.lang.Integer anStoreentId)
        Sets the store entity ID.
        Parameters:
        anStoreentId - The store entity 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
      • getAttachmentAssetPath

        public java.lang.String getAttachmentAssetPath()
        Gets the attachment asset path.
        Returns:
        AttachmentAssetPath The attachment asset path
      • setAttachmentAssetPath

        public void setAttachmentAssetPath(java.lang.String astrAttachmentAssetPath)
        Sets the attachment asset path.
        Parameters:
        astrAttachmentAssetPath - The attachment asset path
      • getDirectoryPath

        public java.lang.String getDirectoryPath()
        Gets the directory path.
        Returns:
        DirectoryPath The directory path
      • setDirectoryPath

        public void setDirectoryPath(java.lang.String astrDirectoryPath)
        Sets the directory path.
        Parameters:
        astrDirectoryPath - The directory path
      • getMimeType

        public java.lang.String getMimeType()
        Gets the mime type.
        Returns:
        MimeType The mime type
      • setMimeType

        public void setMimeType(java.lang.String astrMimeType)
        Sets the mime type.
        Parameters:
        astrMimeType - The mime type
      • getMimeTypeEncoding

        public java.lang.String getMimeTypeEncoding()
        Gets the mime type encoding.
        Returns:
        MimeTypeEncoding The mime type encoding
      • setMimeTypeEncoding

        public void setMimeTypeEncoding(java.lang.String astrMimeTypeEncoding)
        Sets the mime type encoding.
        Parameters:
        astrMimeTypeEncoding - The mime type encoding
      • getTimeCreated

        public java.sql.Timestamp getTimeCreated()
        Gets the time the attachment asset was created.
        Returns:
        TimeCreated The time the attachment asset was created
      • setTimeCreated

        public void setTimeCreated(java.sql.Timestamp atmTimeCreated)
        Sets the time the attachment asset was created.
        Parameters:
        atmTimeCreated - The time the attachment asset was created
      • getTimeUpdated

        public java.sql.Timestamp getTimeUpdated()
        Gets the time the attachment asset was updated.
        Returns:
        TimeUpdated The time the attachment asset was updated
      • setTimeUpdated

        public void setTimeUpdated(java.sql.Timestamp atmTimeUpdated)
        Sets the time the attachment asset was updated.
        Parameters:
        atmTimeUpdated - The time the attachment asset was updated
      • getImage1

        public java.lang.String getImage1()
        Gets the path to image 1.
        Returns:
        Image1 The path to image 1
      • setImage1

        public void setImage1(java.lang.String astrImage1)
        Sets the path to image 1.
        Parameters:
        astrImage1 - The path to image 1
      • getImage2

        public java.lang.String getImage2()
        Gets the path to image 2.
        Returns:
        Image2 The path to image 2
      • setImage2

        public void setImage2(java.lang.String astrImage2)
        Sets the path to image 2.
        Parameters:
        astrImage2 - The path to image 2
      • reset

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

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