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) BigDecimalgetDecimalValue()longgetLongValue()@Max(200L) StringgetProperty()StringgetText()voidsetDecimalValue(BigDecimal decimalValue)voidsetLongValue(long longValue)voidsetProperty(String property)voidsetText(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)
-
-