Field subclasses.@Deprecated public class FieldDefinition extends DataDictionaryDefinitionBase implements FieldDefinitionI
| Modifier and Type | Field and Description | 
|---|---|
| protected String | additionalDisplayAttributeNameDeprecated.  | 
| protected String | alternateDisplayAttributeNameDeprecated.  | 
| protected String | attributeNameDeprecated.  | 
| protected String | defaultValueDeprecated.  | 
| protected Class<? extends ValueFinder> | defaultValueFinderClassDeprecated.  | 
| protected String | displayEditModeDeprecated.  | 
| protected Mask | displayMaskDeprecated.  | 
| protected boolean | forceInquiryDeprecated.  | 
| protected boolean | forceLookupDeprecated.  | 
| protected boolean | hiddenDeprecated.  | 
| protected Integer | maxLengthDeprecated.  | 
| protected boolean | noDirectInquiryDeprecated.  | 
| protected boolean | noInquiryDeprecated.  | 
| protected boolean | noLookupDeprecated.  | 
| protected String | quickfinderParameterStringDeprecated.  | 
| protected Class<? extends ValueFinder> | quickfinderParameterStringBuilderClassDeprecated.  | 
| protected boolean | readOnlyDeprecated.  | 
| protected boolean | requiredDeprecated.  | 
| protected boolean | totalDeprecated.  | 
| protected boolean | treatWildcardsAndOperatorsAsLiteralDeprecated.  | 
| protected boolean | triggerOnChangeDeprecated.  | 
| protected boolean | useShortLabelDeprecated.  | 
embeddedDataObjectMetadata, generatedFromMetadata, idcomponentCode, namespaceCode| Constructor and Description | 
|---|
| FieldDefinition()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | completeValidation(Class rootBusinessObjectClass,
                                    Class otherBusinessObjectClass)Deprecated.  Directly validate simple fields. | 
| String | getAdditionalDisplayAttributeName()Deprecated.  | 
| String | getAlternateDisplayAttributeName()Deprecated.  | 
| String | getAttributeName()Deprecated.  | 
| String | getDefaultValue()Deprecated.  | 
| Class<? extends ValueFinder> | getDefaultValueFinderClass()Deprecated.  | 
| String | getDisplayEditMode()Deprecated.  | 
| Mask | getDisplayMask()Deprecated.  | 
| Integer | getMaxLength()Deprecated.  Gets the maxLength attribute. | 
| String | getName()Deprecated.  | 
| String | getQuickfinderParameterString()Deprecated.  the quickfinderParameterString is a comma separated list of parameter/value pairs, of the format
 "param1=value1,param2=value2", where the parameters correspond to attributes of the target class
 for the quickfinder, and the values to literals that those attributes will default to when the
 quickfinder is used. | 
| Class<? extends ValueFinder> | getQuickfinderParameterStringBuilderClass()Deprecated.  the quickfinderParameterStringBuilderClass specifies the java class that will be used
 to determine the default value(s) for field(s) on the target lookup when the quickfinder
 is used. | 
| boolean | isForceInquiry()Deprecated.  | 
| boolean | isForceLookup()Deprecated.  | 
| boolean | isHidden()Deprecated.  | 
| boolean | isNoDirectInquiry()Deprecated.  | 
| boolean | isNoInquiry()Deprecated.  | 
| boolean | isNoLookup()Deprecated.  | 
| boolean | isReadOnly()Deprecated.  | 
| boolean | isReadOnlyAfterAdd()Deprecated.  | 
| boolean | isRequired()Deprecated.  | 
| boolean | isTotal()Deprecated.  | 
| boolean | isTreatWildcardsAndOperatorsAsLiteral()Deprecated.  | 
| boolean | isTriggerOnChange()Deprecated.  | 
| boolean | isUseShortLabel()Deprecated.  | 
| void | setAdditionalDisplayAttributeName(String additionalDisplayAttributeName)Deprecated.  | 
| void | setAlternateDisplayAttributeName(String alternateDisplayAttributeName)Deprecated.  | 
| void | setAttributeName(String attributeName)Deprecated.  Sets attributeName to the given value. | 
| void | setDefaultValue(String defaultValue)Deprecated.  The defaultValue element will pre-load the specified value
           into the 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 field. | 
| void | setDisplayEditMode(String displayEditMode)Deprecated.  | 
| void | setDisplayMask(Mask displayMask)Deprecated.  The displayMask element specifies the type of masking to
                    be used to hide the value from un-authorized users. | 
| void | setForceInquiry(boolean forceInquiry)Deprecated.  forceInquiry = true means that the displayed field value will
                    always be made inquirable (this attribute is not used within the code). | 
| void | setForceLookup(boolean forceLookup)Deprecated.  forceLookup = this attribute is not used | 
| void | setHidden(boolean hidden)Deprecated.  | 
| void | setMaxLength(Integer maxLength)Deprecated.  maxLength = the maximum allowable length of the field in the lookup result fields. | 
| void | setNoDirectInquiry(boolean noDirectInquiry)Deprecated.  | 
| void | setNoInquiry(boolean noInquiry)Deprecated.  noInquiry = true means that the displayed field will never be made inquirable. | 
| void | setNoLookup(boolean noLookup)Deprecated.  noLookup = true means that field should not include magnifying glass (i.e. | 
| void | setQuickfinderParameterString(String quickfinderParameterString)Deprecated.  | 
| void | setQuickfinderParameterStringBuilderClass(Class<? extends ValueFinder> quickfinderParameterStringBuilderClass)Deprecated.  | 
| void | setReadOnly(boolean readOnly)Deprecated.  | 
| void | setRequired(boolean required)Deprecated.  required = true means that the user must enter something
                        into the search criterion lookup field | 
| void | setTotal(boolean total)Deprecated.  | 
| void | setTreatWildcardsAndOperatorsAsLiteral(boolean treatWildcardsAndOperatorsAsLiteralOnLookups)Deprecated.  | 
| void | setTriggerOnChange(boolean triggerOnChange)Deprecated.  | 
| void | setUseShortLabel(boolean useShortLabel)Deprecated.  | 
| String | toString()Deprecated.  | 
completeValidation, getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadataclone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdataDictionaryPostProcessing, getComponentCode, getNamespaceCodeprotected String attributeName
protected boolean required
protected boolean forceInquiry
protected boolean noInquiry
protected boolean noDirectInquiry
protected boolean forceLookup
protected boolean noLookup
protected boolean useShortLabel
protected String defaultValue
protected Class<? extends ValueFinder> defaultValueFinderClass
protected String quickfinderParameterString
protected Class<? extends ValueFinder> quickfinderParameterStringBuilderClass
protected String displayEditMode
protected Mask displayMask
protected boolean hidden
protected boolean readOnly
protected boolean treatWildcardsAndOperatorsAsLiteral
protected String alternateDisplayAttributeName
protected String additionalDisplayAttributeName
protected boolean triggerOnChange
protected boolean total
public FieldDefinition()
public String getAttributeName()
public void setAttributeName(String attributeName)
attributeName - IllegalArgumentException - if the given attributeName is blankpublic boolean isRequired()
public void setRequired(boolean required)
public boolean isForceInquiry()
public void setForceInquiry(boolean forceInquiry)
public boolean isForceLookup()
public void setForceLookup(boolean forceLookup)
public boolean isNoInquiry()
public boolean isNoDirectInquiry()
public void setNoInquiry(boolean noInquiry)
public void setNoDirectInquiry(boolean noDirectInquiry)
noInquiry - If true, the displayed field will not have a direct
     inquiry facilitypublic boolean isNoLookup()
public void setNoLookup(boolean noLookup)
public boolean isUseShortLabel()
public void setUseShortLabel(boolean useShortLabel)
useShortLabel - the useShortLabel to setpublic String getDefaultValue()
public void setDefaultValue(String defaultValue)
public String getQuickfinderParameterString()
public void setQuickfinderParameterString(String quickfinderParameterString)
quickfinderParameterString - the quickfinderParameterString to set.  See getQuickfinderParameterString()public Class<? extends ValueFinder> getQuickfinderParameterStringBuilderClass()
ValueFinder.  See getQuickfinderParameterString()
 for the result string format.public void setQuickfinderParameterStringBuilderClass(Class<? extends ValueFinder> quickfinderParameterStringBuilderClass)
quickfinderParameterStringBuilderClass - the quickfinderParameterStringBuilderClass to setpublic void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
completeValidation in interface DataDictionaryDefinitioncompleteValidation in class DataDictionaryDefinitionBaserootBusinessObjectClass - Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass - other stuff required to complete validationorg.kuali.rice.krad.datadictionary.DataDictionaryDefinition#completeValidation(java.lang.Class, java.lang.Object)public String toString()
toString in class ObjectObject.toString()public String getName()
getName in interface FieldDefinitionIpublic String getDisplayEditMode()
public void setDisplayEditMode(String displayEditMode)
public Mask getDisplayMask()
public void setDisplayMask(Mask displayMask)
public boolean isReadOnlyAfterAdd()
isReadOnlyAfterAdd in interface FieldDefinitionIpublic Integer getMaxLength()
public void setMaxLength(Integer maxLength)
public Class<? extends ValueFinder> getDefaultValueFinderClass()
public void setDefaultValueFinderClass(Class<? extends ValueFinder> defaultValueFinderClass)
public boolean isHidden()
public void setHidden(boolean hidden)
hidden - If the ControlDefinition.isHidden == true then a corresponding LookupDefinition would
  automatically be removed from the search criteria.  In some cases you might want the
  hidden field to be used as a search criteria.  For example, in PersonImpl.xml a client
  might want to have the campus code hidden and preset to Bloomington.  So when the search
  is run, only people from the bloomington campus are returned.
   So, if you want to have a hidden search criteria, set this variable to true. Defaults to
   false.public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
readOnly - the readOnly to setpublic boolean isTriggerOnChange()
public void setTriggerOnChange(boolean triggerOnChange)
public boolean isTreatWildcardsAndOperatorsAsLiteral()
public void setTreatWildcardsAndOperatorsAsLiteral(boolean treatWildcardsAndOperatorsAsLiteralOnLookups)
treatWildcardsAndOperatorsAsLiteralOnLookups - the treatWildcardsAndOperatorsAsLiteralOnLookups to setpublic String getAlternateDisplayAttributeName()
getAlternateDisplayAttributeName in interface FieldDefinitionIpublic void setAlternateDisplayAttributeName(String alternateDisplayAttributeName)
public String getAdditionalDisplayAttributeName()
getAdditionalDisplayAttributeName in interface FieldDefinitionIpublic void setAdditionalDisplayAttributeName(String additionalDisplayAttributeName)
public boolean isTotal()
public void setTotal(boolean total)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.