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 AttributeTypeConstruct 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:
getAttributeTypein classSchemaObjects.AttrWrapper<byte[]>
-
getDefaultValue
public byte[] getDefaultValue()Description copied from class:SchemaObjects.AttrWrapperGet the default value for the given attribute type- Specified by:
getDefaultValuein classSchemaObjects.AttrWrapper<byte[]>- Returns:
- default value
-
getDefaultAttribute
Description copied from class:SchemaObjects.AttrWrapperConstruct an attribute object using default value of the attribute- Overrides:
getDefaultAttributein classSchemaObjects.AttrWrapper<byte[]>- Returns:
- DSAPI's attribute object
Attributeor 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.AttrWrapperGet the default string representation of the default value of given attribute type- Specified by:
getDefaultValueStringRepresentationin classSchemaObjects.AttrWrapper<byte[]>- Returns:
- string representation of default value or null if no default value defined
-