Interface AttributeDefinitionDelegator<T>
-
- All Superinterfaces:
Cloneable
,DebugDumpable
,Definition
,DefinitionDelegator
,Freezable
,ItemDefinition<PrismProperty<T>>
,ItemDefinitionDelegator<PrismProperty<T>>
,PrismContextSensitive
,PrismItemAccessDefinition
,PrismPropertyDefinition<T>
,PropertyDefinitionDelegator<T>
,ResourceAttributeDefinition<T>
,Revivable
,Serializable
,SmartVisitable<Definition>
,Visitable<Definition>
- All Known Subinterfaces:
RefinedAttributeDefinitionDelegator<T>
public interface AttributeDefinitionDelegator<T> extends PropertyDefinitionDelegator<T>, ResourceAttributeDefinition<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Mutable
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResourceAttributeDefinition<T>
delegate()
default String
getFrameworkAttributeName()
default String
getNativeAttributeName()
default Boolean
getReturnedByDefault()
default @NotNull ResourceAttribute<T>
instantiate()
Create an item instance.default @NotNull ResourceAttribute<T>
instantiate(QName name)
Create an item instance.default boolean
isPrimaryIdentifier(ObjectClassComplexTypeDefinition objectDefinition)
default boolean
isPrimaryIdentifier(ResourceAttributeContainerDefinition objectDefinition)
default boolean
isReturnedByDefault()
default boolean
isSecondaryIdentifier(ObjectClassComplexTypeDefinition objectDefinition)
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.DefinitionDelegator
accept, accept, debugDump, debugDump, debugDump, debugDumpLazily, debugDumpLazily, getAnnotation, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getPrismContext, getProcessing, getSchemaMigrations, getSchemaRegistry, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema, setAnnotation
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
isMandatory, isMultiValue, isOptional, isSingleValue, revive
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, debugDumpShortToString, deepClone, deepClone, findItemDefinition, getDiagrams, getItemName, getMaxOccurs, getMinOccurs, getNamespace, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isOperational, isValidFor, isValidFor, structuredType
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
createEmptyDelta, getTypeClass
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.PropertyDefinitionDelegator
createEmptyDelta, defaultValue, getAllowedValues, getMatchingRuleQName, getTypeClass, getValueType, isAnyType, isIndexed
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceAttributeDefinition
clone, toMutable
-
-
-
-
Method Detail
-
delegate
ResourceAttributeDefinition<T> delegate()
- Specified by:
delegate
in interfaceDefinitionDelegator
- Specified by:
delegate
in interfaceItemDefinitionDelegator<T>
- Specified by:
delegate
in interfacePropertyDefinitionDelegator<T>
-
getReturnedByDefault
default Boolean getReturnedByDefault()
- Specified by:
getReturnedByDefault
in interfaceResourceAttributeDefinition<T>
-
isReturnedByDefault
default boolean isReturnedByDefault()
- Specified by:
isReturnedByDefault
in interfaceResourceAttributeDefinition<T>
-
isPrimaryIdentifier
default boolean isPrimaryIdentifier(ResourceAttributeContainerDefinition objectDefinition)
- Specified by:
isPrimaryIdentifier
in interfaceResourceAttributeDefinition<T>
-
isPrimaryIdentifier
default boolean isPrimaryIdentifier(ObjectClassComplexTypeDefinition objectDefinition)
- Specified by:
isPrimaryIdentifier
in interfaceResourceAttributeDefinition<T>
-
isSecondaryIdentifier
default boolean isSecondaryIdentifier(ObjectClassComplexTypeDefinition objectDefinition)
- Specified by:
isSecondaryIdentifier
in interfaceResourceAttributeDefinition<T>
-
getNativeAttributeName
default String getNativeAttributeName()
- Specified by:
getNativeAttributeName
in interfaceResourceAttributeDefinition<T>
-
getFrameworkAttributeName
default String getFrameworkAttributeName()
- Specified by:
getFrameworkAttributeName
in interfaceResourceAttributeDefinition<T>
-
instantiate
@NotNull default @NotNull ResourceAttribute<T> instantiate()
Description copied from interface:ItemDefinition
Create an item instance. Definition name or default name will used as an element name for the instance. The instance will otherwise be empty.- Specified by:
instantiate
in interfaceItemDefinition<T>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<T>
- Specified by:
instantiate
in interfacePrismPropertyDefinition<T>
- Specified by:
instantiate
in interfacePropertyDefinitionDelegator<T>
- Specified by:
instantiate
in interfaceResourceAttributeDefinition<T>
- Returns:
- created item instance
-
instantiate
@NotNull default @NotNull ResourceAttribute<T> instantiate(QName name)
Description copied from interface:ItemDefinition
Create an item instance. Definition name will use provided name. for the instance. The instance will otherwise be empty.- Specified by:
instantiate
in interfaceItemDefinition<T>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<T>
- Specified by:
instantiate
in interfacePrismPropertyDefinition<T>
- Specified by:
instantiate
in interfacePropertyDefinitionDelegator<T>
- Specified by:
instantiate
in interfaceResourceAttributeDefinition<T>
- Returns:
- created item instance
-
-