Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class dkAbstractContentDef

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.dkAbstractContentDef
All Implemented Interfaces:
dkContentDef, DKMessageId, java.io.Serializable
Direct Known Subclasses:
DKContentDefDL

public class dkAbstractContentDef
extends java.lang.Object
implements dkContentDef, DKMessageId, java.io.Serializable

This class defines the characteristics of the content

See Also:
Serialized Form

Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId
    For details, see the class or interface
 
Constructor Summary
dkAbstractContentDef()
          Constructs a new dkAbstractContentDef class
 
Method Summary
 java.lang.String getDescription()
          Gets the description of the content
 java.lang.String getFileExtension()
          Gets the file extension used to create a file for this content
 int getId()
          Gets the Id for the content for DL, it is the content class Id
 java.lang.String getMimeType()
          Gets the mime type of the content
 java.lang.String getType()
          Gets the type of the content for DL, it is the content class name
 void setDescription(java.lang.String desc)
          Sets the description of the content
 void setFileExtension(java.lang.String fext)
          Sets the file extension used to create a file for this content
 void setId(int id)
          Sets the Id for the content for DL, it is the content class Id
 void setMimeType(java.lang.String mimeType)
          Sets the mime type of the content
 void setType(java.lang.String aType)
          Sets the type of the content for DL, it is the content class name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

dkAbstractContentDef

public dkAbstractContentDef()
Constructs a new dkAbstractContentDef class
Method Detail

getId

public int getId()
Gets the Id for the content for DL, it is the content class Id
Specified by:
getId in interface dkContentDef
Returns:
the content Id

setId

public void setId(int id)
Sets the Id for the content for DL, it is the content class Id
Specified by:
setId in interface dkContentDef
Parameters:
id - the Id of the content

getType

public java.lang.String getType()
Gets the type of the content for DL, it is the content class name
Specified by:
getType in interface dkContentDef
Returns:
the name of the content's type

setType

public void setType(java.lang.String aType)
Sets the type of the content for DL, it is the content class name
Specified by:
setType in interface dkContentDef
Parameters:
aType - the name of the content's type

getDescription

public java.lang.String getDescription()
Gets the description of the content
Specified by:
getDescription in interface dkContentDef
Returns:
a description of the content

setDescription

public void setDescription(java.lang.String desc)
Sets the description of the content
Specified by:
setDescription in interface dkContentDef
Parameters:
desc - a description of the content

getMimeType

public java.lang.String getMimeType()
Gets the mime type of the content
Specified by:
getMimeType in interface dkContentDef
Returns:
a mime type of the content

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets the mime type of the content
Specified by:
setMimeType in interface dkContentDef
Parameters:
mimeType - a mime type of the content

getFileExtension

public java.lang.String getFileExtension()
Gets the file extension used to create a file for this content
Specified by:
getFileExtension in interface dkContentDef
Returns:
a file extension name

setFileExtension

public void setFileExtension(java.lang.String fext)
Sets the file extension used to create a file for this content
Specified by:
setFileExtension in interface dkContentDef
Parameters:
fext - a file extension name

EIP Java APIs

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