Interface StructuralObjectClassVirtualAttributeCfg

  • All Superinterfaces:
    Configuration, VirtualAttributeCfg

    public interface StructuralObjectClassVirtualAttributeCfg
    extends VirtualAttributeCfg
    A server-side interface for querying Structural Object Class Virtual Attribute settings.

    The Structural Object Class Virtual Attribute generates a virtual attribute that specifies the structural object class with the schema definitions in effect for the entry. This attribute is defined in RFC 4512.

    • Method Detail

      • addStructuralObjectClassChangeListener

        void addStructuralObjectClassChangeListener​(ConfigurationChangeListener<StructuralObjectClassVirtualAttributeCfg> listener)
        Register to be notified when this Structural Object Class Virtual Attribute is changed.
        Parameters:
        listener - The Structural Object Class Virtual Attribute configuration change listener.
      • removeStructuralObjectClassChangeListener

        void removeStructuralObjectClassChangeListener​(ConfigurationChangeListener<StructuralObjectClassVirtualAttributeCfg> listener)
        Deregister an existing Structural Object Class Virtual Attribute configuration change listener.
        Parameters:
        listener - The Structural Object Class 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: structuralObjectClass

        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.StructuralObjectClassVirtualAttributeProvider

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