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
Type
public NotNull getNotNull()
NotNull
public void setNotNull(NotNull value)
value
- allowed object is
NotNull
public void setSize(Size value)
value
- allowed object is
Size
public void setMin(Min value)
value
- allowed object is
Min
public Future getFuture()
Future
public void setFuture(Future value)
value
- allowed object is
Future
public void setPast(Past value)
value
- allowed object is
Past
public void setMax(Max value)
value
- allowed object is
Max
public Digits getDigits()
Digits
public void setDigits(Digits value)
value
- allowed object is
Digits
public Pattern getPattern()
Pattern
public void setPattern(Pattern value)
value
- allowed object is
Pattern
public FileUpload getFileUpload()
FileUpload
public void setFileUpload(FileUpload value)
value
- allowed object is
FileUpload
public 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–2020 aiticon GmbH. All rights reserved.