public final class RemotableAttributeField extends AbstractDataTransferObject implements RemotableAttributeFieldContract
for more info.,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
RemotableAttributeField.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RemotableAttributeField |
findAttribute(String attributeName,
Collection<RemotableAttributeField> fields)
Utility method to search a collection of attribute fields and returns
a field for a give attribute name.
|
AttributeLookupSettings |
getAttributeLookupSettings()
If this method returns a non-null value, it defines various settings for this attribute whenever
it is used on a lookup.
|
String |
getConstraintText()
The help constraint of the attribute.
|
RemotableControlContract |
getControl()
The control associated with the attribute.
|
DataType |
getDataType()
The dataType of the attribute.
|
Collection<String> |
getDefaultValues()
The default values for the attribute.
|
String |
getFormatterName()
The name of the formatter
|
String |
getHelpDescription()
The help description of the attribute.
|
String |
getHelpSummary()
The help summary of the attribute.
|
String |
getLongLabel()
The long label of the attribute.
|
Integer |
getMaxLength()
The inclusive maximum length of the attribute.
|
Double |
getMaxValue()
The inclusive maximum value of the attribute.
|
Integer |
getMinLength()
The inclusive minimum length of the attribute.
|
Double |
getMinValue()
The inclusive minimum value of the attribute.
|
String |
getName()
The name of the attribute.
|
String |
getRegexConstraint()
The regex constraint to apply to the attribute field for validation.
|
String |
getRegexContraintMsg()
The message to display if the regex constraint fails.
|
String |
getShortLabel()
The short label of the attribute.
|
Collection<? extends RemotableAbstractWidget> |
getWidgets()
The widgets for the attribute.
|
boolean |
isForceUpperCase()
Should the attribute always be in uppercase.
|
boolean |
isRequired()
Whether the attribute is a required attribute.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getName()
RemotableAttributeFieldContractgetName in interface RemotableAttributeFieldContractpublic DataType getDataType()
RemotableAttributeFieldContractgetDataType in interface RemotableAttributeFieldContractpublic String getShortLabel()
RemotableAttributeFieldContractgetShortLabel in interface RemotableAttributeFieldContractpublic String getLongLabel()
RemotableAttributeFieldContractgetLongLabel in interface RemotableAttributeFieldContractpublic String getHelpSummary()
RemotableAttributeFieldContractgetHelpSummary in interface RemotableAttributeFieldContractpublic String getConstraintText()
RemotableAttributeFieldContractgetConstraintText in interface RemotableAttributeFieldContractpublic String getHelpDescription()
RemotableAttributeFieldContractgetHelpDescription in interface RemotableAttributeFieldContractpublic boolean isForceUpperCase()
RemotableAttributeFieldContractisForceUpperCase in interface RemotableAttributeFieldContractpublic Integer getMinLength()
RemotableAttributeFieldContractgetMinLength in interface RemotableAttributeFieldContractpublic Integer getMaxLength()
RemotableAttributeFieldContractgetMaxLength in interface RemotableAttributeFieldContractpublic Double getMinValue()
RemotableAttributeFieldContractgetMinValue in interface RemotableAttributeFieldContractpublic Double getMaxValue()
RemotableAttributeFieldContractgetMaxValue in interface RemotableAttributeFieldContractpublic String getRegexConstraint()
RemotableAttributeFieldContractgetRegexConstraint in interface RemotableAttributeFieldContractpublic String getRegexContraintMsg()
RemotableAttributeFieldContractgetRegexContraintMsg in interface RemotableAttributeFieldContractpublic String getFormatterName()
RemotableAttributeFieldContractgetFormatterName in interface RemotableAttributeFieldContractpublic boolean isRequired()
RemotableAttributeFieldContractisRequired in interface RemotableAttributeFieldContractpublic Collection<String> getDefaultValues()
RemotableAttributeFieldContractgetDefaultValues in interface RemotableAttributeFieldContractpublic RemotableControlContract getControl()
RemotableAttributeFieldContractgetControl in interface RemotableAttributeFieldContractpublic Collection<? extends RemotableAbstractWidget> getWidgets()
RemotableAttributeFieldContractgetWidgets in interface RemotableAttributeFieldContractpublic AttributeLookupSettings getAttributeLookupSettings()
RemotableAttributeFieldContractgetAttributeLookupSettings in interface RemotableAttributeFieldContractpublic static RemotableAttributeField findAttribute(String attributeName, Collection<RemotableAttributeField> fields)
attributeName - the name of the attribute to search for. Cannot be blank or null.fields - cannot be null.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.