Interface HasSubordinatesVirtualAttributeCfg

  • All Superinterfaces:
    Configuration, VirtualAttributeCfg

    public interface HasSubordinatesVirtualAttributeCfg
    extends VirtualAttributeCfg
    A server-side interface for querying Has Subordinates Virtual Attribute settings.

    The Has Subordinates Virtual Attribute generates a virtual attribute that indicates whether the entry has any subordinate entries.

    • Method Detail

      • addHasSubordinatesChangeListener

        void addHasSubordinatesChangeListener​(ConfigurationChangeListener<HasSubordinatesVirtualAttributeCfg> listener)
        Register to be notified when this Has Subordinates Virtual Attribute is changed.
        Parameters:
        listener - The Has Subordinates Virtual Attribute configuration change listener.
      • removeHasSubordinatesChangeListener

        void removeHasSubordinatesChangeListener​(ConfigurationChangeListener<HasSubordinatesVirtualAttributeCfg> listener)
        Deregister an existing Has Subordinates Virtual Attribute configuration change listener.
        Parameters:
        listener - The Has 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.

        Default value: hasSubordinates

        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.

        Default value: virtual-overrides-real

        Specified by:
        getConflictBehavior in interface VirtualAttributeCfg
        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.

        Default value: org.opends.server.extensions.HasSubordinatesVirtualAttributeProvider

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