Class ResourceObjectClassDefinitionImpl
- java.lang.Object
-
- com.evolveum.midpoint.prism.AbstractFreezable
-
- com.evolveum.midpoint.schema.processor.AbstractResourceObjectDefinitionImpl
-
- com.evolveum.midpoint.schema.processor.ResourceObjectClassDefinitionImpl
-
- All Implemented Interfaces:
ComplexTypeDefinition,Definition,Freezable,LocalItemDefinitionStore,MutableComplexTypeDefinition,MutableDefinition,MutableTypeDefinition,PrismContextSensitive,Revivable,SmartVisitable<Definition>,TypeDefinition,Visitable<Definition>,AssociationDefinitionStore,AttributeDefinitionStore,IdentifiersDefinitionStore,LayeredDefinition,MutableResourceObjectClassDefinition,ResourceObjectClassDefinition,ResourceObjectDefinition,DebugDumpable,Serializable,Cloneable
public class ResourceObjectClassDefinitionImpl extends AbstractResourceObjectDefinitionImpl implements MutableResourceObjectClassDefinition
Default implementation ofResourceObjectClassDefinition.- Author:
- semancik
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.schema.processor.AbstractResourceObjectDefinitionImpl
attributeDefinitions, primaryIdentifiersNames, secondaryIdentifiersNames
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ResourceObjectClassDefinitionImpl(@NotNull QName objectClassName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDiagram(ItemDiagramSpecification diagram)voidaddPrimaryIdentifierName(QName name)voidaddSchemaMigration(SchemaMigration schemaMigration)voidaddSecondaryIdentifierName(QName name)voidaddSubstitution(ItemDefinition<?> itemDef, ItemDefinition<?> maybeSubst)@NotNull ResourceObjectClassDefinitionImplclone()Does a shallow clone of this definition (i.e.protected ResourceObjectClassDefinitionImplcloneInLayer(@NotNull LayerType layer)protected voidcopyDefinitionDataFrom(@NotNull LayerType layer, ResourceObjectClassDefinition source)<T> ResourceAttributeDefinition<T>createAttributeDefinition(@NotNull QName name, @NotNull QName typeName, @NotNull Consumer<MutableRawResourceAttributeDefinition<?>> consumer)Returned value is immutable.MutablePrismPropertyDefinition<?>createPropertyDefinition(String name, QName typeName)MutablePrismPropertyDefinition<?>createPropertyDefinition(QName name, QName typeName)@NotNull ResourceObjectClassDefinitiondeepClone(@NotNull DeepCloneOperation operation)Does a deep clone of this definition.voiddelete(QName itemName)booleanequals(Object o)ResourceActivationDefinitionTypegetActivationSchemaHandling()@NotNull Collection<ResourceAssociationDefinition>getAssociationDefinitions()Returns definitions of all associations as an unmodifiable collection.@NotNull Collection<ResourceObjectDefinition>getAuxiliaryDefinitions()TODO define semantics (it's different forCompositeObjectDefinitionand the others!ResourceBidirectionalMappingAndDefinitionTypegetAuxiliaryObjectClassMappings()ResourceObjectReferenceTypegetBaseContext()The definition of base context (resource object container).@Nullable CapabilitiesTypegetConfiguredCapabilities()Returns configured capabilities for given refined object class definition.StringgetDebugDumpClassName()Return a human readable name of this class suitable for logs.@Nullable DefaultInboundMappingEvaluationPhasesTypegetDefaultInboundMappingEvaluationPhases()Returns the phases in which inbound mappings are evaluated by default.StringgetDescription()Free-form textual description of the object.@Nullable QNamegetDescriptionAttributeName()Returns name of the description attribute.StringgetDisplayName()Returns display name.@Nullable QNamegetDisplayNameAttributeName()Returns name of the display name attribute.<T extends CapabilityType>
TgetEffectiveCapability(Class<T> capabilityClass, ResourceType resource)TODOStringgetHumanReadableName()TODO@Nullable QNamegetNamingAttributeName()Returns name of the naming attribute.StringgetNativeObjectClass()Returns the native object class name.@NotNull ResourceObjectClassDefinitiongetObjectClassDefinition()Returns the object class definition.@NotNull QNamegetObjectClassName()Returns the name of the object class.ResourceObjectMultiplicityTypegetObjectMultiplicity()@Nullable ResourcePasswordDefinitionTypegetPasswordDefinition()ProjectionPolicyTypegetProjectionPolicy()@NotNull Collection<ResourceObjectPattern>getProtectedObjectPatterns()Returns compiled patterns denoting protected objects.StringgetResourceOid()This is currently used only to pass information about association in the model-impl TODO consider removal!SearchHierarchyScopegetSearchHierarchyScope()Definition of search hierarchy scope.ObjectReferenceTypegetSecurityPolicyRef()@NotNull ResourceObjectVolatilityTypegetVolatility()Specifies volatility of this type of resource objects, i.e.booleanhasAuxiliaryObjectClass(QName expectedObjectClassName)TODO define semantics (it's different forCompositeObjectDefinitionand the others!inthashCode()booleanhasSubstitutions()ResourceAttributeContainerinstantiate(@NotNull ItemName elementName)Creates aResourceAttributeContainerinstance with this definition as its complex type definition.static ResourceAttributeContainerinstantiate(@NotNull QName elementName, @NotNull ResourceObjectClassDefinition objectClassDefinition)booleanisAuxiliary()TODObooleanisDefaultAccountDefinition()Indicates whether definition is the default account definition.voidsetAbstract(boolean value)voidsetAuxiliary(boolean auxiliary)voidsetCompileTimeClass(Class<?> compileTimeClass)voidsetContainerMarker(boolean value)voidsetDefaultAccountDefinition(boolean value)voidsetDefaultNamespace(String namespace)voidsetDeprecated(boolean deprecated)voidsetDescriptionAttributeName(QName name)voidsetDisplayName(String displayName)voidsetDisplayNameAttributeName(QName name)voidsetDisplayOrder(Integer displayOrder)voidsetDocumentation(String value)voidsetEmphasized(boolean emphasized)voidsetExperimental(boolean experimental)voidsetExtensionForType(QName type)voidsetHelp(String help)voidsetIgnoredNamespaces(@NotNull List<String> ignoredNamespaces)voidsetInstantiationOrder(Integer order)voidsetListMarker(boolean value)voidsetNamingAttributeName(QName name)voidsetNativeObjectClass(String nativeObjectClass)voidsetObjectMarker(boolean value)voidsetProcessing(ItemProcessing processing)voidsetReferenceMarker(boolean value)voidsetRuntimeSchema(boolean value)voidsetSuperType(QName superType)voidsetTypeName(QName typeName)voidsetXsdAnyMarker(boolean value)Optional<ItemDefinition<?>>substitution(QName name)MutableResourceObjectClassDefinitiontoMutable()Returns an interface to mutate this definition.StringtoString()-
Methods inherited from class com.evolveum.midpoint.schema.processor.AbstractResourceObjectDefinitionImpl
accept, accept, add, addDebugDumpHeaderExtension, addInternal, canRepresent, computePrismObjectDefinition, copyDefinitionDataFrom, createBlankShadow, debugDump, debugDump, findItemDefinition, forLayer, getAnnotation, getAnnotations, getAttributeDefinitions, getCompileTimeClass, getConfiguredAuxiliaryObjectClassNames, getCurrentLayer, getDefaultNamespace, getDefinitions, getDeprecatedSince, getDiagrams, getDisplayOrder, getDocumentation, getDocumentationPreview, getExtensionForType, getHelp, getIgnoredNamespaces, getInstantiationOrder, getPlannedRemoval, getPrimaryIdentifiers, getPrimaryIdentifiersNames, getPrismContext, getPrismObjectDefinition, getProcessing, getSchemaMigrations, getSecondaryIdentifiers, getSecondaryIdentifiersNames, getStaticSubTypes, getSuperType, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isContainerMarker, isDeprecated, isElaborate, isEmphasized, isEmpty, isExperimental, isListMarker, isObjectMarker, isReferenceMarker, isRuntimeSchema, isXsdAnyMarker, merge, performFreeze, replaceDefinition, revive, setAnnotation, trimTo
-
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.AssociationDefinitionStore
findAssociationDefinition, findAssociationDefinitionRequired, getAssociationDefinitions, getNamesOfAssociations, getNamesOfAssociationsWithInboundExpressions, getNamesOfAssociationsWithOutboundExpressions
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.AttributeDefinitionStore
containsAttributeDefinition, findAttributeDefinition, findAttributeDefinition, findAttributeDefinition, findAttributeDefinitionRequired, findAttributeDefinitionRequired, findAttributeDefinitionStrictlyRequired, findAttributeDefinitionStrictlyRequired, getAttributeDefinitions, getAttributeDefinitions, getNamesOfAttributesWithInboundExpressions, getNamesOfAttributesWithOutboundExpressions, hasIndexOnlyAttributes
-
Methods inherited from interface com.evolveum.midpoint.prism.ComplexTypeDefinition
getDefaultNamespace, getDefinitions, getExtensionForType, getIgnoredNamespaces, getXmlAttributeDefinitions, hasSubstitutions, isContainerMarker, isEmpty, isListMarker, isObjectMarker, isReferenceMarker, isStrictAnyMarker, isXsdAnyMarker, itemOrSubstitution, merge, trimTo
-
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, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getSchemaMigrations, getSchemaRegistry, getTypeClass, getTypeClassIfKnown, 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.schema.processor.IdentifiersDefinitionStore
getAllIdentifiers, getPrimaryIdentifiers, getPrimaryIdentifiersNames, getSecondaryIdentifiers, getSecondaryIdentifiersNames, isIdentifier, isPrimaryIdentifier, isSecondaryIdentifier
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.LayeredDefinition
getCurrentLayer
-
Methods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStore
containsItemDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findPropertyDefinition, findReferenceDefinition
-
Methods inherited from interface com.evolveum.midpoint.prism.MutableComplexTypeDefinition
replaceDefinition, setAttributeDefinitions, setStrictAnyMarker
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.MutableResourceObjectClassDefinition
add, createAttributeDefinition
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectClassDefinition
createShadowSearchQuery
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectDefinition
createBlankShadow, forLayer, getActivationBidirectionalMappingType, getActivationFetchStrategy, getConfiguredAuxiliaryObjectClassNames, getDescriptionAttribute, getDisplayNameAttribute, getNamingAttribute, getPagedSearches, getPasswordFetchStrategy, getPasswordInbound, getPasswordOutbound, getPrismObjectDefinition, isObjectCountingEnabled, isPagedSearchEnabled, matchesObjectClassName, replaceDefinition, replaceDefinition, toResourceAttributeContainerDefinition, toResourceAttributeContainerDefinition
-
Methods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
Methods inherited from interface com.evolveum.midpoint.prism.TypeDefinition
canRepresent, getCompileTimeClass, getInstantiationOrder, getStaticSubTypes, getSuperType, isAssignableFrom
-
-
-
-
Constructor Detail
-
ResourceObjectClassDefinitionImpl
public ResourceObjectClassDefinitionImpl(@NotNull @NotNull QName objectClassName)
-
-
Method Detail
-
getObjectClassName
@NotNull public @NotNull QName getObjectClassName()
Description copied from interface:ResourceObjectDefinitionReturns the name of the object class.- Specified by:
getObjectClassNamein interfaceResourceObjectDefinition
-
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- Returns:
- display name string or catalog key
-
delete
public void delete(QName itemName)
- Specified by:
deletein interfaceMutableComplexTypeDefinition
-
createPropertyDefinition
public MutablePrismPropertyDefinition<?> createPropertyDefinition(QName name, QName typeName)
- Specified by:
createPropertyDefinitionin interfaceMutableComplexTypeDefinition
-
createPropertyDefinition
public MutablePrismPropertyDefinition<?> createPropertyDefinition(String name, QName typeName)
- Specified by:
createPropertyDefinitionin interfaceMutableComplexTypeDefinition
-
addPrimaryIdentifierName
public void addPrimaryIdentifierName(QName name)
- Specified by:
addPrimaryIdentifierNamein interfaceMutableResourceObjectClassDefinition
-
addSecondaryIdentifierName
public void addSecondaryIdentifierName(QName name)
- Specified by:
addSecondaryIdentifierNamein interfaceMutableResourceObjectClassDefinition
-
getDescriptionAttributeName
@Nullable public @Nullable QName getDescriptionAttributeName()
Description copied from interface:ResourceObjectDefinitionReturns name of the description attribute.- Specified by:
getDescriptionAttributeNamein interfaceResourceObjectDefinition- See Also:
ResourceObjectDefinition.getDescriptionAttribute()
-
setDescriptionAttributeName
public void setDescriptionAttributeName(QName name)
- Specified by:
setDescriptionAttributeNamein interfaceMutableResourceObjectClassDefinition
-
getNamingAttributeName
@Nullable public @Nullable QName getNamingAttributeName()
Description copied from interface:ResourceObjectDefinitionReturns name of the naming attribute.- Specified by:
getNamingAttributeNamein interfaceResourceObjectDefinition- See Also:
ResourceObjectDefinition.getNamingAttributeName()
-
setNamingAttributeName
public void setNamingAttributeName(QName name)
- Specified by:
setNamingAttributeNamein interfaceMutableResourceObjectClassDefinition
-
getDisplayNameAttributeName
@Nullable public @Nullable QName getDisplayNameAttributeName()
Description copied from interface:ResourceObjectDefinitionReturns name of the display name attribute.- Specified by:
getDisplayNameAttributeNamein interfaceResourceObjectDefinition- See Also:
ResourceObjectDefinition.getDisplayNameAttribute()
-
setDisplayNameAttributeName
public void setDisplayNameAttributeName(QName name)
- Specified by:
setDisplayNameAttributeNamein interfaceMutableResourceObjectClassDefinition
-
getNativeObjectClass
public String getNativeObjectClass()
Description copied from interface:ResourceObjectClassDefinitionReturns the native object class name. Native object class is the name of the object class as it is seen by the resource itself. The name of the object class used in midPoint may be constrained by XSD or other syntax and therefore may be "mangled" to conform to such syntax. The _native object class_ value will contain original, un-mangled name (if available). Returns null if there is no native object class. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing.- Specified by:
getNativeObjectClassin interfaceResourceObjectClassDefinition- Returns:
- native object class
-
setNativeObjectClass
public void setNativeObjectClass(String nativeObjectClass)
- Specified by:
setNativeObjectClassin interfaceMutableResourceObjectClassDefinition
-
isAuxiliary
public boolean isAuxiliary()
Description copied from interface:ResourceObjectClassDefinitionTODO- Specified by:
isAuxiliaryin interfaceResourceObjectClassDefinition
-
setAuxiliary
public void setAuxiliary(boolean auxiliary)
- Specified by:
setAuxiliaryin interfaceMutableResourceObjectClassDefinition
-
isDefaultAccountDefinition
public boolean isDefaultAccountDefinition()
Description copied from interface:ResourceObjectClassDefinitionIndicates whether definition is the default account definition. (This feature is present for "dumb" resource definition that are completely without `schemaHandling` part.) This is a way how a resource connector may suggest applicable object classes. Currently the only use of this flag is that ConnId `pass:[__ACCOUNT__]` is declared as a default for the kind of `ACCOUNT`. Originally, this property was called `defaultInAKind` and marked the object class as being default for given kind. At that time, the kind was part of object class definition. This is no longer the case, therefore also this property is renamed - and is available only for account-like object classes. In the future we may put those things (kind + default-in-a-kind) back, if needed.- Specified by:
isDefaultAccountDefinitionin interfaceResourceObjectClassDefinition
-
setDefaultAccountDefinition
public void setDefaultAccountDefinition(boolean value)
- Specified by:
setDefaultAccountDefinitionin interfaceMutableResourceObjectClassDefinition
-
createAttributeDefinition
public <T> ResourceAttributeDefinition<T> createAttributeDefinition(@NotNull @NotNull QName name, @NotNull @NotNull QName typeName, @NotNull @NotNull Consumer<MutableRawResourceAttributeDefinition<?>> consumer)
Description copied from interface:MutableResourceObjectClassDefinitionReturned value is immutable.- Specified by:
createAttributeDefinitionin interfaceMutableResourceObjectClassDefinition
-
instantiate
public ResourceAttributeContainer instantiate(@NotNull @NotNull ItemName elementName)
Description copied from interface:ResourceObjectDefinitionCreates aResourceAttributeContainerinstance with this definition as its complex type definition.- Specified by:
instantiatein interfaceResourceObjectClassDefinition- Specified by:
instantiatein interfaceResourceObjectDefinition
-
instantiate
public static ResourceAttributeContainer instantiate(@NotNull @NotNull QName elementName, @NotNull @NotNull ResourceObjectClassDefinition objectClassDefinition)
-
clone
@NotNull public @NotNull ResourceObjectClassDefinitionImpl clone()
Description copied from interface:ComplexTypeDefinitionDoes a shallow clone of this definition (i.e. item definitions themselves are NOT cloned).- Specified by:
clonein interfaceComplexTypeDefinition- Specified by:
clonein interfaceDefinition- Specified by:
clonein interfaceMutableComplexTypeDefinition- Specified by:
clonein interfaceResourceObjectClassDefinition- Specified by:
clonein interfaceResourceObjectDefinition- Specified by:
clonein classAbstractResourceObjectDefinitionImpl
-
cloneInLayer
protected ResourceObjectClassDefinitionImpl cloneInLayer(@NotNull @NotNull LayerType layer)
- Specified by:
cloneInLayerin classAbstractResourceObjectDefinitionImpl
-
setExtensionForType
public void setExtensionForType(QName type)
- Specified by:
setExtensionForTypein interfaceMutableComplexTypeDefinition
-
setAbstract
public void setAbstract(boolean value)
- Specified by:
setAbstractin interfaceMutableComplexTypeDefinition
-
setSuperType
public void setSuperType(QName superType)
- Specified by:
setSuperTypein interfaceMutableComplexTypeDefinition
-
setObjectMarker
public void setObjectMarker(boolean value)
- Specified by:
setObjectMarkerin interfaceMutableComplexTypeDefinition
-
setContainerMarker
public void setContainerMarker(boolean value)
- Specified by:
setContainerMarkerin interfaceMutableComplexTypeDefinition
-
setReferenceMarker
public void setReferenceMarker(boolean value)
- Specified by:
setReferenceMarkerin interfaceMutableComplexTypeDefinition
-
setDefaultNamespace
public void setDefaultNamespace(String namespace)
- Specified by:
setDefaultNamespacein interfaceMutableComplexTypeDefinition
-
setIgnoredNamespaces
public void setIgnoredNamespaces(@NotNull @NotNull List<String> ignoredNamespaces)- Specified by:
setIgnoredNamespacesin interfaceMutableComplexTypeDefinition
-
setXsdAnyMarker
public void setXsdAnyMarker(boolean value)
- Specified by:
setXsdAnyMarkerin interfaceMutableComplexTypeDefinition
-
setListMarker
public void setListMarker(boolean value)
- Specified by:
setListMarkerin interfaceMutableComplexTypeDefinition
-
setCompileTimeClass
public void setCompileTimeClass(Class<?> compileTimeClass)
- Specified by:
setCompileTimeClassin interfaceMutableComplexTypeDefinition
-
addSubstitution
public void addSubstitution(ItemDefinition<?> itemDef, ItemDefinition<?> maybeSubst)
- Specified by:
addSubstitutionin interfaceMutableComplexTypeDefinition
-
setProcessing
public void setProcessing(ItemProcessing processing)
- Specified by:
setProcessingin interfaceMutableDefinition
-
setDeprecated
public void setDeprecated(boolean deprecated)
- Specified by:
setDeprecatedin interfaceMutableDefinition
-
setExperimental
public void setExperimental(boolean experimental)
- Specified by:
setExperimentalin interfaceMutableDefinition
-
setEmphasized
public void setEmphasized(boolean emphasized)
- Specified by:
setEmphasizedin interfaceMutableDefinition
-
setDisplayName
public void setDisplayName(String displayName)
- Specified by:
setDisplayNamein interfaceMutableDefinition
-
setDisplayOrder
public void setDisplayOrder(Integer displayOrder)
- Specified by:
setDisplayOrderin interfaceMutableDefinition
-
setHelp
public void setHelp(String help)
- Specified by:
setHelpin interfaceMutableDefinition
-
setRuntimeSchema
public void setRuntimeSchema(boolean value)
- Specified by:
setRuntimeSchemain interfaceMutableDefinition
-
setTypeName
public void setTypeName(QName typeName)
- Specified by:
setTypeNamein interfaceMutableDefinition
-
setDocumentation
public void setDocumentation(String value)
- Specified by:
setDocumentationin interfaceMutableDefinition
-
addSchemaMigration
public void addSchemaMigration(SchemaMigration schemaMigration)
- Specified by:
addSchemaMigrationin interfaceMutableDefinition
-
addDiagram
public void addDiagram(ItemDiagramSpecification diagram)
- Specified by:
addDiagramin interfaceMutableDefinition
-
setInstantiationOrder
public void setInstantiationOrder(Integer order)
- Specified by:
setInstantiationOrderin interfaceMutableTypeDefinition
-
deepClone
@NotNull public @NotNull ResourceObjectClassDefinition deepClone(@NotNull @NotNull DeepCloneOperation operation)
Description copied from interface:ComplexTypeDefinitionDoes a deep clone of this definition.- Specified by:
deepClonein interfaceComplexTypeDefinition- Specified by:
deepClonein interfaceResourceObjectClassDefinition- Specified by:
deepClonein interfaceResourceObjectDefinition
-
getSecurityPolicyRef
public ObjectReferenceType getSecurityPolicyRef()
- Specified by:
getSecurityPolicyRefin interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType.getSecurityPolicyRef()
-
hasSubstitutions
public boolean hasSubstitutions()
- Specified by:
hasSubstitutionsin interfaceComplexTypeDefinition
-
substitution
public Optional<ItemDefinition<?>> substitution(QName name)
- Specified by:
substitutionin interfaceComplexTypeDefinition
-
copyDefinitionDataFrom
protected void copyDefinitionDataFrom(@NotNull @NotNull LayerType layer, ResourceObjectClassDefinition source)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractResourceObjectDefinitionImpl
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractResourceObjectDefinitionImpl
-
toMutable
public MutableResourceObjectClassDefinition toMutable()
Description copied from interface:DefinitionReturns an interface to mutate this definition.- Specified by:
toMutablein interfaceComplexTypeDefinition- Specified by:
toMutablein interfaceDefinition- Specified by:
toMutablein interfaceResourceObjectClassDefinition
-
getPasswordDefinition
@Nullable public @Nullable ResourcePasswordDefinitionType getPasswordDefinition()
Description copied from interface:ResourceObjectDefinition- Specified by:
getPasswordDefinitionin interfaceResourceObjectDefinition
-
getObjectClassDefinition
@NotNull public @NotNull ResourceObjectClassDefinition getObjectClassDefinition()
Description copied from interface:ResourceObjectDefinitionReturns the object class definition. It is either this object itself, or the linked definition (for object type).- Specified by:
getObjectClassDefinitionin interfaceResourceObjectDefinition
-
getConfiguredCapabilities
@Nullable public @Nullable CapabilitiesType getConfiguredCapabilities()
Description copied from interface:ResourceObjectDefinitionReturns configured capabilities for given refined object class definition. Returned object is freely modifiable copy of the original information.- Specified by:
getConfiguredCapabilitiesin interfaceResourceObjectDefinition
-
getEffectiveCapability
public <T extends CapabilityType> T getEffectiveCapability(Class<T> capabilityClass, ResourceType resource)
Description copied from interface:ResourceObjectDefinitionTODO- Specified by:
getEffectiveCapabilityin interfaceResourceObjectDefinition
-
getHumanReadableName
public String getHumanReadableName()
Description copied from interface:ResourceObjectDefinitionTODO- Specified by:
getHumanReadableNamein interfaceResourceObjectDefinition
-
getAssociationDefinitions
@NotNull public @NotNull Collection<ResourceAssociationDefinition> getAssociationDefinitions()
Description copied from interface:AssociationDefinitionStoreReturns definitions of all associations as an unmodifiable collection. Note: these items are _not_ included in getDefinitions. (BTW, ResourceAssociationDefinition is not a subtype of ItemDefinition, not even of Definition.)- Specified by:
getAssociationDefinitionsin interfaceAssociationDefinitionStore
-
getDebugDumpClassName
public String getDebugDumpClassName()
Description copied from interface:ResourceObjectDefinitionReturn a human readable name of this class suitable for logs.- Specified by:
getDebugDumpClassNamein interfaceResourceObjectDefinition
-
getDescription
public String getDescription()
Description copied from interface:ResourceObjectDefinitionFree-form textual description of the object. It is supposed to describe the object or a construct that it is attached to.- Specified by:
getDescriptionin interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType.getDescription()
-
getResourceOid
public String getResourceOid()
Description copied from interface:ResourceObjectDefinitionThis is currently used only to pass information about association in the model-impl TODO consider removal!- Specified by:
getResourceOidin interfaceResourceObjectDefinition
-
getObjectMultiplicity
public ResourceObjectMultiplicityType getObjectMultiplicity()
- Specified by:
getObjectMultiplicityin interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType.getMultiplicity()
-
getProjectionPolicy
public ProjectionPolicyType getProjectionPolicy()
- Specified by:
getProjectionPolicyin interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType.getProjection()
-
getAuxiliaryDefinitions
@NotNull public @NotNull Collection<ResourceObjectDefinition> getAuxiliaryDefinitions()
Description copied from interface:ResourceObjectDefinitionTODO define semantics (it's different forCompositeObjectDefinitionand the others!- Specified by:
getAuxiliaryDefinitionsin interfaceResourceObjectDefinition
-
hasAuxiliaryObjectClass
public boolean hasAuxiliaryObjectClass(QName expectedObjectClassName)
Description copied from interface:ResourceObjectDefinitionTODO define semantics (it's different forCompositeObjectDefinitionand the others!- Specified by:
hasAuxiliaryObjectClassin interfaceResourceObjectDefinition
-
getAuxiliaryObjectClassMappings
public ResourceBidirectionalMappingAndDefinitionType getAuxiliaryObjectClassMappings()
- Specified by:
getAuxiliaryObjectClassMappingsin interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType.getAuxiliaryObjectClassMappings()
-
getProtectedObjectPatterns
@NotNull public @NotNull Collection<ResourceObjectPattern> getProtectedObjectPatterns()
Description copied from interface:ResourceObjectDefinitionReturns compiled patterns denoting protected objects.- Specified by:
getProtectedObjectPatternsin interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType.getProtected()
-
getActivationSchemaHandling
public ResourceActivationDefinitionType getActivationSchemaHandling()
- Specified by:
getActivationSchemaHandlingin interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType.getActivation()
-
getBaseContext
public ResourceObjectReferenceType getBaseContext()
Description copied from interface:ResourceObjectDefinitionThe definition of base context (resource object container). This object will be used as a base for searches for objects of this type.- Specified by:
getBaseContextin interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType.getBaseContext()
-
getSearchHierarchyScope
public SearchHierarchyScope getSearchHierarchyScope()
Description copied from interface:ResourceObjectDefinitionDefinition of search hierarchy scope. It specifies how "deep" the search should go into the object hierarchy.- Specified by:
getSearchHierarchyScopein interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType.getSearchHierarchyScope()
-
getVolatility
@NotNull public @NotNull ResourceObjectVolatilityType getVolatility()
Description copied from interface:ResourceObjectDefinitionSpecifies volatility of this type of resource objects, i.e. whether such an object can change when midPoint is not looking.- Specified by:
getVolatilityin interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType.getVolatility()
-
getDefaultInboundMappingEvaluationPhases
@Nullable public @Nullable DefaultInboundMappingEvaluationPhasesType getDefaultInboundMappingEvaluationPhases()
Description copied from interface:ResourceObjectDefinitionReturns the phases in which inbound mappings are evaluated by default.- Specified by:
getDefaultInboundMappingEvaluationPhasesin interfaceResourceObjectDefinition- See Also:
ResourceObjectTypeDefinitionType#getInboundMappingsEvaluation()
-
-