com.ibm.di.config.base
Class SchemaItemConfigImpl

java.lang.Object
  extended by com.ibm.di.config.base.BaseConfigurationImpl
      extended by com.ibm.di.config.base.SchemaItemConfigImpl
All Implemented Interfaces:
BaseConfiguration, MetamergeConfigChangeListener, SchemaItemConfig, Serializable

public class SchemaItemConfigImpl
extends BaseConfigurationImpl
implements SchemaItemConfig

Describes the configuration of an item from a chema

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl
NAME
 
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SUBTREE
 
Constructor Summary
SchemaItemConfigImpl()
           
SchemaItemConfigImpl(Object config)
           
 
Method Summary
 String getAttributeName()
          Gets the attributeName attribute of the SchemaItemConfig object
 Object getClone()
          Return self clone
 String getExternalSyntax()
          Gets the externalSyntax attribute of the SchemaItemConfig object
 String getJavaClass()
          Gets the java class used internally for the value
 String getPresenceFlag()
          Gets the presence flag of the SchemaItemConfig object.
 Object getSample()
          Returns the sample value
 void setAttributeName(String name)
          Sets the attributeName attribute of the SchemaItemConfig object
 void setExternalSyntax(String syntax)
          Sets the externalSyntax attribute of the SchemaItemConfig object
 void setJavaClass(String className)
          Sets the java class name of the SchemaItemConfig object
 void setPresenceFlag(String presence)
          Sets the presence flag of the SchemaItemConfig object
 void setSample(Object sample)
          Sets the sample value
 
Methods inherited from class com.ibm.di.config.base.BaseConfigurationImpl
addListener, configurationChanged, deepClone, expandPropertyValue, expandPropertyValue, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterPropertySourceFromValue, getParameterRaw, getParent, getParentName, getPath, getReferences, getResHash, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isParameterLocal, nameForChild, notifyChange, notifyChange, performNotifyChange, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, toString, updateInheritsFrom, willExpandProps, willFlatten, willUseInherited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isParameterLocal, nameForChild, notifyChange, notifyChange, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
 

Constructor Detail

SchemaItemConfigImpl

public SchemaItemConfigImpl()

SchemaItemConfigImpl

public SchemaItemConfigImpl(Object config)
Method Detail

getAttributeName

public String getAttributeName()
Gets the attributeName attribute of the SchemaItemConfig object

Specified by:
getAttributeName in interface SchemaItemConfig
Returns:
The name of the attribute item

setAttributeName

public void setAttributeName(String name)
Sets the attributeName attribute of the SchemaItemConfig object

Specified by:
setAttributeName in interface SchemaItemConfig
Parameters:
name - The new attributeName value

getJavaClass

public String getJavaClass()
Gets the java class used internally for the value

Specified by:
getJavaClass in interface SchemaItemConfig
Returns:
The java class name

setJavaClass

public void setJavaClass(String className)
Sets the java class name of the SchemaItemConfig object

Specified by:
setJavaClass in interface SchemaItemConfig
Parameters:
className - The new java class value

getExternalSyntax

public String getExternalSyntax()
Gets the externalSyntax attribute of the SchemaItemConfig object

Specified by:
getExternalSyntax in interface SchemaItemConfig
Returns:
The externalSyntax value

setExternalSyntax

public void setExternalSyntax(String syntax)
Sets the externalSyntax attribute of the SchemaItemConfig object

Specified by:
setExternalSyntax in interface SchemaItemConfig
Parameters:
syntax - The new externalSyntax value

getPresenceFlag

public String getPresenceFlag()
Gets the presence flag of the SchemaItemConfig object. The presence flag indicates to the user whether it is required or optional.

Specified by:
getPresenceFlag in interface SchemaItemConfig
Returns:
The presence value

setPresenceFlag

public void setPresenceFlag(String presence)
Sets the presence flag of the SchemaItemConfig object

Specified by:
setPresenceFlag in interface SchemaItemConfig
Parameters:
presence - The new presence value

getSample

public Object getSample()
Returns the sample value

Specified by:
getSample in interface SchemaItemConfig

setSample

public void setSample(Object sample)
Sets the sample value

Specified by:
setSample in interface SchemaItemConfig

getClone

public Object getClone()
                throws Exception
Return self clone

Specified by:
getClone in interface BaseConfiguration
Overrides:
getClone in class BaseConfigurationImpl
Throws:
Exception