Tachyon Annotations (krpc-annotations)
/
org.brightify.hyperdrive.krpc.api.validation
/
Max
Max
@
Target
(
allowedTargets = [
AnnotationTarget.FUNCTION
,
AnnotationTarget.FIELD
,
AnnotationTarget.ANNOTATION_CLASS
,
AnnotationTarget.CONSTRUCTOR
,
AnnotationTarget.VALUE_PARAMETER
]
)
annotation class
Max
(value:
Long
, message:
String
)
Content copied to clipboard
The element must be a number smaller than the specified value. Supported types:
BigDecimal
BigInteger
String
Byte
Short
Int
Long
Float
Double
Constructors
Properties
Constructors
Max
Link copied to clipboard
fun
Max
(value:
Long
, message:
String
= "")
Content copied to clipboard
Properties
message
Link copied to clipboard
val
message
:
String
Content copied to clipboard
value
Link copied to clipboard
val
value
:
Long
Content copied to clipboard