Package com.isode.dsapi.config
Class SchemaObjects.AttrWrapperInteger
java.lang.Object
com.isode.dsapi.config.SchemaObjects.AttrWrapper<Integer>
com.isode.dsapi.config.SchemaObjects.AttrWrapperInteger
- Enclosing class:
- SchemaObjects
public abstract static class SchemaObjects.AttrWrapperInteger
extends SchemaObjects.AttrWrapper<Integer>
Base class for representing an Integer attribute type
- Since:
- 15.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AttributeType
Construct an attribute object using default value of the attributeGet the default value for the given attribute typeGet the default string representation of the default value of given attribute type
-
Constructor Details
-
AttrWrapperInteger
public AttrWrapperInteger()
-
-
Method Details
-
getAttributeType
- Specified by:
getAttributeType
in classSchemaObjects.AttrWrapper<Integer>
-
getDefaultValue
Description copied from class:SchemaObjects.AttrWrapper
Get the default value for the given attribute type- Specified by:
getDefaultValue
in classSchemaObjects.AttrWrapper<Integer>
- Returns:
- default value
-
getDefaultAttribute
Description copied from class:SchemaObjects.AttrWrapper
Construct an attribute object using default value of the attribute- Overrides:
getDefaultAttribute
in classSchemaObjects.AttrWrapper<Integer>
- Returns:
- DSAPI's attribute object
Attribute
or null if no default value defined or if the default value is not of valid syntax for the attribute type
-
getDefaultValueStringRepresentation
Description copied from class:SchemaObjects.AttrWrapper
Get the default string representation of the default value of given attribute type- Specified by:
getDefaultValueStringRepresentation
in classSchemaObjects.AttrWrapper<Integer>
- Returns:
- string representation of default value or null if no default value defined
-