org.opends.server.admin.std.server
Interface DirectoryStringAttributeSyntaxCfg

All Superinterfaces:
AttributeSyntaxCfg, Configuration

public interface DirectoryStringAttributeSyntaxCfg
extends AttributeSyntaxCfg

A server-side interface for querying Directory String Attribute Syntax settings.

The Directory String Attribute Syntax defines an attribute syntax for storing arbitrary string (and sometimes binary) data.


Method Summary
 void addDirectoryStringChangeListener(ConfigurationChangeListener<DirectoryStringAttributeSyntaxCfg> listener)
          Register to be notified when this Directory String Attribute Syntax is changed.
 java.lang.Class<? extends DirectoryStringAttributeSyntaxCfg> configurationClass()
          Gets the configuration class associated with this Directory String Attribute Syntax.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 boolean isAllowZeroLengthValues()
          Gets the "allow-zero-length-values" property.
 void removeDirectoryStringChangeListener(ConfigurationChangeListener<DirectoryStringAttributeSyntaxCfg> listener)
          Deregister an existing Directory String 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 DirectoryStringAttributeSyntaxCfg> configurationClass()
Gets the configuration class associated with this Directory String Attribute Syntax.

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

addDirectoryStringChangeListener

void addDirectoryStringChangeListener(ConfigurationChangeListener<DirectoryStringAttributeSyntaxCfg> listener)
Register to be notified when this Directory String Attribute Syntax is changed.

Parameters:
listener - The Directory String Attribute Syntax configuration change listener.

removeDirectoryStringChangeListener

void removeDirectoryStringChangeListener(ConfigurationChangeListener<DirectoryStringAttributeSyntaxCfg> listener)
Deregister an existing Directory String Attribute Syntax configuration change listener.

Parameters:
listener - The Directory String Attribute Syntax configuration change listener.

isAllowZeroLengthValues

boolean isAllowZeroLengthValues()
Gets the "allow-zero-length-values" property.

Indicates whether zero-length (that is, an empty string) values are allowed.

This is technically not allowed by the revised LDAPv3 specification, but some environments may require it for backward compatibility with servers that do allow it.

Returns:
Returns the value of the "allow-zero-length-values" property.

getJavaClass

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

Specifies the fully-qualified name of the Java class that provides the Directory String Attribute Syntax implementation.

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