@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public final class LDAPSyntaxDescription extends Object implements SchemaFileElement
Constructor and Description |
---|
LDAPSyntaxDescription(String definition,
org.forgerock.opendj.ldap.schema.Syntax syntax,
Map<String,List<String>> extraProperties)
Creates a new ldap syntax definition with the provided
information.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Indicates whether the provided object is equal to this ldap
syntax.
|
String |
getDescription()
Retrieves the description for this ldap syntax description.
|
Map<String,List<String>> |
getExtraProperties()
Retrieves a mapping between the names of any extra non-standard
properties that may be associated with this ldap syntax
description and the value for that property.
|
List<String> |
getExtraProperty(String propertyName)
Retrieves the value of the specified "extra" property for this
ldap syntax description.
|
String |
getOID()
Returns the oid.
|
org.forgerock.opendj.ldap.schema.Syntax |
getSyntax()
Retrieves the ldap syntax description syntax associated with
this ldap syntax.
|
int |
hashCode()
Retrieves the hash code for this ldap syntax description.
|
void |
setExtraProperty(String name,
List<String> values)
Specifies the provided "extra" property for this ldap syntax
description.
|
String |
toString()
Retrieves the string representation of this ldap syntax
description in the form specified in RFC 2252.
|
public LDAPSyntaxDescription(String definition, org.forgerock.opendj.ldap.schema.Syntax syntax, Map<String,List<String>> extraProperties)
definition
- The definition string used to create
this ldap syntax. It must not be
null
.syntax
- The ldap syntax description syntax
associated with this ldap syntax.extraProperties
- A set of extra properties for this
ldap syntax description.public org.forgerock.opendj.ldap.schema.Syntax getSyntax()
public String getDescription()
true
if there is none.public Map<String,List<String>> getExtraProperties()
getExtraProperties
in interface SchemaFileElement
public List<String> getExtraProperty(String propertyName)
propertyName
- The name of the "extra" property for which
to retrieve the value.null
if no such
property is defined.public void setExtraProperty(String name, List<String> values)
name
- The name for the "extra" property. It must not
be null
.values
- The set of value for the "extra" property, or
null
if the property is to be removed.public boolean equals(Object o)
public int hashCode()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.