Class RefinedAttributeDefinitionImpl<T>
- java.lang.Object
-
- com.evolveum.midpoint.prism.AbstractFreezable
-
- com.evolveum.midpoint.prism.impl.DefinitionImpl
-
- com.evolveum.midpoint.prism.impl.ItemDefinitionImpl<PrismProperty<T>>
-
- com.evolveum.midpoint.prism.impl.PrismPropertyDefinitionImpl<T>
-
- com.evolveum.midpoint.schema.processor.ResourceAttributeDefinitionImpl<T>
-
- com.evolveum.midpoint.common.refinery.RefinedAttributeDefinitionImpl<T>
-
- All Implemented Interfaces:
RefinedAttributeDefinition<T>,Definition,Freezable,ItemDefinition<PrismProperty<T>>,ItemDefinitionTestAccess,MutableDefinition,MutableItemDefinition<PrismProperty<T>>,MutablePrismPropertyDefinition<T>,PrismContextSensitive,PrismItemAccessDefinition,PrismPropertyDefinition<T>,Revivable,SmartVisitable<Definition>,Visitable<Definition>,MutableResourceAttributeDefinition<T>,ResourceAttributeDefinition<T>,DebugDumpable,Serializable,Cloneable
public class RefinedAttributeDefinitionImpl<T> extends ResourceAttributeDefinitionImpl<T> implements RefinedAttributeDefinition<T>
- Author:
- semancik
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Mutable
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleansecondaryIdentifierOverride-
Fields inherited from class com.evolveum.midpoint.prism.impl.ItemDefinitionImpl
heterogeneousListItem, itemName, substitutionHead
-
Fields inherited from class com.evolveum.midpoint.prism.impl.DefinitionImpl
deprecated, deprecatedSince, displayOrder, documentation, elaborate, emphasized, experimental, help, isAbstract, isRuntimeSchema, plannedRemoval, processing, typeName
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRefinedAttributeDefinitionImpl(ResourceAttributeDefinition<T> attrDef, PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanAdd()Returns true if the item can be added.booleancanAdd(LayerType layer)booleancanModify()Returns true if the item can be modified.booleancanModify(LayerType layer)booleancanRead()Returns true if the property can be read.booleancanRead(LayerType layer)@NotNull RefinedAttributeDefinitionImpl<T>clone()protected voidcopyDefinitionData(RefinedAttributeDefinitionImpl<T> clone)StringdebugDump(int indent)StringdebugDump(int indent, LayerType layer)RefinedAttributeDefinition<T>deepClone(Map<QName,ComplexTypeDefinition> ctdMap, Map<QName,ComplexTypeDefinition> onThisPath, Consumer<ItemDefinition> postCloneAction)Collection<? extends DisplayableValue<T>>getAllowedValues()Returns allowed values for this property.ResourceAttributeDefinition<T>getAttributeDefinition()StringgetDebugDumpClassName()Return a human readable name of this class suitable for logs.StringgetDescription()StringgetDisplayName()Returns display name.AttributeFetchStrategyTypegetFetchStrategy()StringgetFrameworkAttributeName()Returns name of the attribute as given in the connector framework.StringgetHelp()Returns help string.List<MappingType>getInboundMappingTypes()List<String>getIntolerantValuePattern()@NotNull ItemNamegetItemName()Returns name of the defined entity.PropertyLimitationsgetLimitations(LayerType layer)QNamegetMatchingRuleQName()Returns matching rule name.intgetMaxOccurs()Return the number of maximal value occurrences.intgetMaxOccurs(LayerType layer)intgetMinOccurs()Return the number of minimal value occurrences.intgetMinOccurs(LayerType layer)IntegergetModificationPriority()StringgetNativeAttributeName()Returns native attribute name.MappingTypegetOutboundMappingType()ItemProcessinggetProcessing(LayerType layer)BooleangetReadReplaceMode()AttributeStorageStrategyTypegetStorageStrategy()List<String>getTolerantValuePattern()@NotNull QNamegetTypeName()Returns a name of the type for this definition.QNamegetValueType()Returns QName of the property value type.booleanhasOutboundMapping()booleanisDisplayNameAttribute()booleanisExclusiveStrong()booleanisIgnored()Item definition that has this flag set should be ignored by any processing.booleanisIgnored(LayerType layer)booleanisMandatory(LayerType layer)booleanisMultiValue(LayerType layer)booleanisOptional(LayerType layer)booleanisReturnedByDefault()BooleanisSecondaryIdentifierOverride()booleanisSingleValue(LayerType layer)booleanisTolerant()booleanisVolatilityTrigger()voidsetAttributeDefinition(ResourceAttributeDefinition<T> attributeDefinition)voidsetCanAdd(boolean create)voidsetCanModify(boolean update)voidsetCanRead(boolean read)voidsetDescription(String description)voidsetDisplayName(String displayName)voidsetExclusiveStrong(boolean isExclusiveStrong)voidsetFetchStrategy(AttributeFetchStrategyType fetchStrategy)voidsetHelp(String help)voidsetInboundMappingTypes(List<MappingType> inboundAssignmentTypes)voidsetMatchingRuleQName(QName matchingRuleQName)voidsetMaxOccurs(int maxOccurs)voidsetMinOccurs(int minOccurs)voidsetModificationPriority(Integer modificationPriority)voidsetNativeAttributeName(String nativeAttributeName)voidsetOutboundMappingType(MappingType outboundMappingType)voidsetProcessing(ItemProcessing processing)voidsetReadOnly()voidsetReadReplaceMode(Boolean readReplaceMode)voidsetReturnedByDefault(Boolean returnedByDefault)voidsetSecondaryIdentifierOverride(Boolean secondaryIdentifier)voidsetStorageStrategy(AttributeStorageStrategyType storageStrategy)voidsetTolerant(boolean tolerant)voidsetVolatilityTrigger(boolean isVolatilityTrigger)Optional<ComplexTypeDefinition>structuredType()Returns complex type definition of item, if underlying value is possible structured.StringtoString()-
Methods inherited from class com.evolveum.midpoint.schema.processor.ResourceAttributeDefinitionImpl
copyDefinitionData, equals, extendToString, getReturnedByDefault, hashCode, instantiate, instantiate, isPrimaryIdentifier, isPrimaryIdentifier, isSecondaryIdentifier, setFrameworkAttributeName, toMutable
-
Methods inherited from class com.evolveum.midpoint.prism.impl.PrismPropertyDefinitionImpl
canBeDefinitionOf, copyDefinitionData, createEmptyDelta, defaultValue, getDocClassName, isIndexed, setIndexed
-
Methods inherited from class com.evolveum.midpoint.prism.impl.ItemDefinitionImpl
adoptElementDefinitionFrom, canBeDefinitionOf, copyDefinitionData, debugDumpShortToString, debugFlags, debugMultiplicity, deepClone, findItemDefinition, getNamespace, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isOperational, isOptional, isValidFor, isValidFor, replaceName, revive, setDynamic, setHeterogeneousListItem, setIndexOnly, setInherited, setItemName, setOperational, setSubstitutionHead, setValueEnumerationRef, useSerializationProxy, writeReplace
-
Methods inherited from class com.evolveum.midpoint.prism.impl.DefinitionImpl
accept, accept, addDiagram, addSchemaMigration, checkMutableOnExposing, copyDefinitionData, extendDumpHeader, getAnnotation, getDeprecatedSince, getDiagrams, getDisplayOrder, getDocumentation, getDocumentationPreview, getPlannedRemoval, getPrismContext, getProcessing, getSchemaMigrations, getTypeClass, getTypeClassIfKnown, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isRuntimeSchema, setAbstract, setAnnotation, setDeprecated, setDeprecatedSince, setDisplayOrder, setDocumentation, setElaborate, setEmphasized, setExperimental, setPlannedRemoval, setRuntimeSchema, setTypeName
-
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable, performFreeze
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Definition
debugDump, getAnnotation, getDeprecatedSince, getDiagrams, getDisplayOrder, getDocumentation, getDocumentationPreview, getMutabilityFlag, getPlannedRemoval, getProcessing, getSchemaMigrations, getSchemaRegistry, getTypeClassIfKnown, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, 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, findItemDefinition, getNamespace, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSingleValue, isValidFor, isValidFor, revive
-
Methods inherited from interface com.evolveum.midpoint.prism.MutableDefinition
addDiagram, addSchemaMigration, setDeprecated, setDisplayOrder, setDocumentation, setEmphasized, setExperimental, setRuntimeSchema, setTypeName
-
Methods inherited from interface com.evolveum.midpoint.prism.MutableItemDefinition
setDeprecatedSince, setDynamic, setElaborate, setHeterogeneousListItem, setIndexOnly, setItemName, setOperational, setPlannedRemoval, setSubstitutionHead, setValueEnumerationRef
-
Methods inherited from interface com.evolveum.midpoint.prism.MutablePrismPropertyDefinition
setIndexed, setInherited
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
createEmptyDelta, defaultValue, getTypeClass, isAnyType, isIndexed
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceAttributeDefinition
getReturnedByDefault, instantiate, instantiate, isPrimaryIdentifier, isPrimaryIdentifier, isSecondaryIdentifier, toMutable
-
Methods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
-
-
-
Field Detail
-
secondaryIdentifierOverride
protected Boolean secondaryIdentifierOverride
-
-
Constructor Detail
-
RefinedAttributeDefinitionImpl
protected RefinedAttributeDefinitionImpl(ResourceAttributeDefinition<T> attrDef, PrismContext prismContext)
-
-
Method Detail
-
setNativeAttributeName
public void setNativeAttributeName(String nativeAttributeName)
- Specified by:
setNativeAttributeNamein interfaceMutableResourceAttributeDefinition<T>- Overrides:
setNativeAttributeNamein classResourceAttributeDefinitionImpl<T>
-
isTolerant
public boolean isTolerant()
- Specified by:
isTolerantin interfaceRefinedAttributeDefinition<T>
-
setTolerant
public void setTolerant(boolean tolerant)
-
isSecondaryIdentifierOverride
public Boolean isSecondaryIdentifierOverride()
- Specified by:
isSecondaryIdentifierOverridein interfaceRefinedAttributeDefinition<T>
-
setSecondaryIdentifierOverride
public void setSecondaryIdentifierOverride(Boolean secondaryIdentifier)
-
canAdd
public boolean canAdd()
Description copied from class:ItemDefinitionImplReturns true if the item can be added. I.e. if it can be present in the object when a new object is created.- Specified by:
canAddin interfacePrismItemAccessDefinition- Overrides:
canAddin classItemDefinitionImpl<PrismProperty<T>>
-
canAdd
public boolean canAdd(LayerType layer)
- Specified by:
canAddin interfaceRefinedAttributeDefinition<T>
-
canRead
public boolean canRead()
Description copied from class:ItemDefinitionImplReturns true if the property can be read. I.e. if it is returned in objects retrieved from "get", "search" and similar operations.- Specified by:
canReadin interfacePrismItemAccessDefinition- Overrides:
canReadin classItemDefinitionImpl<PrismProperty<T>>
-
canRead
public boolean canRead(LayerType layer)
- Specified by:
canReadin interfaceRefinedAttributeDefinition<T>
-
canModify
public boolean canModify()
Description copied from class:ItemDefinitionImplReturns true if the item can be modified. I.e. if it can be changed during a modification of existing object.- Specified by:
canModifyin interfacePrismItemAccessDefinition- Overrides:
canModifyin classItemDefinitionImpl<PrismProperty<T>>
-
canModify
public boolean canModify(LayerType layer)
- Specified by:
canModifyin interfaceRefinedAttributeDefinition<T>
-
setReadOnly
public void setReadOnly()
- Specified by:
setReadOnlyin interfaceMutableItemDefinition<T>- Overrides:
setReadOnlyin classItemDefinitionImpl<PrismProperty<T>>
-
getValueType
public QName getValueType()
Description copied from interface:PrismPropertyDefinitionReturns QName of the property value type.The returned type is either XSD simple type or complex type. It may not be defined in the same schema (especially if it is standard XSD simple type).
- Specified by:
getValueTypein interfacePrismPropertyDefinition<T>- Overrides:
getValueTypein classPrismPropertyDefinitionImpl<T>- Returns:
- QName of the property value type NOTE: This is very strange property. Isn't it the same as typeName(). It is even not used in midPoint. Marking as deprecated.
-
setMinOccurs
public void setMinOccurs(int minOccurs)
- Specified by:
setMinOccursin interfaceMutableItemDefinition<T>- Overrides:
setMinOccursin classItemDefinitionImpl<PrismProperty<T>>
-
setMaxOccurs
public void setMaxOccurs(int maxOccurs)
- Specified by:
setMaxOccursin interfaceMutableItemDefinition<T>- Overrides:
setMaxOccursin classItemDefinitionImpl<PrismProperty<T>>
-
setCanRead
public void setCanRead(boolean read)
- Specified by:
setCanReadin interfaceMutableItemDefinition<T>- Overrides:
setCanReadin classItemDefinitionImpl<PrismProperty<T>>
-
setCanModify
public void setCanModify(boolean update)
- Specified by:
setCanModifyin interfaceMutableItemDefinition<T>- Overrides:
setCanModifyin classItemDefinitionImpl<PrismProperty<T>>
-
setCanAdd
public void setCanAdd(boolean create)
- Specified by:
setCanAddin interfaceMutableItemDefinition<T>- Overrides:
setCanAddin classItemDefinitionImpl<PrismProperty<T>>
-
isIgnored
public boolean isIgnored()
Description copied from interface:DefinitionItem definition that has this flag set should be ignored by any processing. The ignored item is still part of the schema. Item instances may appear in the serialized data formats (e.g. XML) or data store and the parser should not raise an error if it encounters them. But any high-level processing code should ignore presence of this item. E.g. it should not be displayed to the user, should not be present in transformed data structures, etc. Note that the same item can be ignored at higher layer (e.g. presentation) but not ignored at lower layer (e.g. model). This works by presenting different item definitions for these layers (see LayerRefinedAttributeDefinition). Semantics of this flag for complex type definitions is to be defined yet.- Specified by:
isIgnoredin interfaceDefinition- Overrides:
isIgnoredin classDefinitionImpl
-
isIgnored
public boolean isIgnored(LayerType layer)
- Specified by:
isIgnoredin interfaceRefinedAttributeDefinition<T>
-
getProcessing
public ItemProcessing getProcessing(LayerType layer)
- Specified by:
getProcessingin interfaceRefinedAttributeDefinition<T>
-
setProcessing
public void setProcessing(ItemProcessing processing)
- Specified by:
setProcessingin interfaceMutableDefinition- Overrides:
setProcessingin classDefinitionImpl
-
setHelp
public void setHelp(String help)
- Specified by:
setHelpin interfaceMutableDefinition- Overrides:
setHelpin classDefinitionImpl
-
getDisplayName
public String getDisplayName()
Description copied from interface:DefinitionReturns display name. Specifies the printable name of the object class or attribute. It must contain a printable string. It may also contain a key to catalog file. Returns null if no display name is set. Corresponds to "displayName" XSD annotation.- Specified by:
getDisplayNamein interfaceDefinition- Overrides:
getDisplayNamein classDefinitionImpl- Returns:
- display name string or catalog key
-
setDisplayName
public void setDisplayName(String displayName)
- Specified by:
setDisplayNamein interfaceMutableDefinition- Overrides:
setDisplayNamein classDefinitionImpl
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceRefinedAttributeDefinition<T>
-
setDescription
public void setDescription(String description)
-
getAttributeDefinition
public ResourceAttributeDefinition<T> getAttributeDefinition()
- Specified by:
getAttributeDefinitionin interfaceRefinedAttributeDefinition<T>
-
setAttributeDefinition
public void setAttributeDefinition(ResourceAttributeDefinition<T> attributeDefinition)
-
getOutboundMappingType
public MappingType getOutboundMappingType()
- Specified by:
getOutboundMappingTypein interfaceRefinedAttributeDefinition<T>
-
setOutboundMappingType
public void setOutboundMappingType(MappingType outboundMappingType)
-
hasOutboundMapping
public boolean hasOutboundMapping()
- Specified by:
hasOutboundMappingin interfaceRefinedAttributeDefinition<T>
-
getInboundMappingTypes
public List<MappingType> getInboundMappingTypes()
- Specified by:
getInboundMappingTypesin interfaceRefinedAttributeDefinition<T>
-
setInboundMappingTypes
public void setInboundMappingTypes(List<MappingType> inboundAssignmentTypes)
-
getItemName
@NotNull public @NotNull ItemName getItemName()
Description copied from class:ItemDefinitionImplReturns name of the defined entity. The name is a name of the entity instance if it is fixed by the schema. E.g. it may be a name of the property in the container that cannot be changed. The name corresponds to the XML element name in the XML representation of the schema. It does NOT correspond to a XSD type name. Name is optional. If name is not set the null value is returned. If name is not set the type is "abstract", does not correspond to the element.- Specified by:
getItemNamein interfaceItemDefinition<T>- Overrides:
getItemNamein classItemDefinitionImpl<PrismProperty<T>>- Returns:
- the name name of the entity or null.
-
getTypeName
@NotNull public @NotNull QName getTypeName()
Description copied from interface:DefinitionReturns a name of the type for this definition. The type can be part of the compile-time schema or it can be defined at run time. Examples of the former case are types like c:UserType, xsd:string, or even flexible ones like c:ExtensionType or c:ShadowAttributesType. Examples of the latter case are types used in - custom extensions, like ext:LocationsType (where ext = e.g. http://example.com/extension), - resource schema, like ri:inetOrgPerson (ri = http://.../resource/instance-3), - connector schema, like TODO In XML representation that corresponds to the name of the XSD type. Although beware, the run-time types do not have statically defined structure. And the resource and connector-related types may even represent different kinds of objects within different contexts (e.g. two distinct resources both with ri:AccountObjectClass types). Also note that for complex type definitions, the type name serves as a unique identifier. On the other hand, for item definitions, it is just one of its attributes; primary key is item name in that case. The type name should be fully qualified. (TODO reconsider this)- Specified by:
getTypeNamein interfaceDefinition- Overrides:
getTypeNamein classDefinitionImpl- Returns:
- the type name
-
getNativeAttributeName
public String getNativeAttributeName()
Description copied from class:ResourceAttributeDefinitionImplReturns native attribute name. Native name of the attribute is a name as it is used on the resource or as seen by the connector. It is used for diagnostics purposes and may be used by the connector itself. As the attribute names in XSD have to comply with XML element name limitations, this may be the only way how to determine original attribute name. Returns null if native attribute name is not set or unknown. The name should be the same as the one used by the resource, if the resource supports naming of attributes. E.g. in case of LDAP this annotation should contain "cn", "givenName", etc. If the resource is not that flexible, the native attribute names may be hardcoded (e.g. "username", "homeDirectory") or may not be present at all.- Specified by:
getNativeAttributeNamein interfaceResourceAttributeDefinition<T>- Overrides:
getNativeAttributeNamein classResourceAttributeDefinitionImpl<T>- Returns:
- native attribute name
-
getFrameworkAttributeName
public String getFrameworkAttributeName()
Description copied from class:ResourceAttributeDefinitionImplReturns name of the attribute as given in the connector framework. This is not used for any significant logic. It is mostly for diagnostics.- Specified by:
getFrameworkAttributeNamein interfaceResourceAttributeDefinition<T>- Overrides:
getFrameworkAttributeNamein classResourceAttributeDefinitionImpl<T>- Returns:
- name of the attribute as given in the connector framework.
-
getAllowedValues
public Collection<? extends DisplayableValue<T>> getAllowedValues()
Description copied from class:PrismPropertyDefinitionImplReturns allowed values for this property.- Specified by:
getAllowedValuesin interfacePrismPropertyDefinition<T>- Overrides:
getAllowedValuesin classPrismPropertyDefinitionImpl<T>- Returns:
- Object array. May be null.
-
isReturnedByDefault
public boolean isReturnedByDefault()
- Specified by:
isReturnedByDefaultin interfaceResourceAttributeDefinition<T>- Overrides:
isReturnedByDefaultin classResourceAttributeDefinitionImpl<T>
-
setReturnedByDefault
public void setReturnedByDefault(Boolean returnedByDefault)
- Specified by:
setReturnedByDefaultin interfaceMutableResourceAttributeDefinition<T>- Overrides:
setReturnedByDefaultin classResourceAttributeDefinitionImpl<T>
-
getMaxOccurs
public int getMaxOccurs()
Description copied from class:ItemDefinitionImplReturn the number of maximal value occurrences.Any negative number means "unbounded".
- Specified by:
getMaxOccursin interfaceItemDefinition<T>- Overrides:
getMaxOccursin classItemDefinitionImpl<PrismProperty<T>>- Returns:
- the maxOccurs
-
getMaxOccurs
public int getMaxOccurs(LayerType layer)
- Specified by:
getMaxOccursin interfaceRefinedAttributeDefinition<T>
-
getMinOccurs
public int getMinOccurs()
Description copied from class:ItemDefinitionImplReturn the number of minimal value occurrences.- Specified by:
getMinOccursin interfaceItemDefinition<T>- Overrides:
getMinOccursin classItemDefinitionImpl<PrismProperty<T>>- Returns:
- the minOccurs
-
getMinOccurs
public int getMinOccurs(LayerType layer)
- Specified by:
getMinOccursin interfaceRefinedAttributeDefinition<T>
-
isOptional
public boolean isOptional(LayerType layer)
- Specified by:
isOptionalin interfaceRefinedAttributeDefinition<T>
-
isMandatory
public boolean isMandatory(LayerType layer)
- Specified by:
isMandatoryin interfaceRefinedAttributeDefinition<T>
-
isMultiValue
public boolean isMultiValue(LayerType layer)
- Specified by:
isMultiValuein interfaceRefinedAttributeDefinition<T>
-
isSingleValue
public boolean isSingleValue(LayerType layer)
- Specified by:
isSingleValuein interfaceRefinedAttributeDefinition<T>
-
isExclusiveStrong
public boolean isExclusiveStrong()
- Specified by:
isExclusiveStrongin interfaceRefinedAttributeDefinition<T>
-
setExclusiveStrong
public void setExclusiveStrong(boolean isExclusiveStrong)
-
getLimitations
public PropertyLimitations getLimitations(LayerType layer)
- Specified by:
getLimitationsin interfaceRefinedAttributeDefinition<T>
-
getHelp
public String getHelp()
Description copied from interface:DefinitionReturns help string. Specifies the help text or a key to catalog file for a help text. The help text may be displayed in any suitable way by the GUI. It should explain the meaning of an attribute or object class. Returns null if no help string is set. Corresponds to "help" XSD annotation.- Specified by:
getHelpin interfaceDefinition- Overrides:
getHelpin classDefinitionImpl- Returns:
- help string or catalog key
-
getFetchStrategy
public AttributeFetchStrategyType getFetchStrategy()
- Specified by:
getFetchStrategyin interfaceRefinedAttributeDefinition<T>
-
setFetchStrategy
public void setFetchStrategy(AttributeFetchStrategyType fetchStrategy)
-
getStorageStrategy
public AttributeStorageStrategyType getStorageStrategy()
- Specified by:
getStorageStrategyin interfaceRefinedAttributeDefinition<T>
-
setStorageStrategy
public void setStorageStrategy(AttributeStorageStrategyType storageStrategy)
-
getMatchingRuleQName
public QName getMatchingRuleQName()
Description copied from class:PrismPropertyDefinitionImplReturns matching rule name. Matching rules are algorithms that specify how to compare, normalize and/or order the values. E.g. there are matching rules for case insensitive string comparison, for LDAP DNs, etc.- Specified by:
getMatchingRuleQNamein interfacePrismPropertyDefinition<T>- Overrides:
getMatchingRuleQNamein classPrismPropertyDefinitionImpl<T>- Returns:
- matching rule name
-
setMatchingRuleQName
public void setMatchingRuleQName(QName matchingRuleQName)
- Specified by:
setMatchingRuleQNamein interfaceMutablePrismPropertyDefinition<T>- Overrides:
setMatchingRuleQNamein classPrismPropertyDefinitionImpl<T>
-
getTolerantValuePattern
public List<String> getTolerantValuePattern()
- Specified by:
getTolerantValuePatternin interfaceRefinedAttributeDefinition<T>
-
getIntolerantValuePattern
public List<String> getIntolerantValuePattern()
- Specified by:
getIntolerantValuePatternin interfaceRefinedAttributeDefinition<T>
-
isVolatilityTrigger
public boolean isVolatilityTrigger()
- Specified by:
isVolatilityTriggerin interfaceRefinedAttributeDefinition<T>
-
setVolatilityTrigger
public void setVolatilityTrigger(boolean isVolatilityTrigger)
-
clone
@NotNull public @NotNull RefinedAttributeDefinitionImpl<T> clone()
- Specified by:
clonein interfaceDefinition- Specified by:
clonein interfaceItemDefinition<T>- Specified by:
clonein interfaceMutablePrismPropertyDefinition<T>- Specified by:
clonein interfacePrismPropertyDefinition<T>- Specified by:
clonein interfaceRefinedAttributeDefinition<T>- Specified by:
clonein interfaceResourceAttributeDefinition<T>- Overrides:
clonein classResourceAttributeDefinitionImpl<T>
-
copyDefinitionData
protected void copyDefinitionData(RefinedAttributeDefinitionImpl<T> clone)
-
deepClone
public RefinedAttributeDefinition<T> deepClone(Map<QName,ComplexTypeDefinition> ctdMap, Map<QName,ComplexTypeDefinition> onThisPath, Consumer<ItemDefinition> postCloneAction)
- Specified by:
deepClonein interfaceItemDefinition<T>- Specified by:
deepClonein interfaceRefinedAttributeDefinition<T>- Overrides:
deepClonein classItemDefinitionImpl<PrismProperty<T>>
-
toString
public String toString()
- Overrides:
toStringin classItemDefinitionImpl<PrismProperty<T>>
-
getDebugDumpClassName
public String getDebugDumpClassName()
Return a human readable name of this class suitable for logs.- Overrides:
getDebugDumpClassNamein classResourceAttributeDefinitionImpl<T>
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDumpin interfaceDebugDumpable- Overrides:
debugDumpin classDefinitionImpl
-
debugDump
public String debugDump(int indent, LayerType layer)
- Specified by:
debugDumpin interfaceRefinedAttributeDefinition<T>
-
setModificationPriority
public void setModificationPriority(Integer modificationPriority)
-
getModificationPriority
public Integer getModificationPriority()
- Specified by:
getModificationPriorityin interfaceRefinedAttributeDefinition<T>
-
getReadReplaceMode
public Boolean getReadReplaceMode()
- Specified by:
getReadReplaceModein interfaceRefinedAttributeDefinition<T>
-
setReadReplaceMode
public void setReadReplaceMode(Boolean readReplaceMode)
-
isDisplayNameAttribute
public boolean isDisplayNameAttribute()
- Specified by:
isDisplayNameAttributein interfaceRefinedAttributeDefinition<T>
-
structuredType
public Optional<ComplexTypeDefinition> structuredType()
Description copied from interface:ItemDefinitionReturns complex type definition of item, if underlying value is possible structured. NOTE: This seems weird, since properties and references are simple values, but actually object reference is serialized as structured value and some of properties are also.- Specified by:
structuredTypein interfaceItemDefinition<T>- Overrides:
structuredTypein classPrismPropertyDefinitionImpl<T>- Returns:
-
-