org.opends.server.admin.std.server
Interface AttributeTypeDescriptionAttributeSyntaxCfg

All Superinterfaces:
AttributeSyntaxCfg, Configuration

public interface AttributeTypeDescriptionAttributeSyntaxCfg
extends AttributeSyntaxCfg

A server-side interface for querying Attribute Type Description Attribute Syntax settings.

Attribute Type Description Attribute Syntaxes describe the format of the directory schema attribute type definitions.


Method Summary
 void addAttributeTypeDescriptionChangeListener(ConfigurationChangeListener<AttributeTypeDescriptionAttributeSyntaxCfg> listener)
          Register to be notified when this Attribute Type Description Attribute Syntax is changed.
 java.lang.Class<? extends AttributeTypeDescriptionAttributeSyntaxCfg> configurationClass()
          Gets the configuration class associated with this Attribute Type Description Attribute Syntax.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 boolean isStripSyntaxMinUpperBound()
          Gets the "strip-syntax-min-upper-bound" property.
 void removeAttributeTypeDescriptionChangeListener(ConfigurationChangeListener<AttributeTypeDescriptionAttributeSyntaxCfg> listener)
          Deregister an existing Attribute Type Description Attribute Syntax configuration change listener.
 
Methods inherited from interface org.opends.server.admin.std.server.AttributeSyntaxCfg
addChangeListener, isEnabled, removeChangeListener
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends AttributeTypeDescriptionAttributeSyntaxCfg> configurationClass()
Gets the configuration class associated with this Attribute Type Description Attribute Syntax.

Specified by:
configurationClass in interface AttributeSyntaxCfg
Specified by:
configurationClass in interface Configuration
Returns:
Returns the configuration class associated with this Attribute Type Description Attribute Syntax.

addAttributeTypeDescriptionChangeListener

void addAttributeTypeDescriptionChangeListener(ConfigurationChangeListener<AttributeTypeDescriptionAttributeSyntaxCfg> listener)
Register to be notified when this Attribute Type Description Attribute Syntax is changed.

Parameters:
listener - The Attribute Type Description Attribute Syntax configuration change listener.

removeAttributeTypeDescriptionChangeListener

void removeAttributeTypeDescriptionChangeListener(ConfigurationChangeListener<AttributeTypeDescriptionAttributeSyntaxCfg> listener)
Deregister an existing Attribute Type Description Attribute Syntax configuration change listener.

Parameters:
listener - The Attribute Type Description Attribute Syntax configuration change listener.

getJavaClass

java.lang.String getJavaClass()
Gets the "java-class" property.

Specifies the fully-qualified name of the Java class that provides the Attribute Type Description Attribute Syntax implementation.

Specified by:
getJavaClass in interface AttributeSyntaxCfg
Returns:
Returns the value of the "java-class" property.

isStripSyntaxMinUpperBound

boolean isStripSyntaxMinUpperBound()
Gets the "strip-syntax-min-upper-bound" property.

Indicates whether the suggested minimum upper bound appended to an attribute's syntax OID in it's schema definition Attribute Type Description is stripped off.

When retrieving the server's schema, some APIs (JNDI) fail in their syntax lookup methods, because they do not parse this value correctly. This configuration option allows the server to be configured to provide schema definitions these APIs can parse correctly.

Returns:
Returns the value of the "strip-syntax-min-upper-bound" property.