com.ibm.commerce.contract.objects
Class AttachmentBean

com.ibm.commerce.contract.objects.AttachmentBean

public class AttachmentBean

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.


Constructor Summary
AttachmentBean()
           
 
Method Summary
 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.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.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 aAttachmentId)
          This method provides access to the ATTACHMENT.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
 void setAttachmentURL(java.lang.String aAttachmentURL)
          This method provides access to the ATTACHMENT.ATTACHMENTURL column of DB2 type VARCHAR(254) NOT NULL.
 void setMimeType(java.lang.String aMimeType)
          This method provides access to the ATTACHMENT.MIMETYPE column of DB2 type VARCHAR(254) NULL.
 void setMimeTypeEncoding(java.lang.String aMimeTypeEncoding)
          This method provides access to the ATTACHMENT.MIMETYPEENCODING column of DB2 type VARCHAR(128) NULL.
 void setOwnerId(java.lang.Long aOwnerId)
          This method provides access to the ATTACHMENT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setTimeCreated(java.sql.Timestamp aTimeCreated)
          This method provides access to the ATTACHMENT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
          This method provides access to the ATTACHMENT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setUsage(java.lang.String aUsage)
          This method provides access to the ATTACHMENT.ATTACHUSG_ID column of DB2 type CHAR(64) NULL.
 

Constructor Detail

AttachmentBean

public AttachmentBean()
Method Detail

getAttachmentId

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

Returns:
java.lang.Long

getAttachmentURL

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.

Returns:
java.lang.String

getMimeType

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.

Returns:
java.lang.String

getMimeTypeEncoding

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.

Returns:
java.lang.String

getOwnerId

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.

Returns:
java.lang.Long

getTimeCreated

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.

Returns:
java.sql.Timestamp

getTimeUpdated

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.

Returns:
java.sql.Timestamp

getUsage

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.

Returns:
java.lang.String

setAttachmentId

public void setAttachmentId(java.lang.Long aAttachmentId)

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:
aAttachmentId - java.lang.Long
Returns:
void

setAttachmentURL

public void setAttachmentURL(java.lang.String aAttachmentURL)

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:
aAttachmentURL - java.lang.String
Returns:
void

setMimeType

public void setMimeType(java.lang.String aMimeType)

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:
aMimeType - java.lang.String
Returns:
void

setMimeTypeEncoding

public void setMimeTypeEncoding(java.lang.String aMimeTypeEncoding)

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:
aMimeTypeEncoding - java.lang.String
Returns:
void

setOwnerId

public void setOwnerId(java.lang.Long aOwnerId)

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:
aOwnerId - java.lang.Long
Returns:
void

setTimeCreated

public void setTimeCreated(java.sql.Timestamp aTimeCreated)

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:
aTimeCreated - java.sql.Timestamp
Returns:
void

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)

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:
aTimeUpdated - java.sql.Timestamp
Returns:
void

setUsage

public void setUsage(java.lang.String aUsage)

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:
aUsage - java.lang.String
Returns:
void