Package com.isode.dsapi.config
Class SchemaObjects.AttrWrapper<Type>
java.lang.Object
com.isode.dsapi.config.SchemaObjects.AttrWrapper<Type>
- Type Parameters:
Type
- The type of attribute - Integer, String, byte[], List, Boolean
- Direct Known Subclasses:
SchemaObjects.AttrWrapperAttrType
,SchemaObjects.AttrWrapperBoolean
,SchemaObjects.AttrWrapperByteArray
,SchemaObjects.AttrWrapperDN
,SchemaObjects.AttrWrapperInteger
,SchemaObjects.AttrWrapperMultiValuedString
,SchemaObjects.AttrWrapperString
- Enclosing class:
- SchemaObjects
Base Class for representing a schema object for an attribute type
- Since:
- 15.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AttributeType
Construct an attribute object using default value of the attributeabstract Type
Get the default value for the given attribute typeabstract String
Get the default string representation of the default value of given attribute type
-
Constructor Details
-
AttrWrapper
public AttrWrapper()
-
-
Method Details
-
getAttributeType
-
getDefaultAttribute
Construct an attribute object using default value of the attribute- 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
-
getDefaultValue
Get the default value for the given attribute type- Returns:
- default value
-
getDefaultValueStringRepresentation
Get the default string representation of the default value of given attribute type- Returns:
- string representation of default value or null if no default value defined
-