java.lang.Object | +--com.ibm.commerce.base.objects.ECEntityBean | +--com.ibm.commerce.contract.objimpl.AttachmentBeanBase
This bean provides access to the ATTACHMENT table.
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.
Field Summary | |
---|---|
java.lang.Long |
attachmentId |
java.lang.String |
attachmentURL |
java.lang.Integer |
createMethod Implemetation field for persistent attribute: createMethod |
java.lang.String |
description Implemetation field for persistent attribute: description |
java.lang.String |
filename Implemetation field for persistent attribute: filename |
java.lang.Long |
filesize Implemetation field for persistent attribute: filesize |
java.lang.String |
image1 Implemetation field for persistent attribute: image1 |
java.lang.String |
image2 Implemetation field for persistent attribute: image2 |
java.lang.Integer |
markforDelete Implemetation field for persistent attribute: markforDelete |
java.lang.String |
mimeType |
java.lang.String |
mimeTypeEncoding |
java.lang.Long |
ownerId |
java.lang.String |
reserved Implemetation field for persistent attribute: reserved |
java.sql.Timestamp |
timeCreated |
java.sql.Timestamp |
timeUpdated |
java.lang.String |
usage |
Constructor Summary | |
---|---|
AttachmentBeanBase() |
Method Summary | |
---|---|
com.ibm.commerce.contract.objects.AttachmentKey |
ejbCreate(java.lang.String argAttachmentURL, java.lang.Long argOwnerId,
java.lang.String argUsage) Constructs an AttachmentAccessBean 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public AttachmentBeanBase()
Method Detail |
---|
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
argAttachmentURL
- The URL of the attachement.argOwnerId
- The ID of the attachment owner.argUsage
- The usage of th attachment.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.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).
newValue
- The ID of the attachment.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.
newValue
- 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.
newValue
- The mime type of the
attachment.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.
newValue
- The encoding of the attachment's mime
type.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.
newValue
- The owner ID 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.
newValue
- 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.
newValue
- 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.
newValue
- The usage of the attachment.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.
newMarkforDelete
- 0 if not marked for delete; 1 if 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.
newDescription
- The description of the
attachment.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.
newFilename
- The file name of the
attachment.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.
newFilesize
- The file size of the
attachment.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.
newCreateMethod
- The create method of the
attachment.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.
newImage1
- 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.
newReserved
- Indicates whether the attachment is
reserved.