Interface ResourceAttributeDefinition<T>
-
- All Superinterfaces:
Cloneable
,DebugDumpable
,Definition
,ItemDefinition<PrismProperty<T>>
,PrismPropertyDefinition<T>
,Revivable
,Serializable
,Visitable
- All Known Subinterfaces:
LayerRefinedAttributeDefinition<T>
,MutableResourceAttributeDefinition<T>
,RefinedAttributeDefinition<T>
- All Known Implementing Classes:
LayerRefinedAttributeDefinitionImpl
,RefinedAttributeDefinitionImpl
,ResourceAttributeDefinitionImpl
public interface ResourceAttributeDefinition<T> extends PrismPropertyDefinition<T>
- Author:
- mederly
-
-
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 ResourceAttributeDefinition<T>
clone()
String
getFrameworkAttributeName()
String
getNativeAttributeName()
Boolean
getReturnedByDefault()
ResourceAttribute<T>
instantiate()
Create an item instance.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, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getPlannedRemoval, getPrismContext, getProcessing, getSchemaMigrations, getSchemaRegistry, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema, setAnnotation
-
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, debugDumpShortToString, deepClone, deepClone, findItemDefinition, getItemName, getMaxOccurs, getMinOccurs, getNamespace, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSingleValue, isValidFor, isValidFor, revive
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
createEmptyDelta, defaultValue, getAllowedValues, getMatchingRuleQName, getTypeClass, getValueType, isAnyType, isIndexed
-
-
-
-
Method Detail
-
instantiate
@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 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 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>
-
-