Class RawResourceAttributeDefinitionImpl<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.RawResourceAttributeDefinitionImpl<T>
- All Implemented Interfaces:
- Definition,- Freezable,- ItemDefinition<PrismProperty<T>>,- ItemDefinitionTestAccess,- MutableDefinition,- MutableItemDefinition<PrismProperty<T>>,- MutablePrismPropertyDefinition<T>,- PrismContextSensitive,- PrismItemAccessDefinition,- PrismPropertyDefinition<T>,- Revivable,- SmartVisitable<Definition>,- Visitable<Definition>,- MutableRawResourceAttributeDefinition<T>,- RawResourceAttributeDefinition<T>,- DebugDumpable,- Serializable,- Cloneable
public class RawResourceAttributeDefinitionImpl<T>
extends PrismPropertyDefinitionImpl<T>
implements MutableRawResourceAttributeDefinition<T>
A structure holding "raw" definition of a resource attribute, i.e. definition obtained from the connector.
 To be used _solely_ within 
ResourceAttributeDefinitionImpl.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinitionPrismItemAccessDefinition.Mutable
- 
Field SummaryFields inherited from class com.evolveum.midpoint.prism.impl.ItemDefinitionImplheterogeneousListItem, itemName, substitutionHeadFields inherited from class com.evolveum.midpoint.prism.impl.DefinitionImpldeprecated, deprecatedSince, displayName, displayOrder, documentation, elaborate, emphasized, experimental, help, isAbstract, isRuntimeSchema, plannedRemoval, processing, removed, removedSince, typeNameFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescription@NotNull RawResourceAttributeDefinitionImpl<T>clone()booleanprotected voidprotected StringReturn a human readable name of this class suitable for logs.Returns name of the attribute as given in the connector framework.Returns native attribute name.Is this attribute returned by default?inthashCode()@NotNull ResourceAttribute<T>Create an item instance.@NotNull ResourceAttribute<T>instantiate(QName name) Create an item instance.voidsetFrameworkAttributeName(String frameworkAttributeName) voidsetNativeAttributeName(String nativeAttributeName) voidsetReturnedByDefault(Boolean returnedByDefault) @NotNull MutableRawResourceAttributeDefinition<T>Returns an interface to mutate this definition.Methods inherited from class com.evolveum.midpoint.prism.impl.PrismPropertyDefinitionImplcanBeDefinitionOf, copyDefinitionDataFrom, createEmptyDelta, defaultValue, getAllowedValues, getDocClassName, getMatchingRuleQName, getSuggestedValues, isIndexed, setAllowedValues, setIndexed, setMatchingRuleQName, setSuggestedValues, structuredTypeMethods inherited from class com.evolveum.midpoint.prism.impl.ItemDefinitionImpladoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canModify, canRead, copyDefinitionDataFrom, debugDisplayOrder, debugDumpShortToString, debugFlags, debugMultiplicity, deepClone, findItemDefinition, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isOperational, isSearchable, isValidFor, replaceName, revive, setCanAdd, setCanModify, setCanRead, setDynamic, setHeterogeneousListItem, setIndexOnly, setInherited, setItemName, setMaxOccurs, setMinOccurs, setOperational, setReadOnly, setSearchable, setSubstitutionHead, setValueEnumerationRef, toString, useSerializationProxy, writeReplaceMethods inherited from class com.evolveum.midpoint.prism.impl.DefinitionImplaccept, accept, addDiagram, addSchemaMigration, checkMutableOnExposing, copyDefinitionDataFrom, debugDump, extendDumpHeader, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getPlannedRemoval, getPrismContext, getProcessing, getRemovedSince, getSchemaMigrations, getTypeClass, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, setAbstract, setAnnotation, setDeprecated, setDeprecatedSince, setDisplayName, setDisplayOrder, setDocumentation, setElaborate, setEmphasized, setExperimental, setHelp, setPlannedRemoval, setProcessing, setRemoved, setRemovedSince, setRuntimeSchema, setTypeNameMethods inherited from class com.evolveum.midpoint.prism.AbstractFreezablefreeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable, performFreezeMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.DefinitiondebugDump, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getRemovedSince, getSchemaMigrations, getSchemaRegistry, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, setAnnotationMethods inherited from interface com.evolveum.midpoint.prism.FreezablecheckImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.ItemDefinitionadoptElementDefinitionFrom, canBeDefinitionOf, canBeDefinitionOf, debugDumpShortToString, deepClone, findItemDefinition, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSearchable, isSingleValue, isValidFor, structuredTypeMethods inherited from interface com.evolveum.midpoint.prism.MutableDefinitionaddDiagram, addSchemaMigration, setDeprecated, setDisplayName, setDisplayOrder, setDocumentation, setEmphasized, setExperimental, setHelp, setProcessing, setRemoved, setRemovedSince, setRuntimeSchema, setTypeNameMethods inherited from interface com.evolveum.midpoint.prism.MutableItemDefinitionsetCanAdd, setCanModify, setCanRead, setDeprecatedSince, setDynamic, setElaborate, setHeterogeneousListItem, setIndexOnly, setItemName, setMaxOccurs, setMinOccurs, setOperational, setPlannedRemoval, setReadOnly, setSearchable, setSubstitutionHead, setValueEnumerationRefMethods inherited from interface com.evolveum.midpoint.prism.MutablePrismPropertyDefinitionsetAllowedValues, setIndexed, setInherited, setMatchingRuleQName, setSuggestedValuesMethods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitivegetPrismContextMethods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinitioncanAdd, canModify, canReadMethods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinitioncreateEmptyDelta, defaultValue, getAllowedValues, getMatchingRuleQName, getSuggestedValues, getTypeClass, isAnyType, isIndexedMethods inherited from interface com.evolveum.midpoint.schema.processor.RawResourceAttributeDefinitionisReturnedByDefaultMethods inherited from interface com.evolveum.midpoint.prism.SmartVisitableaccept
- 
Method Details- 
instantiateDescription copied from interface:ItemDefinitionCreate an item instance. Definition name or default name will be used as an element name for the instance. The instance will otherwise be empty.- Specified by:
- instantiatein interface- ItemDefinition<T>
- Specified by:
- instantiatein interface- PrismPropertyDefinition<T>
- Specified by:
- instantiatein interface- RawResourceAttributeDefinition<T>
- Overrides:
- instantiatein class- PrismPropertyDefinitionImpl<T>
 
- 
instantiateDescription copied from interface:ItemDefinitionCreate an item instance. Definition name will use provided name. for the instance. The instance will otherwise be empty.- Specified by:
- instantiatein interface- ItemDefinition<T>
- Specified by:
- instantiatein interface- PrismPropertyDefinition<T>
- Specified by:
- instantiatein interface- RawResourceAttributeDefinition<T>
- Overrides:
- instantiatein class- PrismPropertyDefinitionImpl<T>
 
- 
getReturnedByDefaultDescription copied from interface:RawResourceAttributeDefinitionIs this attribute returned by default? (I.e. if no specific options are sent to the connector?)- Specified by:
- getReturnedByDefaultin interface- RawResourceAttributeDefinition<T>
 
- 
setReturnedByDefault- Specified by:
- setReturnedByDefaultin interface- MutableRawResourceAttributeDefinition<T>
 
- 
getNativeAttributeNameDescription copied from interface:RawResourceAttributeDefinitionReturns 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 interface- RawResourceAttributeDefinition<T>
- Returns:
- native attribute name
 
- 
setNativeAttributeName- Specified by:
- setNativeAttributeNamein interface- MutableRawResourceAttributeDefinition<T>
 
- 
getFrameworkAttributeNameDescription copied from interface:RawResourceAttributeDefinitionReturns 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 interface- RawResourceAttributeDefinition<T>
- Returns:
- name of the attribute as given in the connector framework.
 
- 
setFrameworkAttributeName- Specified by:
- setFrameworkAttributeNamein interface- MutableRawResourceAttributeDefinition<T>
 
- 
clone- Specified by:
- clonein interface- Definition
- Specified by:
- clonein interface- ItemDefinition<T>
- Specified by:
- clonein interface- MutablePrismPropertyDefinition<T>
- Specified by:
- clonein interface- PrismPropertyDefinition<T>
- Overrides:
- clonein class- PrismPropertyDefinitionImpl<T>
 
- 
equals- Overrides:
- equalsin class- PrismPropertyDefinitionImpl<T>
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- PrismPropertyDefinitionImpl<T>
 
- 
extendToString- Overrides:
- extendToStringin class- PrismPropertyDefinitionImpl<T>
 
- 
getDebugDumpClassNameReturn a human readable name of this class suitable for logs.- Overrides:
- getDebugDumpClassNamein class- PrismPropertyDefinitionImpl<T>
 
- 
toMutableDescription copied from interface:DefinitionReturns an interface to mutate this definition.- Specified by:
- toMutablein interface- Definition
- Specified by:
- toMutablein interface- ItemDefinition<T>
- Specified by:
- toMutablein interface- PrismPropertyDefinition<T>
- Overrides:
- toMutablein class- PrismPropertyDefinitionImpl<T>
 
 
-