public class Validation extends BaseObject implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Digits |
digits |
protected FileUpload |
fileUpload |
protected Future |
future |
protected Max |
max |
protected Min |
min |
protected NotNull |
notNull |
protected Past |
past |
protected Pattern |
pattern |
protected List<Rule> |
rules |
protected Size |
size |
protected Type |
type |
| Constructor and Description |
|---|
Validation() |
| Modifier and Type | Method and Description |
|---|---|
Digits |
getDigits()
Gets the value of the digits property.
|
FileUpload |
getFileUpload()
Gets the value of the fileUpload property.
|
Future |
getFuture()
Gets the value of the future property.
|
Max |
getMax()
Gets the value of the max property.
|
Min |
getMin()
Gets the value of the min property.
|
NotNull |
getNotNull()
Gets the value of the notNull property.
|
Past |
getPast()
Gets the value of the past property.
|
Pattern |
getPattern()
Gets the value of the pattern property.
|
List<Rule> |
getRules()
Gets the value of the rules property.
|
Size |
getSize()
Gets the value of the size property.
|
Type |
getType()
Gets the value of the type property.
|
void |
setDigits(Digits value)
Sets the value of the digits property.
|
void |
setFileUpload(FileUpload value)
Sets the value of the fileUpload property.
|
void |
setFuture(Future value)
Sets the value of the future property.
|
void |
setMax(Max value)
Sets the value of the max property.
|
void |
setMin(Min value)
Sets the value of the min property.
|
void |
setNotNull(NotNull value)
Sets the value of the notNull property.
|
void |
setPast(Past value)
Sets the value of the past property.
|
void |
setPattern(Pattern value)
Sets the value of the pattern property.
|
void |
setSize(Size value)
Sets the value of the size property.
|
void |
setType(Type value)
Sets the value of the type property.
|
protected Type type
protected NotNull notNull
protected Size size
protected Min min
protected Future future
protected Past past
protected Max max
protected Digits digits
protected Pattern pattern
protected FileUpload fileUpload
public void setType(Type value)
value - allowed object is
Typepublic NotNull getNotNull()
NotNullpublic void setNotNull(NotNull value)
value - allowed object is
NotNullpublic void setSize(Size value)
value - allowed object is
Sizepublic void setMin(Min value)
value - allowed object is
Minpublic Future getFuture()
Futurepublic void setFuture(Future value)
value - allowed object is
Futurepublic void setPast(Past value)
value - allowed object is
Pastpublic void setMax(Max value)
value - allowed object is
Maxpublic Digits getDigits()
Digitspublic void setDigits(Digits value)
value - allowed object is
Digitspublic Pattern getPattern()
Patternpublic void setPattern(Pattern value)
value - allowed object is
Patternpublic FileUpload getFileUpload()
FileUploadpublic void setFileUpload(FileUpload value)
value - allowed object is
FileUploadpublic List<Rule> getRules()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the rules property.
For example, to add a new item, do as follows:
getRules().add(newItem);
Objects of the following type(s) are allowed in the list
Rule
Copyright © 2011–2022 aiticon GmbH. All rights reserved.