com.ibm.commerce.contract.objects
Interface AttachmentAccessBeanData

All Known Implementing Classes:
AttachmentAccessBean

public interface AttachmentAccessBeanData

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 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.


Method Summary
 java.lang.String 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.String 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.lang.String getTimeCreated()
          This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.lang.String 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.String 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 newValue)
          This method provides access to the ATTACHMENT.CREATEMETHOD column of DB2 type INTEGER NULL.
 void setDescription(java.lang.String newValue)
          This method provides access to the ATTACHMENT.DESCRIPTION column of DB2 type VARCHAR (254) NULL.
 void setFilename(java.lang.String newValue)
          This method provides access to the ATTACHMENT.FILENAME column of DB2 type VARCHAR (254) NULL.
 void setFilesize(java.lang.Long newValue)
          This method provides access to the ATTACHMENT.FILESIZE column of DB2 type BIGINT NULL.
 void setImage1(java.lang.String newValue)
          This method provides access to the ATTACHMENT.IMAGE1 column of DB2 type VARCHAR (254) NULL.
 void setImage2(java.lang.String newValue)
          This method provides access to the ATTACHMENT.IMAGE2 column of DB2 type VARCHAR (254) NULL.
 void setMarkforDelete(java.lang.Integer newValue)
          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.String newValue)
          This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setReserved(java.lang.String newValue)
          This method provides access to the ATTACHMENT.RESERVED column of DB2 type VARCHAR (254) NULL.
 void setTimeCreated(java.lang.String newValue)
          This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.lang.String 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.
 

Method Detail

getMimeTypeEncoding

public java.lang.String getMimeTypeEncoding()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

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.

Returns:
The encoding of the attachment's mime type.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setMimeTypeEncoding

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.

Parameters:
newValue - The encoding of the attachment's mime type.

getAttachmentId

public java.lang.String getAttachmentId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

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).

Returns:
The ID of the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setAttachmentId

public void setAttachmentId(java.lang.String 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).

Parameters:
newValue - The ID of the attachment.

getOwnerId

public java.lang.String getOwnerId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

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.

Returns:
The owner ID of the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setOwnerId

public void setOwnerId(java.lang.String 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.

Parameters:
newValue - The owner ID of the attachment.

getMimeType

public java.lang.String getMimeType()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

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.

Returns:
The mime type of the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setMimeType

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.

Parameters:
newValue - The mime type of the attachment.

getTimeUpdated

public java.lang.String getTimeUpdated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

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.

Returns:
The last time the Attachment was updated.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setTimeUpdated

public void setTimeUpdated(java.lang.String 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.

Parameters:
newValue - The last time the Attachment was updated.

getUsage

public java.lang.String getUsage()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

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.

Returns:
The usage of the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setUsage

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.

Parameters:
newValue - The usage of the attachment.

getTimeCreated

public java.lang.String getTimeCreated()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

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.

Returns:
The Attachment creation time.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setTimeCreated

public void setTimeCreated(java.lang.String 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.

Parameters:
newValue - The Attachment creation time.

getAttachmentURL

public java.lang.String getAttachmentURL()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

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.

Returns:
The URL of the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setAttachmentURL

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.

Parameters:
newValue - The URL of the attachment.

getFilename

public java.lang.String getFilename()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

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.

Returns:
The file name of the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setFilename

public void setFilename(java.lang.String newValue)

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.

Parameters:
newValue - The file name of the attachment.

getReserved

public java.lang.String getReserved()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

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.

Returns:
Indicates whether the attachment is reserved.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setReserved

public void setReserved(java.lang.String newValue)

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.

Parameters:
newValue - Indicates whether the attachment is reserved.

getCreateMethod

public java.lang.Integer getCreateMethod()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

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.

Returns:
The create method of the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setCreateMethod

public void setCreateMethod(java.lang.Integer newValue)

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.

Parameters:
newValue - The create method of the attachment.

getMarkforDelete

public java.lang.Integer getMarkforDelete()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

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.

Returns:
0 if not marked for delete; 1 if marked for delete.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setMarkforDelete

public void setMarkforDelete(java.lang.Integer newValue)

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.

Parameters:
newValue - 0 if not marked for delete; 1 if marked for delete.

getImage2

public java.lang.String getImage2()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

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.

Returns:
The image associated with the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setImage2

public void setImage2(java.lang.String newValue)

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.

Parameters:
newValue - The image associated with the attachment.

getImage1

public java.lang.String getImage1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

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.

Returns:
The image associated with the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setImage1

public void setImage1(java.lang.String newValue)

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.

Parameters:
newValue - The image associated with the attachment.

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

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.

Returns:
The description of the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setDescription

public void setDescription(java.lang.String newValue)

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.

Parameters:
newValue - The description of the attachment.

getFilesize

public java.lang.Long getFilesize()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

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.

Returns:
The file size of the attachment.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.

setFilesize

public void setFilesize(java.lang.Long newValue)

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.

Parameters:
newValue - The file size of the attachment.