Interface ResourceAttributeDefinition<T>
-
- All Superinterfaces:
Cloneable
,DebugDumpable
,Definition
,Freezable
,ItemDefinition<PrismProperty<T>>
,PrismContextSensitive
,PrismItemAccessDefinition
,PrismPropertyDefinition<T>
,Revivable
,Serializable
,SmartVisitable<Definition>
,Visitable<Definition>
- All Known Subinterfaces:
AttributeDefinitionDelegator<T>
,LayerRefinedAttributeDefinition<T>
,MutableResourceAttributeDefinition<T>
,PartiallyMutableItemDefinition.Attribute<T>
,RefinedAttributeDefinition<T>
,RefinedAttributeDefinitionDelegator<T>
- All Known Implementing Classes:
LayerRefinedAttributeDefinitionImpl
,RefinedAttributeDefinitionImpl
,ResourceAttributeDefinitionImpl
,TransformablePropertyDefinition.RefinedAttribute
,TransformablePropertyDefinition.ResourceAttribute
public interface ResourceAttributeDefinition<T> extends PrismPropertyDefinition<T>
- Author:
- mederly
-
-
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 Modifier and Type Method Description @NotNull ResourceAttributeDefinition<T>
clone()
String
getFrameworkAttributeName()
String
getNativeAttributeName()
Boolean
getReturnedByDefault()
@NotNull ResourceAttribute<T>
instantiate()
Create an item instance.@NotNull ResourceAttribute<T>
instantiate(QName name)
Create an item instance.boolean
isPrimaryIdentifier(ObjectClassComplexTypeDefinition objectDefinition)
boolean
isPrimaryIdentifier(ResourceAttributeContainerDefinition objectDefinition)
boolean
isReturnedByDefault()
boolean
isSecondaryIdentifier(ObjectClassComplexTypeDefinition objectDefinition)
MutableResourceAttributeDefinition<T>
toMutable()
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Definition
debugDump, getAnnotation, getDeprecatedSince, getDiagrams, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, 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
adoptElementDefinitionFrom, canBeDefinitionOf, canBeDefinitionOf, debugDumpShortToString, deepClone, deepClone, findItemDefinition, getItemName, getMaxOccurs, getMinOccurs, getNamespace, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSingleValue, isValidFor, isValidFor, revive, structuredType
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
canAdd, canModify, canRead
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
createEmptyDelta, defaultValue, getAllowedValues, getMatchingRuleQName, getTypeClass, getValueType, isAnyType, isIndexed
-
Methods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
-
-
-
Method Detail
-
instantiate
@NotNull @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 interfacePrismPropertyDefinition<T>
- Returns:
- created item instance
-
instantiate
@NotNull @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 interfacePrismPropertyDefinition<T>
- Returns:
- created item instance
-
getReturnedByDefault
Boolean getReturnedByDefault()
-
isReturnedByDefault
boolean isReturnedByDefault()
-
isPrimaryIdentifier
boolean isPrimaryIdentifier(ResourceAttributeContainerDefinition objectDefinition)
-
isPrimaryIdentifier
boolean isPrimaryIdentifier(ObjectClassComplexTypeDefinition objectDefinition)
-
isSecondaryIdentifier
boolean isSecondaryIdentifier(ObjectClassComplexTypeDefinition objectDefinition)
-
getNativeAttributeName
String getNativeAttributeName()
-
getFrameworkAttributeName
String getFrameworkAttributeName()
-
clone
@NotNull @NotNull ResourceAttributeDefinition<T> clone()
- Specified by:
clone
in interfaceDefinition
- Specified by:
clone
in interfaceItemDefinition<T>
- Specified by:
clone
in interfacePrismPropertyDefinition<T>
-
toMutable
MutableResourceAttributeDefinition<T> toMutable()
- Specified by:
toMutable
in interfaceDefinition
- Specified by:
toMutable
in interfaceItemDefinition<T>
- Specified by:
toMutable
in interfacePrismPropertyDefinition<T>
-
-