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

public abstract static class SchemaObjects.AttrWrapper<Type> extends Object
Base Class for representing a schema object for an attribute type
Since:
15.0
  • Constructor Details

    • AttrWrapper

      public AttrWrapper()
  • Method Details

    • getAttributeType

      public abstract AttributeType getAttributeType()
    • getDefaultAttribute

      public Attribute 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

      public abstract Type getDefaultValue()
      Get the default value for the given attribute type
      Returns:
      default value
    • getDefaultValueStringRepresentation

      public abstract String 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