com.ibm.commerce.adapter
Class DeviceFormatAdapterDesc

java.lang.Object
  |
  +--com.ibm.commerce.adapter.DeviceFormatAdapterDesc
Direct Known Subclasses:
HttpAdapterDesc

public class DeviceFormatAdapterDesc
extends java.lang.Object

DeviceFormatAdapterDesc is a base class that describes a device adapter.


Field Summary
static java.lang.String DEVFMT_ENABLED
           
static java.lang.String DEVFMT_FACTORYCLASSNAME
           
static java.lang.String DEVFMT_ID
           
static java.lang.String DEVFMT_NAME
           
static java.lang.String DEVFMT_TYPE
           
static java.lang.String DEVFMT_TYPEID
           
protected  java.lang.Class devfmtClass
           
protected  java.lang.Integer devfmtId
           
protected  java.lang.String devfmtName
           
protected  java.lang.String devfmtType
           
protected  java.lang.Integer devfmtTypeId
           
protected  boolean isEnabled
           
 
Constructor Summary
DeviceFormatAdapterDesc()
          HttpAdapterDesc constructor.
 
Method Summary
 java.lang.Class getDeviceFormatClass()
          Returns a Class object that is used to instantiate an adapter describe by this adapter descriptor.
 java.lang.Integer getDeviceFormatId()
          Gets the device format Id for this adapter.
 java.lang.String getDeviceFormatName()
          Gets the device format name for this adapter.
 java.lang.String getDeviceFormatType()
          Gets the device format type name for this adapter.
 java.lang.Integer getDeviceFormatTypeId()
          Gets the device format type Id for this adapter.
 void init(com.ibm.commerce.adapter.Element node)
          Initialize this descripter based on information that is defined in a dom node associated with this adapter
 boolean isEnabled()
          Returns true if this adapter is enabled.
 void setDeviceFormatClass(java.lang.Class value)
          Sets the device format clas for this adapter.
 void setDeviceFormatId(java.lang.Integer value)
          Sets the device format Id for this adapter.
 void setDeviceFormatName(java.lang.String value)
          Sets the device format name for this adapter.
 void setDeviceFormatType(java.lang.String value)
          Sets the device format type name for this adapter.
 void setDeviceFormatTypeId(java.lang.Integer value)
          Sets the device format type Id for this adapter.
 void setIsEnabled(boolean value)
          Sets the isEnabled flag for this this adapter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEVFMT_ENABLED

public static final java.lang.String DEVFMT_ENABLED

DEVFMT_FACTORYCLASSNAME

public static final java.lang.String DEVFMT_FACTORYCLASSNAME

DEVFMT_ID

public static final java.lang.String DEVFMT_ID

DEVFMT_NAME

public static final java.lang.String DEVFMT_NAME

DEVFMT_TYPE

public static final java.lang.String DEVFMT_TYPE

DEVFMT_TYPEID

public static final java.lang.String DEVFMT_TYPEID

devfmtClass

protected java.lang.Class devfmtClass

devfmtId

protected java.lang.Integer devfmtId

devfmtName

protected java.lang.String devfmtName

devfmtType

protected java.lang.String devfmtType

devfmtTypeId

protected java.lang.Integer devfmtTypeId

isEnabled

protected boolean isEnabled
Constructor Detail

DeviceFormatAdapterDesc

public DeviceFormatAdapterDesc()
HttpAdapterDesc constructor.
Method Detail

getDeviceFormatClass

public final java.lang.Class getDeviceFormatClass()
Returns a Class object that is used to instantiate an adapter describe by this adapter descriptor.

getDeviceFormatId

public final java.lang.Integer getDeviceFormatId()
Gets the device format Id for this adapter.

Returns:
Integer - the device format id

getDeviceFormatName

public final java.lang.String getDeviceFormatName()
Gets the device format name for this adapter.

Returns:
String - the device format name

getDeviceFormatType

public final java.lang.String getDeviceFormatType()
Gets the device format type name for this adapter.

Returns:
String - the device format type name

getDeviceFormatTypeId

public final java.lang.Integer getDeviceFormatTypeId()
Gets the device format type Id for this adapter.

Returns:
Integer - the device format type id

init

public void init(com.ibm.commerce.adapter.Element node)
          throws java.lang.Exception
Initialize this descripter based on information that is defined in a dom node associated with this adapter

Parameters:
Element - - a dom node associated with this adapter

isEnabled

public final boolean isEnabled()
Returns true if this adapter is enabled.

setDeviceFormatClass

public final void setDeviceFormatClass(java.lang.Class value)
Sets the device format clas for this adapter.

Parameters:
value - Class - the class object associated with this adapter

setDeviceFormatId

public final void setDeviceFormatId(java.lang.Integer value)
Sets the device format Id for this adapter.

Parameters:
value - Integer - the device format id

setDeviceFormatName

public final void setDeviceFormatName(java.lang.String value)
Sets the device format name for this adapter.

Parameters:
value - String - the device format name

setDeviceFormatType

public final void setDeviceFormatType(java.lang.String value)
Sets the device format type name for this adapter.

Parameters:
value - String - the device format type name

setDeviceFormatTypeId

public final void setDeviceFormatTypeId(java.lang.Integer value)
Sets the device format type Id for this adapter.

Parameters:
value - Integer - the device format type id

setIsEnabled

public final void setIsEnabled(boolean value)
Sets the isEnabled flag for this this adapter.

Parameters:
value - boolean