Package org.apache.bval.jsr.example
Class MaxTestEntity
- java.lang.Object
-
- org.apache.bval.jsr.example.MaxTestEntity
-
public class MaxTestEntity extends Object
Description:
-
-
Constructor Summary
Constructors Constructor Description MaxTestEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Max(400L) BigDecimal
getDecimalValue()
long
getLongValue()
@Max(200L) String
getProperty()
String
getText()
void
setDecimalValue(BigDecimal decimalValue)
void
setLongValue(long longValue)
void
setProperty(String property)
void
setText(String text)
-
-
-
Method Detail
-
getText
public String getText()
-
getProperty
@Max(200L) public @Max(200L) String getProperty()
-
getLongValue
public long getLongValue()
-
getDecimalValue
@Max(400L) public @Max(400L) BigDecimal getDecimalValue()
-
setText
public void setText(String text)
-
setProperty
public void setProperty(String property)
-
setLongValue
public void setLongValue(long longValue)
-
setDecimalValue
public void setDecimalValue(BigDecimal decimalValue)
-
-