Interface SchemaElement

    • Method Detail

      • isObsolete

        boolean isObsolete()
        Tells if the attributeType is obsolete
        Returns:
        true if the schema element is obsolete, folse otherwise
      • setObsolete

        void setObsolete​(boolean isObsolete)
        Set the obsolete flag
        Parameters:
        isObsolete - The value to be set
      • setDescription

        void setDescription​(String description)
        Set the schema element's description
        Parameters:
        description - The schema element's description
      • setNames

        void setNames​(List<String> names)
        Set a list of names for a schemaElement
        Parameters:
        names - The list of names of this schemaElement
      • getExtension

        List<StringgetExtension​(String key)
        Parameters:
        key - the Extension key
        Returns:
        The list of a values for a given extension
      • setExtensions

        void setExtensions​(Map<String,​List<String>> extensions)
        Set a list of extensions for a schemaElement
        Parameters:
        extensions - The list of extensions of this schemaElement
      • toLdif

        String toLdif​(String schemaName)
               throws LdapException
        Generate a String representation of this schemaElement, formated as a ldif string
        Parameters:
        schemaName - The schema from which is extracted this schemaElement
        Returns:
        A string representing the schemaElement as a Ldif formated String
        Throws:
        LdapException - If any error occurs.