Class StructuralObjectClassVirtualAttributeProvider
java.lang.Object
org.opends.server.api.VirtualAttributeProvider<StructuralObjectClassVirtualAttributeCfg>
org.opends.server.extensions.StructuralObjectClassVirtualAttributeProvider
public final class StructuralObjectClassVirtualAttributeProvider
extends VirtualAttributeProvider<StructuralObjectClassVirtualAttributeCfg>
This class implements a virtual attribute provider that is meant to serve the structuralObjectClass operational
attribute as described in RFC 4512.
Note: This attribute is not searchable, since it will have the same value in tons of entries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(Entry entry, AttributeDescription attributeDescription) Generates an unmodifiable attribute with the values for the provided entry.booleanIndicates whether this virtual attribute provider may generate multiple values.
-
Constructor Details
-
StructuralObjectClassVirtualAttributeProvider
public StructuralObjectClassVirtualAttributeProvider()
-
-
Method Details
-
isMultiValued
public boolean isMultiValued()Description copied from class:VirtualAttributeProviderIndicates whether this virtual attribute provider may generate multiple values.- Specified by:
isMultiValuedin classVirtualAttributeProvider<StructuralObjectClassVirtualAttributeCfg>- Returns:
trueif this virtual attribute provider may generate multiple values, orfalseif not.
-
getAttribute
Description copied from class:VirtualAttributeProviderGenerates an unmodifiable attribute with the values for the provided entry.- Specified by:
getAttributein classVirtualAttributeProvider<StructuralObjectClassVirtualAttributeCfg>- Parameters:
entry- The entry for which the values are to be generated.attributeDescription- the attribute description corresponding to this virtual attribute- Returns:
- The unmodifiable attribute with the values generated for the provided entry. It may be empty, but it must
not be
null.
-