Interface ResourceAttribute<T>
- All Superinterfaces:
- DebugDumpable,- Freezable,- Item<PrismPropertyValue<T>,,- PrismPropertyDefinition<T>> - Itemable,- ParentVisitable,- PathVisitable,- PrismContextSensitive,- PrismProperty<T>,- Revivable,- Serializable,- Visitable
- All Known Implementing Classes:
- ResourceAttributeImpl
/**
 Resource Object Attribute is a Property of Resource Object. All that applies
 to property applies also to attribute, e.g. only a whole attributes can be
 changed, they may be simple or complex types, they should be representable in
 XML, etc. In addition, attribute definition may have some annotations that
 suggest its purpose and use on the Resource.
 Resource Object Attribute understands resource-specific annotations such as
 native attribute name.
 Resource Object Attribute is mutable.
- Author:
- Radovan Semancik
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.FreezablecheckImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.ItemacceptParentVisitor, add, add, addAll, addAll, addIgnoringEquivalents, addRespectingMetadataAndCloning, applyDefinition, applyDefinition, assertDefinitions, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistenceInternal, clear, contains, contains, copy, diff, diff, equals, equals, equals, filterValues, filterYields, find, findValue, findValue, getAllItems, getAllValues, getAnyValue, getAnyValue, getClonedValues, getDisplayName, getElementName, getHelp, getHighestId, getParent, getPath, getPrismContextLocal, getRealValue, getRealValuesArray, getRealValuesOrRawTypes, getUserData, getUserData, getValue, getValues, hasAnyValue, hasCompleteDefinition, hashCode, hashCode, hashCode, hasNoValues, hasRaw, isEmpty, isIncomplete, isOperational, isRaw, isSingleValue, isSingleValueByDefinition, merge, normalize, recomputeAllValues, remove, remove, removeAll, removeIf, removeRespectingMetadata, replace, replaceAll, setDefinition, setElementName, setIncomplete, setParent, setPrismContext, setUserData, size, valuesStreamMethods inherited from interface com.evolveum.midpoint.prism.PathVisitableacceptMethods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitivegetPrismContextMethods inherited from interface com.evolveum.midpoint.prism.PrismPropertyaddRealValue, addRealValues, addRealValueSkipUniquenessCheck, addValue, addValues, cloneComplex, createDelta, createDelta, createImmutableClone, deleteValue, deleteValues, diff, diff, findPartial, getAnyRealValue, getRealValue, getRealValues, getRealValues, getValue, getValueClass, getValues, hasRealValue, replaceValues, setRealValue, setRealValues, setValue, toHumanReadableString
- 
Method Details- 
getDefinitionResourceAttributeDefinition<T> getDefinition()Description copied from interface:ItemReturns applicable definition.May return null if no definition is applicable or the definition is not known. - Specified by:
- getDefinitionin interface- Item<PrismPropertyValue<T>,- PrismPropertyDefinition<T>> 
- Specified by:
- getDefinitionin interface- Itemable
- Returns:
- applicable definition
 
- 
getNativeAttributeNameReturns 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
 
- 
cloneResourceAttribute<T> clone()Description copied from interface:ItemLiteral clone.- Specified by:
- clonein interface- Item<PrismPropertyValue<T>,- PrismPropertyDefinition<T>> 
- Specified by:
- clonein interface- PrismProperty<T>
 
 
-