com.ibm.ecm.configuration
Class InterfaceTextConfig
- java.lang.Object
- com.ibm.ecm.configuration.ConfigurationObject
- com.ibm.ecm.configuration.InterfaceTextConfig
- public class InterfaceTextConfig
- extends ConfigurationObject
Field Summary
Modifier and Type | Field and Description |
---|---|
|
LABEL_DATA
|
|
LOCALE_DATA
|
Fields inherited from class com.ibm.ecm.configuration.ConfigurationObject |
---|
ARRAY_DELIMITER, cloned, KEY_DELIMITER, LIST_ESC_CHAR, LIST_ESCAPE, LIST_SEPARATOR, MODIFIER, properties |
Constructor Summary
Constructor and Description |
---|
InterfaceTextConfig(org.apache.commons.configuration.Configuration configuration,java.lang.String idPrefix,java.lang.String id)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getClassicLabelKey()
|
|
getDataType(java.lang.String key)
|
|
getDesktopId()
|
|
getDisplayedIn()
|
getLabelData()
|
|
|
getLabelKey()
|
getLocaleData()
|
|
|
getObjectType()
|
|
getRepositoryId()
|
|
getRepositoryType()
|
|
getTooltipKey()
|
|
getType()
|
|
isTypeAction()
|
|
setClassicLabelKey(java.lang.String classicLabelKey)
|
|
setDesktopId(java.lang.String id)
|
|
setDisplayedIn(java.lang.String displayedIn)
|
|
setLabelKey(java.lang.String labelKey)
|
|
setRepositoryId(java.lang.String id)
|
|
setRepositoryType(java.lang.String type)
|
|
setTooltipKey(java.lang.String tooltipKey)
|
|
setType(java.lang.String type)
|
|
setUserData(java.lang.String[] userData)
|
|
skipThisPropertyWhenSaving(java.lang.String key)
propertiesToString has been removed and replaced by this method.
|
Methods inherited from class com.ibm.ecm.configuration.ConfigurationObject |
---|
addValueToList, arrayToString, covertEmptyStringtoNull, delete, dump, getConfigurationObject, getDataTypeValue, getIdPrefix, getKey, getList, getMap, getName, getObjectId, getPropertyNames, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, isEmpty, load, propertiesToString, removeValuesFromList, removeValuesFromList, save, setDefaultValue, setProperty, setValues, setValues, setValues, stringToArray, stringToList, toJSON, toString, writeConfigurationToFile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
LOCALE_DATA
- public static final java.lang.String LOCALE_DATA
See Also:
LABEL_DATA
- public static final java.lang.String LABEL_DATA
See Also:
Constructor Detail
InterfaceTextConfig
- public InterfaceTextConfig(org.apache.commons.configuration.Configuration configuration,
- java.lang.String idPrefix,
- java.lang.String id)
Method Detail
getObjectType
- public java.lang.String getObjectType( )
Abstract method to return object type.
Specified by:
getObjectType
in class ConfigurationObject
Returns:
a string object type back, for example "desktop", "repository"...
getDataType
- protected java.lang.Class getDataType( java.lang.String key)
Description copied from class:
ConfigurationObject
Returns the datatype of a configuration property. This is implemented in subclasses and is used to properly
serialize the properties. The default implementation returns null which indicates that compatible behavior should
be used, which inspects the property value itself and guesses at the type of the property.
Overrides:
getDataType
in class ConfigurationObject
Returns:
a Class instance describing the datatype of the property.
getLocaleData
- public InterfaceTextLocaleConfig getLocaleData( )
getLabelData
- public InterfaceTextLabelConfig getLabelData( )
skipThisPropertyWhenSaving
- protected boolean skipThisPropertyWhenSaving( java.lang.String key)
propertiesToString has been removed and replaced by this method. We don't need to two methods to do saving just
in case other developers are not aware of it and made changes to the main but not the derived class one.
Overrides:
Parameters:
key
- - A string value of property name. Returns:
a boolean value, true to skip this property in saving and false is otherwise.
getLabelKey
- public java.lang.String getLabelKey( )
setLabelKey
- public void setLabelKey(java.lang.String labelKey)
getTooltipKey
- public java.lang.String getTooltipKey( )
setTooltipKey
- public void setTooltipKey(java.lang.String tooltipKey)
getType
- public java.lang.String getType( )
setType
- public void setType(java.lang.String type)
isTypeAction
- public boolean isTypeAction()
getRepositoryType
- public java.lang.String getRepositoryType( )
setRepositoryType
- public void setRepositoryType(java.lang.String type)
getRepositoryId
- public java.lang.String getRepositoryId( )
setRepositoryId
- public void setRepositoryId(java.lang.String id)
getDesktopId
- public java.lang.String getDesktopId( )
setDesktopId
- public void setDesktopId(java.lang.String id)
getDisplayedIn
- public java.lang.String getDisplayedIn( )
setDisplayedIn
- public void setDisplayedIn(java.lang.String displayedIn)
getClassicLabelKey
- public java.lang.String getClassicLabelKey( )
setClassicLabelKey
- public void setClassicLabelKey( java.lang.String classicLabelKey)
setUserData
- public void setUserData(java.lang.String[] userData)
ConfigurationObject