public class IntegerAttribute extends PrimitiveAttribute<java.lang.Integer>
An integer type attribute.
[[examples=verboseExample]]defaultValue| Constructor and Description |
|---|
IntegerAttribute()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class |
getValueType()
Get the class of the value.
|
void |
setDefault(java.lang.Integer value)
A default value for this attribute.
|
clientConfigTypeDescription, getDefault, getValue, getValueClass, printClientConfig, setConfigName, validate, validateValuepublic final void setDefault(java.lang.Integer value)
A default value for this attribute. Example:
attributes:
title: !integer
default: 42setDefault in class PrimitiveAttribute<java.lang.Integer>value - The default value.public java.lang.Class getValueType()
Attribute