public interface SchemaElement
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
List<String> |
getExtension(String key) |
Map<String,List<String>> |
getExtensions() |
List<String> |
getNames() |
String |
getOid() |
boolean |
isObsolete()
Tells if the attributeType is obsolete
|
void |
setDescription(String description)
Set the schema element's description
|
void |
setExtensions(Map<String,List<String>> extensions)
Set a list of extensions for a schemaElement
|
void |
setNames(List<String> names)
Set a list of names for a schemaElement
|
void |
setObsolete(boolean isObsolete)
Set the obsolete flag
|
String |
toLdif(String schemaName)
Generate a String representation of this schemaElement, formated
as a ldif string
|
boolean isObsolete()
void setObsolete(boolean isObsolete)
isObsolete - The value to be setString getOid()
String getDescription()
void setDescription(String description)
description - The schema element's descriptionvoid setNames(List<String> names)
names - The list of names of this schemaElementMap<String,List<String>> getExtensions()
List<String> getExtension(String key)
key - the Extension keyvoid setExtensions(Map<String,List<String>> extensions)
extensions - The list of extensions of this schemaElementString toLdif(String schemaName) throws org.apache.directory.api.ldap.model.exception.LdapException
schemaName - The schema from which is extracted this schemaElementorg.apache.directory.api.ldap.model.exception.LdapException - If any error occurs.Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.