|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.DKCC2MimeFed
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 |
public DKCC2MimeFed()
public DKCC2MimeFed(java.lang.String dsType, short cc, java.lang.String mimeType)
dsType
- String - datastore typecc
- short - content class numbermime
- String - mimetypepublic DKCC2MimeFed(java.lang.String dsType, java.lang.String ext, java.lang.String mimeType)
dsType
- String - datastore typeext
- String - extension namemimeType
- String - mimetypeMethod Detail |
public java.lang.String getDSType()
public void setDSType(java.lang.String dsType)
dsType
- String - back-end datastore typepublic short getContentClass()
public void setContentClass(short cc)
cc
- short - content class idpublic java.lang.String getExtension()
public void setExtension(java.lang.String ext)
ext
- String - file extensionpublic java.lang.String getFullyQualifiedColumn()
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
Overview
Package
Class
Tree
Deprecated
Index
Help
EIP Java APIs
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.