@Retention(value=RUNTIME) @Target(value=METHOD) public @interface MetaProperty
| Modifier and Type | Optional Element and Description |
|---|---|
String |
componentTypeHint
This is a hint string which can help a component factory decide how to render a component.
|
Class<? extends IConverter<?>> |
converterClass
If you have special non-default string-object and object-string conversion rules for this
property you can specify your own converter class doing those conversions here.
|
SortableType |
defaultSortable
Defines whether the property should be sortable when used in a default table, and defines
the initial sort direction of the property.
|
int |
displaySize
The size, in characters, that should be used as the display size.
|
int |
length
The actual maximal input length (for a string) or the precision to use (for a number).
|
YesNoType |
noWrap
When YES this will indicate the value should not be wrapped in table like displays.
|
NumericPresentation |
numericPresentation
Defines the number class AND it's presentation format for numeric values.
|
MetaValueValidator[] |
parameterizedValidator |
YesNoType |
readOnly
Defines this as a readonly (displayonly) property (by default).
|
String |
regexpUserString |
String |
regexpValidation
A regular expression defining what text input must look like to be accepted.
|
YesNoType |
required
Whether the value is a required value.
|
TemporalPresentationType |
temporal
If this is defined as some Date type this further defines the domain (date only, date time etc).
|
Class<? extends IValueValidator<?>>[] |
validator
Defines one or more parameterless validators for this field.
|
public abstract SortableType defaultSortable
public abstract int displaySize
public abstract YesNoType noWrap
public abstract int length
public abstract YesNoType required
public abstract Class<? extends IConverter<?>> converterClass
public abstract YesNoType readOnly
required().public abstract TemporalPresentationType temporal
public abstract String componentTypeHint
public abstract Class<? extends IValueValidator<?>>[] validator
public abstract MetaValueValidator[] parameterizedValidator
public abstract String regexpValidation
regexpUserString().public abstract String regexpUserString
public abstract NumericPresentation numericPresentation
Copyright © 2017 etc.to. All rights reserved.