public class ValidatedAttribute extends Object
Java class for ValidatedAttribute complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValidatedAttribute"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="String"/> <enumeration value="Numeric"/> <enumeration value="Custom"/> </restriction> </simpleType> </attribute> <attribute name="minLength" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="maxLength" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="regex" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="minValue" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="maxValue" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="validatorClass" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Integer |
maxLength |
protected Double |
maxValue |
protected Integer |
minLength |
protected Double |
minValue |
protected String |
name |
protected String |
regex |
protected String |
type |
protected String |
validatorClass |
Constructor and Description |
---|
ValidatedAttribute() |
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxLength()
Gets the value of the maxLength property.
|
Double |
getMaxValue()
Gets the value of the maxValue property.
|
Integer |
getMinLength()
Gets the value of the minLength property.
|
Double |
getMinValue()
Gets the value of the minValue property.
|
String |
getName()
Gets the value of the name property.
|
String |
getRegex()
Gets the value of the regex property.
|
String |
getType()
Gets the value of the type property.
|
String |
getValidatorClass()
Gets the value of the validatorClass property.
|
void |
setMaxLength(Integer value)
Sets the value of the maxLength property.
|
void |
setMaxValue(Double value)
Sets the value of the maxValue property.
|
void |
setMinLength(Integer value)
Sets the value of the minLength property.
|
void |
setMinValue(Double value)
Sets the value of the minValue property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRegex(String value)
Sets the value of the regex property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setValidatorClass(String value)
Sets the value of the validatorClass property.
|
protected String name
protected String type
protected Integer minLength
protected Integer maxLength
protected String regex
protected Double minValue
protected Double maxValue
protected String validatorClass
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public Integer getMinLength()
Integer
public void setMinLength(Integer value)
value
- allowed object is
Integer
public Integer getMaxLength()
Integer
public void setMaxLength(Integer value)
value
- allowed object is
Integer
public String getRegex()
String
public void setRegex(String value)
value
- allowed object is
String
public Double getMinValue()
Double
public void setMinValue(Double value)
value
- allowed object is
Double
public Double getMaxValue()
Double
public void setMaxValue(Double value)
value
- allowed object is
Double
public String getValidatorClass()
String
Copyright © 2011-2018 restSQL Project Contributors