org.kuali.rice.kns.datadictionary
Class MaintainableFieldDefinition

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
      extended by org.kuali.rice.kns.datadictionary.MaintainableItemDefinition
          extended by org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition
All Implemented Interfaces:
Serializable, FieldDefinitionI, DataDictionaryDefinition, org.springframework.beans.factory.InitializingBean

Deprecated.

@Deprecated
public class MaintainableFieldDefinition
extends MaintainableItemDefinition
implements FieldDefinitionI

The maintainableField element defines the specifications for one data field. JSTL: maintainableField is a Map accessed by the field name. It contains entries with the following keys: field (boolean String) name (String) required (boolean String) name is the name of the field required is true if the field must contain a non-null value readOnly is true if it cannot be updated template documentation from MaintenanceUtils.java: Field templates are used in relation to multiple value lookups. When doing a MV lookup on a collection, the returned BOs are not necessarily of the same type as the elements of the collection. Therefore, a means of mapping between the fields for the 2 BOs are necessary. The template attribute of contained within tells us this mapping. Example: means that when a list of BOs are returned, the lookupBOAttrib value of the looked up BO will be placed into the collectionAttrib value of the BO added to the collection webUILeaveFieldFunction is the name of a javascript function to called when when the user tabs out of the field. webUILeaveFieldCallbackFunction This is the call javascript function related to the webUILeaveFieldFunction. readOnlyAfterAdd This is used to indicate that the field is read-only after the record has been initially created.

See Also:
Serialized Form

Field Summary
protected  String additionalDisplayAttributeName
          Deprecated.  
protected  String alternateDisplayAttributeName
          Deprecated.  
protected  String defaultValue
          Deprecated.  
protected  Class<? extends ValueFinder> defaultValueFinderClass
          Deprecated.  
protected  String fieldLevelHelpUrl
          Deprecated.  
protected  boolean lookupReadOnly
          Deprecated.  
protected  boolean noLookup
          Deprecated.  
protected  String overrideFieldConversions
          Deprecated.  
protected  Class<? extends BusinessObject> overrideLookupClass
          Deprecated.  
protected  boolean readOnlyAfterAdd
          Deprecated.  
protected  boolean required
          Deprecated.  
protected  Boolean showFieldLevelHelp
          Deprecated.  
protected  String template
          Deprecated.  
protected  boolean triggerOnChange
          Deprecated.  
protected  boolean unconditionallyReadOnly
          Deprecated.  
protected  String webUILeaveFieldCallbackFunction
          Deprecated.  
protected  String webUILeaveFieldFunction
          Deprecated.  
protected  List<String> webUILeaveFieldFunctionParameters
          Deprecated.  
 
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
id
 
Constructor Summary
MaintainableFieldDefinition()
          Deprecated.  
 
Method Summary
 void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
          Deprecated. Directly validate simple fields.
 String getAdditionalDisplayAttributeName()
          Deprecated. The additionalDisplayAttributeName is the name of the attribute whose value will be displayed in addition to the actual maintenance field attribute.
 String getAlternateDisplayAttributeName()
          Deprecated. The alternateDisplayAttributeName is the name of the attribute whose value will be displayed instead of the actual maintenance field attribute.
 String getDefaultValue()
          Deprecated.  
 Class<? extends ValueFinder> getDefaultValueFinderClass()
          Deprecated.  
 String getFieldLevelHelpUrl()
          Deprecated.  
 String getOverrideFieldConversions()
          Deprecated. Gets the overrideFieldConversions attribute.
 Class<? extends BusinessObject> getOverrideLookupClass()
          Deprecated. Gets the overrideLookupClass attribute.
 String getTemplate()
          Deprecated.  
 String getWebUILeaveFieldCallbackFunction()
          Deprecated.  
 String getWebUILeaveFieldFunction()
          Deprecated.  
 List<String> getWebUILeaveFieldFunctionParameters()
          Deprecated.  
 boolean isLookupReadOnly()
          Deprecated.  
 boolean isNoLookup()
          Deprecated.  
 boolean isReadOnlyAfterAdd()
          Deprecated.  
 boolean isRequired()
          Deprecated.  
 Boolean isShowFieldLevelHelp()
          Deprecated.  
 boolean isTriggerOnChange()
          Deprecated.  
 boolean isUnconditionallyReadOnly()
          Deprecated.  
 void setAdditionalDisplayAttributeName(String additionalDisplayAttributeName)
          Deprecated.  
 void setAlternateDisplayAttributeName(String alternateDisplayAttributeName)
          Deprecated.  
 void setDefaultValue(String defaultValue)
          Deprecated. The defaultValue element will pre-load the specified value into the lookup field.
 void setDefaultValueFinderClass(Class<? extends ValueFinder> defaultValueFinderClass)
          Deprecated. The defaultValueFinderClass specifies the java class that will be used to determine the default value of a lookup field.
 void setFieldLevelHelpUrl(String fieldLevelHelpUrl)
          Deprecated.  
 void setLookupReadOnly(boolean lookupReadOnly)
          Deprecated.  
 void setNoLookup(boolean noLookup)
          Deprecated.  
 void setOverrideFieldConversions(String overrideFieldConversions)
          Deprecated. Single value lookups expect field conversions to be passed in as a HTTP parameter when the lookups is invoked from a quickfinder icon (i.e.
 void setOverrideLookupClass(Class<? extends BusinessObject> overrideLookupClass)
          Deprecated. The overrideLookupClass element is used to indicate the class that should be used for the magnifying glass lookup.
 void setReadOnlyAfterAdd(boolean readOnlyAfterAdd)
          Deprecated. This is used to indicate that the field is read-only after the record has been initially created.
 void setRequired(boolean required)
          Deprecated. required is true if the field must contain a non-null value
 void setShowFieldLevelHelp(Boolean showFieldLevelHelp)
          Deprecated.  
 void setTemplate(String template)
          Deprecated. template documentation from MaintenanceUtils.java: Field templates are used in relation to multiple value lookups.
 void setTriggerOnChange(boolean triggerOnChange)
          Deprecated.  
 void setUnconditionallyReadOnly(boolean unconditionallyReadOnly)
          Deprecated.  
 void setWebUILeaveFieldCallbackFunction(String webUILeaveFieldCallbackFunction)
          Deprecated. webUILeaveFieldCallbackFunction This is the call javascript function related to the webUILeaveFieldFunction.
 void setWebUILeaveFieldFunction(String webUILeaveFieldFunction)
          Deprecated. webUILeaveFieldFunction is the name of a javascript function to called when when the user tabs out of the field.
 void setWebUILeaveFieldFunctionParameters(List<String> webUILeaveFieldFunctionParameters)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class org.kuali.rice.kns.datadictionary.MaintainableItemDefinition
getName, setName
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
afterPropertiesSet, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.datadictionary.FieldDefinitionI
getName
 

Field Detail

required

protected boolean required
Deprecated. 

unconditionallyReadOnly

protected boolean unconditionallyReadOnly
Deprecated. 

readOnlyAfterAdd

protected boolean readOnlyAfterAdd
Deprecated. 

noLookup

protected boolean noLookup
Deprecated. 

lookupReadOnly

protected boolean lookupReadOnly
Deprecated. 

defaultValue

protected String defaultValue
Deprecated. 

template

protected String template
Deprecated. 

defaultValueFinderClass

protected Class<? extends ValueFinder> defaultValueFinderClass
Deprecated. 

webUILeaveFieldFunction

protected String webUILeaveFieldFunction
Deprecated. 

webUILeaveFieldCallbackFunction

protected String webUILeaveFieldCallbackFunction
Deprecated. 

webUILeaveFieldFunctionParameters

protected List<String> webUILeaveFieldFunctionParameters
Deprecated. 

overrideLookupClass

protected Class<? extends BusinessObject> overrideLookupClass
Deprecated. 

overrideFieldConversions

protected String overrideFieldConversions
Deprecated. 

alternateDisplayAttributeName

protected String alternateDisplayAttributeName
Deprecated. 

additionalDisplayAttributeName

protected String additionalDisplayAttributeName
Deprecated. 

triggerOnChange

protected boolean triggerOnChange
Deprecated. 

showFieldLevelHelp

protected Boolean showFieldLevelHelp
Deprecated. 

fieldLevelHelpUrl

protected String fieldLevelHelpUrl
Deprecated. 
Constructor Detail

MaintainableFieldDefinition

public MaintainableFieldDefinition()
Deprecated. 
Method Detail

isRequired

public boolean isRequired()
Deprecated. 
Returns:
true if this attribute is required

setRequired

public void setRequired(boolean required)
Deprecated. 
required is true if the field must contain a non-null value


getDefaultValue

public String getDefaultValue()
Deprecated. 
Returns:
Returns the defaultValue.

setDefaultValue

public void setDefaultValue(String defaultValue)
Deprecated. 
The defaultValue element will pre-load the specified value into the lookup field.


getDefaultValueFinderClass

public Class<? extends ValueFinder> getDefaultValueFinderClass()
Deprecated. 
Returns:
custom defaultValue class

isUnconditionallyReadOnly

public boolean isUnconditionallyReadOnly()
Deprecated. 
Returns:
the unconditionallyReadOnly

setUnconditionallyReadOnly

public void setUnconditionallyReadOnly(boolean unconditionallyReadOnly)
Deprecated. 
Parameters:
unconditionallyReadOnly - the unconditionallyReadOnly to set

getOverrideFieldConversions

public String getOverrideFieldConversions()
Deprecated. 
Gets the overrideFieldConversions attribute.

Returns:
Returns the overrideFieldConversions.

setOverrideFieldConversions

public void setOverrideFieldConversions(String overrideFieldConversions)
Deprecated. 
Single value lookups expect field conversions to be passed in as a HTTP parameter when the lookups is invoked from a quickfinder icon (i.e. magnifying glass on page). Field conversions are normally used to determine which fields will be returned when the "return value" link is clicked. For example, if we're performing a quickfinder lookup and the field conversion string "a:document.someObject.a1,b:document.someObject.b1" is passed into the lookup, this means that when we click on a lookup result row to be returned: the value of property "a" from the selected result bo will be passed as the value of the HTTP parameter named "document.someObject.a1", which, in turn, populates the POJO property of the same name on the form the value of property "b" from the selected result bo will be passed as the value of the HTTP parameter named "document.someObject.b1", which, in turn, populates the POJO property of the same name on the form Normally, the field conversion string is automatically computed by the framework to return all of the primary key values of the looked up BO into the corresponding foreign key values of the destination BO (i.e. document.someObject in the example above). However, putting in this element will allow for the overriding of the field conversions string.


getOverrideLookupClass

public Class<? extends BusinessObject> getOverrideLookupClass()
Deprecated. 
Gets the overrideLookupClass attribute.

Returns:
Returns the overrideLookupClass.

completeValidation

public void completeValidation(Class rootBusinessObjectClass,
                               Class otherBusinessObjectClass)
Deprecated. 
Directly validate simple fields.

Specified by:
completeValidation in interface DataDictionaryDefinition
Parameters:
rootBusinessObjectClass - Class of the BusinessObjectEntry which ultimately contains this definition
otherBusinessObjectClass - other stuff required to complete validation
See Also:
org.kuali.rice.krad.datadictionary.DataDictionaryDefinition#completeValidation(java.lang.Class, java.lang.Object)

toString

public String toString()
Deprecated. 
Overrides:
toString in class MaintainableItemDefinition
See Also:
Object.toString()

getTemplate

public String getTemplate()
Deprecated. 

setTemplate

public void setTemplate(String template)
Deprecated. 
template documentation from MaintenanceUtils.java: Field templates are used in relation to multiple value lookups. When doing a MV lookup on a collection, the returned BOs are not necessarily of the same type as the elements of the collection. Therefore, a means of mapping between the fields for the 2 BOs are necessary. The template attribute of contained within tells us this mapping. Example: means that when a list of BOs are returned, the lookupBOAttrib value of the looked up BO will be placed into the collectionAttrib value of the BO added to the collection


getWebUILeaveFieldCallbackFunction

public String getWebUILeaveFieldCallbackFunction()
Deprecated. 

setWebUILeaveFieldCallbackFunction

public void setWebUILeaveFieldCallbackFunction(String webUILeaveFieldCallbackFunction)
Deprecated. 
webUILeaveFieldCallbackFunction This is the call javascript function related to the webUILeaveFieldFunction.


getWebUILeaveFieldFunction

public String getWebUILeaveFieldFunction()
Deprecated. 

setWebUILeaveFieldFunction

public void setWebUILeaveFieldFunction(String webUILeaveFieldFunction)
Deprecated. 
webUILeaveFieldFunction is the name of a javascript function to called when when the user tabs out of the field.


isReadOnlyAfterAdd

public boolean isReadOnlyAfterAdd()
Deprecated. 
Specified by:
isReadOnlyAfterAdd in interface FieldDefinitionI

setReadOnlyAfterAdd

public void setReadOnlyAfterAdd(boolean readOnlyAfterAdd)
Deprecated. 
This is used to indicate that the field is read-only after the record has been initially created.


setDefaultValueFinderClass

public void setDefaultValueFinderClass(Class<? extends ValueFinder> defaultValueFinderClass)
Deprecated. 
The defaultValueFinderClass specifies the java class that will be used to determine the default value of a lookup field. The classname specified in this field must implement ValueFinder


setOverrideLookupClass

public void setOverrideLookupClass(Class<? extends BusinessObject> overrideLookupClass)
Deprecated. 
The overrideLookupClass element is used to indicate the class that should be used for the magnifying glass lookup. The specified class must be a subclass of the business object class.


isNoLookup

public boolean isNoLookup()
Deprecated. 
Returns:
the noLookup

setNoLookup

public void setNoLookup(boolean noLookup)
Deprecated. 
Parameters:
noLookup - the noLookup to set

isLookupReadOnly

public boolean isLookupReadOnly()
Deprecated. 

setLookupReadOnly

public void setLookupReadOnly(boolean lookupReadOnly)
Deprecated. 

isShowFieldLevelHelp

public Boolean isShowFieldLevelHelp()
Deprecated. 

setShowFieldLevelHelp

public void setShowFieldLevelHelp(Boolean showFieldLevelHelp)
Deprecated. 

getFieldLevelHelpUrl

public String getFieldLevelHelpUrl()
Deprecated. 

setFieldLevelHelpUrl

public void setFieldLevelHelpUrl(String fieldLevelHelpUrl)
Deprecated. 

getAlternateDisplayAttributeName

public String getAlternateDisplayAttributeName()
Deprecated. 
The alternateDisplayAttributeName is the name of the attribute whose value will be displayed instead of the actual maintenance field attribute. Only applies when field is read-only.

Specified by:
getAlternateDisplayAttributeName in interface FieldDefinitionI

setAlternateDisplayAttributeName

public void setAlternateDisplayAttributeName(String alternateDisplayAttributeName)
Deprecated. 

getAdditionalDisplayAttributeName

public String getAdditionalDisplayAttributeName()
Deprecated. 
The additionalDisplayAttributeName is the name of the attribute whose value will be displayed in addition to the actual maintenance field attribute. Only applies when field is read-only.

Specified by:
getAdditionalDisplayAttributeName in interface FieldDefinitionI

setAdditionalDisplayAttributeName

public void setAdditionalDisplayAttributeName(String additionalDisplayAttributeName)
Deprecated. 

isTriggerOnChange

public boolean isTriggerOnChange()
Deprecated. 

setTriggerOnChange

public void setTriggerOnChange(boolean triggerOnChange)
Deprecated. 

getWebUILeaveFieldFunctionParameters

public List<String> getWebUILeaveFieldFunctionParameters()
Deprecated. 
Returns:
the webUILeaveFieldFunctionParameters

setWebUILeaveFieldFunctionParameters

public void setWebUILeaveFieldFunctionParameters(List<String> webUILeaveFieldFunctionParameters)
Deprecated. 
Parameters:
webUILeaveFieldFunctionParameters - the webUILeaveFieldFunctionParameters to set


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.