Interface ResourceAttributeContainer
-
- All Superinterfaces:
DebugDumpable
,Item
,Itemable
,ParentVisitable
,PathVisitable
,PrismContainer
,PrismContainerable
,Revivable
,Serializable
,Visitable
- All Known Implementing Classes:
ResourceAttributeContainerImpl
public interface ResourceAttributeContainer extends PrismContainer
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Item
acceptParentVisitor, add, add, add, addAll, addAll, applyDefinition, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkImmutability, clear, contains, contains, contains, containsEquivalentValue, containsEquivalentValue, diff, diff, equals, equals, equals, filterValues, findValue, getAllValues, getAnyValue, getClonedValues, getDisplayName, getElementName, getHelp, getHighestId, getParent, getPath, getPrismContext, getPrismContextLocal, getUserData, getUserData, getValues, hasCompleteDefinition, hashCode, hashCode, hashCode, hasNoValues, hasRaw, isImmutable, isIncomplete, isOperational, isRaw, isSingleValue, merge, modifyUnfrozen, modifyUnfrozen, normalize, recomputeAllValues, remove, remove, removeAll, replace, replaceAll, revive, setElementName, setImmutable, setIncomplete, setParent, setPrismContext, setUserData, size, valuesEqual
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContainer
accept, add, applyDefinition, assertDefinitions, canRepresent, canRepresent, checkConsistenceInternal, cloneComplex, containsItem, createDelta, createDelta, createNewValue, debugDump, deepCloneDefinition, diff, diff, diffModifications, diffModifications, equivalent, find, findContainer, findCreateItem, findCreateItem, findItem, findItem, findItem, findOrCreateContainer, findOrCreateItem, findOrCreateItem, findOrCreateProperty, findOrCreateReference, findPartial, findProperty, findReference, findValue, getCompileTimeClass, getPropertyRealValue, getRealValue, getRealValues, getValue, getValue, isEmpty, mergeValue, mergeValues, mergeValues, remove, removeContainer, removeItem, removeProperty, removeReference, setContainerRealValue, setDefinition, setPropertyRealValue, setPropertyRealValues, setValue, toString, trim, trimDefinitionTree
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContainerable
getComplexTypeDefinition
-
-
-
-
Method Detail
-
convertFromContainer
static ResourceAttributeContainer convertFromContainer(PrismContainer<?> origAttrContainer, ObjectClassComplexTypeDefinition objectClassDefinition) throws SchemaException
- Throws:
SchemaException
-
createEmptyContainer
static ResourceAttributeContainerImpl createEmptyContainer(QName elementName, ObjectClassComplexTypeDefinition objectClassDefinition)
-
getDefinition
ResourceAttributeContainerDefinition getDefinition()
Description copied from interface:PrismContainer
Returns applicable property container definition.May return null if no definition is applicable or the definition is not know.
- Specified by:
getDefinition
in interfaceItem
- Specified by:
getDefinition
in interfaceItemable
- Specified by:
getDefinition
in interfacePrismContainer
- Specified by:
getDefinition
in interfacePrismContainerable
- Returns:
- applicable property container definition
-
getAttributes
Collection<ResourceAttribute<?>> getAttributes()
-
add
void add(ResourceAttribute<?> attribute) throws SchemaException
- Throws:
SchemaException
-
getPrimaryIdentifier
PrismProperty<?> getPrimaryIdentifier()
-
getPrimaryIdentifiers
Collection<ResourceAttribute<?>> getPrimaryIdentifiers()
-
getSecondaryIdentifier
<T> PrismProperty<T> getSecondaryIdentifier()
-
getSecondaryIdentifiers
Collection<ResourceAttribute<?>> getSecondaryIdentifiers()
-
getAllIdentifiers
Collection<ResourceAttribute<?>> getAllIdentifiers()
-
extractAttributesByDefinitions
Collection<ResourceAttribute<?>> extractAttributesByDefinitions(Collection<? extends ResourceAttributeDefinition> definitions)
-
getDescriptionAttribute
ResourceAttribute<String> getDescriptionAttribute()
-
getNamingAttribute
ResourceAttribute<String> getNamingAttribute()
-
getDisplayNameAttribute
ResourceAttribute getDisplayNameAttribute()
-
getNativeObjectClass
String getNativeObjectClass()
-
getKind
ShadowKindType getKind()
-
isDefaultInAKind
boolean isDefaultInAKind()
-
findAttribute
<X> ResourceAttribute<X> findAttribute(QName attributeQName)
-
findAttribute
<X> ResourceAttribute<X> findAttribute(ResourceAttributeDefinition attributeDefinition)
-
findOrCreateAttribute
<X> ResourceAttribute<X> findOrCreateAttribute(ResourceAttributeDefinition attributeDefinition) throws SchemaException
- Throws:
SchemaException
-
findOrCreateAttribute
<X> ResourceAttribute<X> findOrCreateAttribute(QName attributeName) throws SchemaException
- Throws:
SchemaException
-
contains
<T> boolean contains(ResourceAttribute<T> attr)
-
clone
ResourceAttributeContainer clone()
Description copied from interface:Item
Literal clone.- Specified by:
clone
in interfaceItem
- Specified by:
clone
in interfacePrismContainer
-
-