Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Interface dkContentDef

All Known Implementing Classes:
dkAbstractContentDef

public interface dkContentDef

This class defines the characteristics of the content


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
 

Method Detail

getId

public int getId()
Gets the Id for the content for DL, it is the content class Id
Returns:
the content Id

setId

public void setId(int id)
Sets the Id for the content for DL, it is the content class Id
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
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
Parameters:
aType - the name of the content's type

getDescription

public java.lang.String getDescription()
Gets the description of the content
Returns:
a description of the content

setDescription

public void setDescription(java.lang.String desc)
Sets the description of the content
Parameters:
desc - a description of the content

getMimeType

public java.lang.String getMimeType()
Gets the mime type of the content
Returns:
a mime type of the content

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets the mime type of the content
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
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
Parameters:
fext - a file extension name

EIP Java APIs

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