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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addStructuralObjectClassChangeListener(ConfigurationChangeListener<StructuralObjectClassVirtualAttributeCfg> listener)
Register to be notified when this Structural Object Class Virtual Attribute is changed.Class<? extends StructuralObjectClassVirtualAttributeCfg>
configurationClass()
Gets the configuration class associated with this Structural Object Class Virtual Attribute.AttributeType
getAttributeType()
Gets the "attribute-type" property.VirtualAttributeCfgDefn.ConflictBehavior
getConflictBehavior()
Gets the "conflict-behavior" property.String
getJavaClass()
Gets the "java-class" property.void
removeStructuralObjectClassChangeListener(ConfigurationChangeListener<StructuralObjectClassVirtualAttributeCfg> listener)
Deregister an existing Structural Object Class 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 StructuralObjectClassVirtualAttributeCfg> configurationClass()
Gets the configuration class associated with this Structural Object Class Virtual Attribute.- Specified by:
configurationClass
in interfaceConfiguration
- Specified by:
configurationClass
in interfaceVirtualAttributeCfg
- Returns:
- Returns the configuration class associated with this Structural Object Class Virtual Attribute.
-
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 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.
Default value:
virtual-overrides-real
- Specified by:
getConflictBehavior
in 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.
Default value:
org.opends.server.extensions.StructuralObjectClassVirtualAttributeProvider
- Specified by:
getJavaClass
in interfaceVirtualAttributeCfg
- Returns:
- Returns the value of the "java-class" property.
-
-