public class AttachmentBeanBase
extends com.ibm.commerce.base.objects.ECEntityBean
The following is a description of this table:
This table contains information about Attachments. An Attachment is a supporting document for a trading document. For example, it can be a specification of a product, or a price list spreadsheet. This bean accesses the database table ATTACHMENT
Modifier and Type | Field and Description |
---|---|
java.lang.Long | attachmentId |
java.lang.String | attachmentURL |
java.lang.Integer | createMethod
Implementation field for persistent attribute: createMethod
|
java.lang.String | description
Implementation field for persistent attribute: description
|
java.lang.String | filename
Implementation field for persistent attribute: filename
|
java.lang.Long | filesize
Implementation field for persistent attribute: filesize
|
java.lang.String | image1
Implementation field for persistent attribute: image1
|
java.lang.String | image2
Implementation field for persistent attribute: image2
|
java.lang.Integer | markforDelete
Implementation field for persistent attribute: markforDelete
|
java.lang.String | mimeType |
java.lang.String | mimeTypeEncoding |
java.lang.Long | ownerId |
java.lang.String | reserved
Implementation field for persistent attribute: reserved
|
java.sql.Timestamp | timeCreated |
java.sql.Timestamp | timeUpdated |
java.lang.String | usage |
Constructor and Description |
---|
AttachmentBeanBase() |
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.contract.objects.AttachmentKey | ejbCreate(java.lang.String argAttachmentURL, java.lang.Long argOwnerId, java.lang.String argUsage)
Initializes this AttachmentBean object with the specified attachment URL, owner ID, and usage.
|
java.lang.Long | getAttachmentId()
This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.String | getAttachmentURL()
This method provides access to the ATTACHMENT.ATTACHMENTURL column of DB2 type VARCHAR(254) NOT NULL.
|
java.lang.Integer | getCreateMethod()
This method provides access to the ATTACHMENT.CREATEMETHOD column of DB2 type INTEGER NULL.
|
java.lang.String | getDescription()
This method provides access to the ATTACHMENT.DESCRIPTION column of DB2 type VARCHAR (254) NULL.
|
java.lang.String | getFilename()
This method provides access to the ATTACHMENT.FILENAME column of DB2 type VARCHAR (254) NULL.
|
java.lang.Long | getFilesize()
This method provides access to the ATTACHMENT.FILESIZE column of DB2 type BIGINT NULL.
|
java.lang.String | getImage1()
This method provides access to the ATTACHMENT.IMAGE1 column of DB2 type VARCHAR (254) NULL.
|
java.lang.String | getImage2()
This method provides access to the ATTACHMENT.IMAGE2 column of DB2 type VARCHAR (254) NULL.
|
java.lang.Integer | getMarkforDelete()
This method provides access to the ATTACHMENT.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
|
java.lang.String | getMimeType()
This method provides access to the ATTACHMENT.MIMETYPE column of DB2 type VARCHAR(254) NULL.
|
java.lang.String | getMimeTypeEncoding()
This method provides access to the ATTACHMENT.MIMETYPEENCODING column of DB2 type VARCHAR(128) NULL.
|
java.lang.Long | getOwnerId()
This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.String | getReserved()
This method provides access to the ATTACHMENT.RESERVED column of DB2 type VARCHAR (254) NULL.
|
java.sql.Timestamp | getTimeCreated()
This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP NULL.
|
java.sql.Timestamp | getTimeUpdated()
This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
|
java.lang.String | getUsage()
This method provides access to the ATTACHMENT.ATTACHUSG_ID column of DB2 type CHAR(64) NULL.
|
void | setAttachmentId(java.lang.Long newValue)
This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
|
void | setAttachmentURL(java.lang.String newValue)
This method provides access to the ATTACHMENT.ATTACHMENTURL column of DB2 type VARCHAR(254) NOT NULL.
|
void | setCreateMethod(java.lang.Integer newCreateMethod)
This method provides access to the ATTACHMENT.CREATEMETHOD column of DB2 type INTEGER NULL.
|
void | setDescription(java.lang.String newDescription)
This method provides access to the ATTACHMENT.DESCRIPTION column of DB2 type VARCHAR (254) NULL.
|
void | setFilename(java.lang.String newFilename)
This method provides access to the ATTACHMENT.FILENAME column of DB2 type VARCHAR (254) NULL.
|
void | setFilesize(java.lang.Long newFilesize)
This method provides access to the ATTACHMENT.FILESIZE column of DB2 type BIGINT NULL.
|
void | setImage1(java.lang.String newImage1)
This method provides access to the ATTACHMENT.IMAGE1 column of DB2 type VARCHAR (254) NULL.
|
void | setImage2(java.lang.String newImage2)
This method provides access to the ATTACHMENT.IMAGE2 column of DB2 type VARCHAR (254) NULL.
|
void | setMarkforDelete(java.lang.Integer newMarkforDelete)
This method provides access to the ATTACHMENT.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
|
void | setMimeType(java.lang.String newValue)
This method provides access to the ATTACHMENT.MIMETYPE column of DB2 type VARCHAR(254) NULL.
|
void | setMimeTypeEncoding(java.lang.String newValue)
This method provides access to the ATTACHMENT.MIMETYPEENCODING column of DB2 type VARCHAR(128) NULL.
|
void | setOwnerId(java.lang.Long newValue)
This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
|
void | setReserved(java.lang.String newReserved)
This method provides access to the ATTACHMENT.RESERVED column of DB2 type VARCHAR (254) NULL.
|
void | setTimeCreated(java.sql.Timestamp newValue)
This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP NULL.
|
void | setTimeUpdated(java.sql.Timestamp newValue)
This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
|
void | setUsage(java.lang.String newValue)
This method provides access to the ATTACHMENT.ATTACHUSG_ID column of DB2 type CHAR(64) NULL.
|
public java.lang.Long attachmentId
public java.lang.String attachmentURL
public java.lang.String mimeType
public java.lang.String mimeTypeEncoding
public java.lang.Long ownerId
public java.sql.Timestamp timeCreated
public java.sql.Timestamp timeUpdated
public java.lang.String usage
public java.lang.Integer markforDelete
public java.lang.String description
public java.lang.String filename
public java.lang.Long filesize
public java.lang.Integer createMethod
public java.lang.String image1
public java.lang.String image2
public java.lang.String reserved
public com.ibm.commerce.contract.objects.AttachmentKey ejbCreate(java.lang.String argAttachmentURL, java.lang.Long argOwnerId, java.lang.String argUsage) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getAttachmentId()
This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Attachment ID (primary key).
public java.lang.String getAttachmentURL()
This method provides access to the ATTACHMENT.ATTACHMENTURL column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The URL of the Attachment.
public java.lang.String getMimeType()
This method provides access to the ATTACHMENT.MIMETYPE column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
The Attachment mimeType.
public java.lang.String getMimeTypeEncoding()
This method provides access to the ATTACHMENT.MIMETYPEENCODING column of DB2 type VARCHAR(128) NULL.
The following is a description of this column:
The Attachment encoding.
public java.lang.Long getOwnerId()
This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of the Attachment.
public java.sql.Timestamp getTimeCreated()
This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The Attachment creation time.
public java.sql.Timestamp getTimeUpdated()
This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The last time the Attachment was updated.
public java.lang.String getUsage()
This method provides access to the ATTACHMENT.ATTACHUSG_ID column of DB2 type CHAR(64) NULL.
The following is a description of this column:
Foreign key to the attachment usage (ATTACHUSG) table.
public void setAttachmentId(java.lang.Long newValue)
This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Attachment ID (primary key).
public void setAttachmentURL(java.lang.String newValue)
This method provides access to the ATTACHMENT.ATTACHMENTURL column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The URL of the Attachment.
public void setMimeType(java.lang.String newValue)
This method provides access to the ATTACHMENT.MIMETYPE column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
The Attachment mimeType.
public void setMimeTypeEncoding(java.lang.String newValue)
This method provides access to the ATTACHMENT.MIMETYPEENCODING column of DB2 type VARCHAR(128) NULL.
The following is a description of this column:
The Attachment encoding.
public void setOwnerId(java.lang.Long newValue)
This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of the Attachment.
public void setTimeCreated(java.sql.Timestamp newValue)
This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The Attachment creation time.
public void setTimeUpdated(java.sql.Timestamp newValue)
This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The last time the Attachment was updated.
public void setUsage(java.lang.String newValue)
This method provides access to the ATTACHMENT.ATTACHUSG_ID column of DB2 type CHAR(64) NULL.
The following is a description of this column:
Foreign key to the attachment usage (ATTACHUSG) table.
public java.lang.Integer getMarkforDelete()
This method provides access to the ATTACHMENT.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates whether the contract has been marked for delete.
public void setMarkforDelete(java.lang.Integer newMarkforDelete)
This method provides access to the ATTACHMENT.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates whether the contract has been marked for delete.
public java.lang.String getDescription()
This method provides access to the ATTACHMENT.DESCRIPTION column of DB2 type VARCHAR (254) NULL.
The following is a description of this column:
The attachment description.
public void setDescription(java.lang.String newDescription)
This method provides access to the ATTACHMENT.DESCRIPTION column of DB2 type VARCHAR (254) NULL.
The following is a description of this column:
The attachment description.
public java.lang.String getFilename()
This method provides access to the ATTACHMENT.FILENAME column of DB2 type VARCHAR (254) NULL.
The following is a description of this column:
The attachment file name.
public void setFilename(java.lang.String newFilename)
This method provides access to the ATTACHMENT.FILENAME column of DB2 type VARCHAR (254) NULL.
The following is a description of this column:
The attachment file name.
public java.lang.Long getFilesize()
This method provides access to the ATTACHMENT.FILESIZE column of DB2 type BIGINT NULL.
The following is a description of this column:
The attachment file size.
public void setFilesize(java.lang.Long newFilesize)
This method provides access to the ATTACHMENT.FILESIZE column of DB2 type BIGINT NULL.
The following is a description of this column:
The attachment file size.
public java.lang.Integer getCreateMethod()
This method provides access to the ATTACHMENT.CREATEMETHOD column of DB2 type INTEGER NULL.
The following is a description of this column:
The attachment create method.
public void setCreateMethod(java.lang.Integer newCreateMethod)
This method provides access to the ATTACHMENT.CREATEMETHOD column of DB2 type INTEGER NULL.
The following is a description of this column:
The attachment create method.
public java.lang.String getImage1()
This method provides access to the ATTACHMENT.IMAGE1 column of DB2 type VARCHAR (254) NULL.
The following is a description of this column:
The image associated with the attachment.
public void setImage1(java.lang.String newImage1)
This method provides access to the ATTACHMENT.IMAGE1 column of DB2 type VARCHAR (254) NULL.
The following is a description of this column:
The image associated with the attachment.
public java.lang.String getImage2()
This method provides access to the ATTACHMENT.IMAGE2 column of DB2 type VARCHAR (254) NULL.
The following is a description of this column:
The image associated with the attachment.
public void setImage2(java.lang.String newImage2)
This method provides access to the ATTACHMENT.IMAGE2 column of DB2 type VARCHAR (254) NULL.
The following is a description of this column:
The image associated with the attachment.
public java.lang.String getReserved()
This method provides access to the ATTACHMENT.RESERVED column of DB2 type VARCHAR (254) NULL.
The following is a description of this column:
Indicates whether the attachment is reserved.
public void setReserved(java.lang.String newReserved)
This method provides access to the ATTACHMENT.RESERVED column of DB2 type VARCHAR (254) NULL.
The following is a description of this column:
Indicates whether the attachment is reserved.