Interface GoverningStructureRuleVirtualAttributeCfgClient
-
- All Superinterfaces:
ConfigurationClient
,VirtualAttributeCfgClient
public interface GoverningStructureRuleVirtualAttributeCfgClient extends VirtualAttributeCfgClient
A client-side interface for reading and modifying Governing Structure Rule Virtual Attribute settings.The Governing Structure Rule Virtual Attribute generates a virtual attribute that specifies the DIT structure rule 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 ManagedObjectDefinition<? extends GoverningStructureRuleVirtualAttributeCfgClient,? extends GoverningStructureRuleVirtualAttributeCfg>
definition()
Get the configuration definition associated with this Governing Structure Rule Virtual Attribute.ValueOrExpression<AttributeType>
getAttributeType()
Gets the "attribute-type" property.ValueOrExpression<VirtualAttributeCfgDefn.ConflictBehavior>
getConflictBehavior()
Gets the "conflict-behavior" property.ValueOrExpression<String>
getJavaClass()
Gets the "java-class" property.void
setAttributeType(ValueOrExpression<AttributeType> value)
Sets the "attribute-type" property.void
setConflictBehavior(ValueOrExpression<VirtualAttributeCfgDefn.ConflictBehavior> value)
Sets the "conflict-behavior" property.void
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Methods inherited from interface org.forgerock.opendj.server.config.client.VirtualAttributeCfgClient
getBaseDn, getFilter, getGroupDn, getScope, isEnabled, setBaseDn, setEnabled, setFilter, setGroupDn, setScope
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends GoverningStructureRuleVirtualAttributeCfgClient,? extends GoverningStructureRuleVirtualAttributeCfg> definition()
Get the configuration definition associated with this Governing Structure Rule Virtual Attribute.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfaceVirtualAttributeCfgClient
- Returns:
- Returns the configuration definition associated with this Governing Structure Rule Virtual Attribute.
-
getAttributeType
@MandatoryProperty ValueOrExpression<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:
governingStructureRule
- Specified by:
getAttributeType
in interfaceVirtualAttributeCfgClient
- Returns:
- Returns the value of the "attribute-type" property.
-
setAttributeType
@MandatoryProperty void setAttributeType(ValueOrExpression<AttributeType> value) throws PropertyException
Sets the "attribute-type" property.Specifies the attribute type for the attribute whose values are to be dynamically assigned by the virtual attribute.
- Specified by:
setAttributeType
in interfaceVirtualAttributeCfgClient
- Parameters:
value
- The value of the "attribute-type" property.- Throws:
PropertyException
- If the new value is invalid.
-
getConflictBehavior
ValueOrExpression<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 interfaceVirtualAttributeCfgClient
- Returns:
- Returns the value of the "conflict-behavior" property.
-
setConflictBehavior
void setConflictBehavior(ValueOrExpression<VirtualAttributeCfgDefn.ConflictBehavior> value) throws PropertyException
Sets 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:
setConflictBehavior
in interfaceVirtualAttributeCfgClient
- Parameters:
value
- The value of the "conflict-behavior" property.- Throws:
PropertyException
- If the new value is invalid.
-
getJavaClass
@MandatoryProperty ValueOrExpression<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.GoverningStructureRuleVirtualAttributeProvider
- Specified by:
getJavaClass
in interfaceVirtualAttributeCfgClient
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
@MandatoryProperty void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Sets the "java-class" property.Specifies the fully-qualified name of the virtual attribute provider class that generates the attribute values.
- Specified by:
setJavaClass
in interfaceVirtualAttributeCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-
-