org.opencms.workplace
Class CmsWorkplaceUserInfoEntry

java.lang.Object
  extended by org.opencms.workplace.CmsWorkplaceUserInfoEntry

public final class CmsWorkplaceUserInfoEntry
extends java.lang.Object

Represents an user additional information entry.

Since:
6.5.6
Version:
$Revision: 1.6 $
Author:
Michael Moossen

Constructor Summary
CmsWorkplaceUserInfoEntry(java.lang.String key, java.lang.String type, java.lang.String widget, java.lang.String params, java.lang.String optional)
          Default constructor.
 
Method Summary
 java.lang.Class getClassType()
          Returns the class type.
 java.lang.String getKey()
          Returns the key.
 java.lang.String getOptional()
          Returns the optional flag.
 java.lang.String getParams()
          Returns the configured widget parameters.
 java.lang.String getType()
          Returns the configured class name type.
 java.lang.String getWidget()
          Returns the widget class name.
 I_CmsWidget getWidgetObject()
          Returns a new widget object.
 boolean isOptional()
          Returns the optional flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsWorkplaceUserInfoEntry

public CmsWorkplaceUserInfoEntry(java.lang.String key,
                                 java.lang.String type,
                                 java.lang.String widget,
                                 java.lang.String params,
                                 java.lang.String optional)
Default constructor.

Parameters:
key - the key for this entry
type - the class name of the stored data type
widget - the widget to use
params - the widget parameters
optional - if this entry is optional
Method Detail

getKey

public java.lang.String getKey()
Returns the key.

Returns:
the key

getWidget

public java.lang.String getWidget()
Returns the widget class name.

Returns:
the widget class name

getWidgetObject

public I_CmsWidget getWidgetObject()
Returns a new widget object.

Returns:
a new widget object

getOptional

public java.lang.String getOptional()
Returns the optional flag.

Returns:
the optional flag

isOptional

public boolean isOptional()
Returns the optional flag.

Returns:
the optional flag

getParams

public java.lang.String getParams()
Returns the configured widget parameters.

Returns:
the configured widget parameters

getType

public java.lang.String getType()
Returns the configured class name type.

Returns:
the configured class name type

getClassType

public java.lang.Class getClassType()
Returns the class type.

Returns:
the class type