Package com.isode.dsapi.config
Class SchemaObjects.AttrWrapperByteArray
java.lang.Object
com.isode.dsapi.config.SchemaObjects.AttrWrapper<byte[]>
com.isode.dsapi.config.SchemaObjects.AttrWrapperByteArray
- Enclosing class:
- SchemaObjects
public abstract static class SchemaObjects.AttrWrapperByteArray
extends SchemaObjects.AttrWrapper<byte[]>
Base class for representing a BER attribute type
- Since:
- 15.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AttributeType
Construct an attribute object using default value of the attributebyte[]
Get the default value for the given attribute typeGet the default string representation of the default value of given attribute type
-
Constructor Details
-
AttrWrapperByteArray
public AttrWrapperByteArray()
-
-
Method Details
-
getAttributeType
- Specified by:
getAttributeType
in classSchemaObjects.AttrWrapper<byte[]>
-
getDefaultValue
public byte[] getDefaultValue()Description copied from class:SchemaObjects.AttrWrapper
Get the default value for the given attribute type- Specified by:
getDefaultValue
in classSchemaObjects.AttrWrapper<byte[]>
- 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<byte[]>
- 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<byte[]>
- Returns:
- string representation of default value or null if no default value defined
-