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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddNumSubordinatesChangeListener(ConfigurationChangeListener<NumSubordinatesVirtualAttributeCfg> listener)Register to be notified when this Num Subordinates Virtual Attribute is changed.Class<? extends NumSubordinatesVirtualAttributeCfg>configurationClass()Gets the configuration class associated with this Num Subordinates Virtual Attribute.org.forgerock.opendj.ldap.schema.AttributeTypegetAttributeType()Gets the "attribute-type" property.VirtualAttributeCfgDefn.ConflictBehaviorgetConflictBehavior()Gets the "conflict-behavior" property.StringgetJavaClass()Gets the "java-class" property.voidremoveNumSubordinatesChangeListener(ConfigurationChangeListener<NumSubordinatesVirtualAttributeCfg> listener)Deregister an existing Num Subordinates Virtual Attribute configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.VirtualAttributeCfg
addChangeListener, getBaseDN, getFilter, getGroupDN, getScope, isEnabled, removeChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends NumSubordinatesVirtualAttributeCfg> configurationClass()
Gets the configuration class associated with this Num Subordinates Virtual Attribute.- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceVirtualAttributeCfg- 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
org.forgerock.opendj.ldap.schema.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:
getAttributeTypein interfaceVirtualAttributeCfg- 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:
getConflictBehaviorin interfaceVirtualAttributeCfg- Returns:
- Returns the value of the "conflict-behavior" property.
-
getJavaClass
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:
getJavaClassin interfaceVirtualAttributeCfg- Returns:
- Returns the value of the "java-class" property.
-
-