Interface RawResourceAttributeDefinition<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>
,MutableRawResourceAttributeDefinition<T>
,PartiallyMutableItemDefinition.Attribute<T>
,RefinedAttributeDefinitionDelegator<T>
,ResourceAttributeDefinition<T>
,ResourceAttributeWrapper<T>
- All Known Implementing Classes:
RawResourceAttributeDefinitionImpl
,ResourceAttributeDefinitionImpl
,ResourceAttributeWrapperImpl
,TransformablePropertyDefinition.RefinedAttribute
,TransformablePropertyDefinition.ResourceAttribute
public interface RawResourceAttributeDefinition<T> extends PrismPropertyDefinition<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 String
getFrameworkAttributeName()
Returns name of the attribute as given in the connector framework.String
getNativeAttributeName()
Returns native attribute name.@Nullable Boolean
getReturnedByDefault()
Is this attribute returned by default? (I.e.@NotNull ResourceAttribute<T>
instantiate()
TODO what to do with this?@NotNull ResourceAttribute<T>
instantiate(QName name)
TODO what to do with this?default boolean
isReturnedByDefault()
Is this attribute returned by default? (I.e.-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Definition
debugDump, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getSchemaMigrations, getSchemaRegistry, 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, findItemDefinition, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSingleValue, isValidFor, 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
clone, createEmptyDelta, defaultValue, getAllowedValues, getMatchingRuleQName, getSuggestedValues, getTypeClass, isAnyType, isIndexed, toMutable
-
Methods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
-
-
-
Method Detail
-
getReturnedByDefault
@Nullable @Nullable Boolean getReturnedByDefault()
Is this attribute returned by default? (I.e. if no specific options are sent to the connector?)
-
isReturnedByDefault
default boolean isReturnedByDefault()
Is this attribute returned by default? (I.e. if no specific options are sent to the connector?)
-
getNativeAttributeName
String getNativeAttributeName()
Returns 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.- Returns:
- native attribute name
-
getFrameworkAttributeName
String getFrameworkAttributeName()
Returns name of the attribute as given in the connector framework. This is not used for any significant logic. It is mostly for diagnostics.- Returns:
- name of the attribute as given in the connector framework.
-
instantiate
@NotNull @NotNull ResourceAttribute<T> instantiate()
TODO what to do with this?- Specified by:
instantiate
in interfaceItemDefinition<T>
- Specified by:
instantiate
in interfacePrismPropertyDefinition<T>
-
instantiate
@NotNull @NotNull ResourceAttribute<T> instantiate(QName name)
TODO what to do with this?- Specified by:
instantiate
in interfaceItemDefinition<T>
- Specified by:
instantiate
in interfacePrismPropertyDefinition<T>
-
-