Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKCC2MimeFed

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.DKCC2MimeFed
All Implemented Interfaces:
java.io.Serializable

public class DKCC2MimeFed
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DKCC2MimeFed()
          Dedault constructor
DKCC2MimeFed(java.lang.String dsType, short cc, java.lang.String mimeType)
          Constructing a DKCC2MimeFed object with datastore type, content class, and mimetype
DKCC2MimeFed(java.lang.String dsType, java.lang.String ext, java.lang.String mimeType)
          Constructing a DKCC2MimeFed object with datastore type, content class, and mimetype
 
Method Summary
 void clearObject()
          Clear this object for reuse
 short getContentClass()
          Getter method - Gets the associated content class id
 java.lang.String getDSType()
          Getter method - Gets the back-edn datastore type
 java.lang.String getExtension()
          Getter method - Gets the associated file extension
 java.lang.String getFullyQualifiedColumn()
          Get fully qualified column name relational datastore types
 java.lang.String getKey()
          Gets the key for this CC2Mime object
 java.lang.String getMimeType()
          Getter method - Gets the associated mimetype
 void setContentClass(short cc)
          Setter method - Sets the associated content class id
 void setDSType(java.lang.String dsType)
          Setter method - Sets the back-end datastore type
 void setExtension(java.lang.String ext)
          Setter method - Sets the associated extension name
 void setFullyQualifiedColumn(java.lang.String colName)
          Sets the fully qualified column name for relational datastore types
 void setKey(java.lang.String key)
          Sets the key for this CC2Mime object
 void setMimeType(java.lang.String mimeType)
          Setter method - Sets the associated mimetype
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKCC2MimeFed

public DKCC2MimeFed()
Dedault constructor

DKCC2MimeFed

public DKCC2MimeFed(java.lang.String dsType,
                    short cc,
                    java.lang.String mimeType)
Constructing a DKCC2MimeFed object with datastore type, content class, and mimetype
Parameters:
dsType - String - datastore type
cc - short - content class number
mime - String - mimetype

DKCC2MimeFed

public DKCC2MimeFed(java.lang.String dsType,
                    java.lang.String ext,
                    java.lang.String mimeType)
Constructing a DKCC2MimeFed object with datastore type, content class, and mimetype
Parameters:
dsType - String - datastore type
ext - String - extension name
mimeType - String - mimetype
Method Detail

getDSType

public java.lang.String getDSType()
Getter method - Gets the back-edn datastore type
Returns:
back-end datastore type

setDSType

public void setDSType(java.lang.String dsType)
Setter method - Sets the back-end datastore type
Parameters:
dsType - String - back-end datastore type

getContentClass

public short getContentClass()
Getter method - Gets the associated content class id
Returns:
association content class id

setContentClass

public void setContentClass(short cc)
Setter method - Sets the associated content class id
Parameters:
cc - short - content class id

getExtension

public java.lang.String getExtension()
Getter method - Gets the associated file extension
Returns:
the associated file extension

setExtension

public void setExtension(java.lang.String ext)
Setter method - Sets the associated extension name
Parameters:
ext - String - file extension

getFullyQualifiedColumn

public java.lang.String getFullyQualifiedColumn()
Get fully qualified column name relational datastore types
Returns:
the fully qualified column name which is formated as follow: DB2 - the syntax is DB2...= if the name of database, table or column contains any ':' or blank, it should be replaced with '_' ODBC - the syntax is ODBC..
.= if the name of database, table or column contains any ':' or blank, it should be replaced with '_' JDBC - the syntax is JDBC..
.= if the name of server, table or column contains any ':' or blank, it should be replaced with '_' . For example: the server name jdbc:db2:sample is represented as jdbc_db2_sample

setFullyQualifiedColumn

public void setFullyQualifiedColumn(java.lang.String colName)
Sets the fully qualified column name for relational datastore types
Parameters:
colName - - This column name which must be formated as follow: DB2 - the syntax is DB2..
.= if the name of database, table or column contains any ':' or blank, it should be replaced with '_' ODBC - the syntax is ODBC..
.= if the name of database, table or column contains any ':' or blank, it should be replaced with '_' JDBC - the syntax is JDBC..
.= if the name of server, table or column contains any ':' or blank, it should be replaced with '_' . For example: the server name jdbc:db2:sample is represented as jdbc_db2_sample

getMimeType

public java.lang.String getMimeType()
Getter method - Gets the associated mimetype
Returns:
mimetype string

setMimeType

public void setMimeType(java.lang.String mimeType)
Setter method - Sets the associated mimetype
Parameters:
mimeType - String - mimetype

getKey

public java.lang.String getKey()
Gets the key for this CC2Mime object
Returns:
a string representation of the CC2Mime key. This key could be one of the following format: String key = DSType + "." + Server_ContentClass_Value; or String key = DSType + "." + document_extension; //for OnDemand

setKey

public void setKey(java.lang.String key)
Sets the key for this CC2Mime object
Parameters:
key - a string representation of the CC2Mime key. This key could be one of the following format: String key = DSType + "." + Server_ContentClass_Value; or String key = DSType + "." + document_extension; //for OnDemand

clearObject

public void clearObject()
Clear this object for reuse

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.