org.opends.server.admin.std.server
Interface NumSubordinatesVirtualAttributeCfg

All Superinterfaces:
Configuration, VirtualAttributeCfg

public interface NumSubordinatesVirtualAttributeCfg
extends VirtualAttributeCfg

A server-side interface for querying Num Subordinates Virtual Attribute settings.

The Num Subordinates Virtual Attribute generates a virtual attribute that specifies the number of immediate child entries that exist below the entry.


Method Summary
 void addNumSubordinatesChangeListener(ConfigurationChangeListener<NumSubordinatesVirtualAttributeCfg> listener)
          Register to be notified when this Num Subordinates Virtual Attribute is changed.
 java.lang.Class<? extends NumSubordinatesVirtualAttributeCfg> configurationClass()
          Gets the configuration class associated with this Num Subordinates Virtual Attribute.
 AttributeType getAttributeType()
          Gets the "attribute-type" property.
 VirtualAttributeCfgDefn.ConflictBehavior getConflictBehavior()
          Gets the "conflict-behavior" property.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 void removeNumSubordinatesChangeListener(ConfigurationChangeListener<NumSubordinatesVirtualAttributeCfg> listener)
          Deregister an existing Num Subordinates Virtual Attribute configuration change listener.
 
Methods inherited from interface org.opends.server.admin.std.server.VirtualAttributeCfg
addChangeListener, getBaseDN, getFilter, getGroupDN, isEnabled, removeChangeListener
 
Methods inherited from interface org.opends.server.admin.Configuration
dn
 

Method Detail

configurationClass

java.lang.Class<? extends NumSubordinatesVirtualAttributeCfg> configurationClass()
Gets the configuration class associated with this Num Subordinates Virtual Attribute.

Specified by:
configurationClass in interface Configuration
Specified by:
configurationClass in interface VirtualAttributeCfg
Returns:
Returns the configuration class associated with this Num Subordinates Virtual Attribute.

addNumSubordinatesChangeListener

void addNumSubordinatesChangeListener(ConfigurationChangeListener<NumSubordinatesVirtualAttributeCfg> listener)
Register to be notified when this Num Subordinates Virtual Attribute is changed.

Parameters:
listener - The Num Subordinates Virtual Attribute configuration change listener.

removeNumSubordinatesChangeListener

void removeNumSubordinatesChangeListener(ConfigurationChangeListener<NumSubordinatesVirtualAttributeCfg> listener)
Deregister an existing Num Subordinates Virtual Attribute configuration change listener.

Parameters:
listener - The Num Subordinates Virtual Attribute configuration change listener.

getAttributeType

AttributeType getAttributeType()
Gets the "attribute-type" property.

Specifies the attribute type for the attribute whose values are to be dynamically assigned by the virtual attribute.

Specified by:
getAttributeType in interface VirtualAttributeCfg
Returns:
Returns the value of the "attribute-type" property.

getConflictBehavior

VirtualAttributeCfgDefn.ConflictBehavior getConflictBehavior()
Gets the "conflict-behavior" property.

Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute.

Specified by:
getConflictBehavior in interface VirtualAttributeCfg
Returns:
Returns the value of the "conflict-behavior" property.

getJavaClass

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

Specifies the fully-qualified name of the virtual attribute provider class that generates the attribute values.

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