public interface ObjectClassComplexTypeDefinition extends ComplexTypeDefinition
INDENT_STRING
Modifier and Type | Method and Description |
---|---|
ObjectClassComplexTypeDefinition |
clone()
Does a shallow clone of this definition (i.e.
|
default ObjectQuery |
createShadowSearchQuery(String resourceOid) |
ObjectClassComplexTypeDefinition |
deepClone(Map<QName,ComplexTypeDefinition> ctdMap,
Map<QName,ComplexTypeDefinition> onThisPath,
Consumer<ItemDefinition> postCloneAction)
Does a deep clone of this definition.
|
default <X> ResourceAttributeDefinition<X> |
findAttributeDefinition(QName name)
Finds a attribute definition by looking at the property name.
|
default <X> ResourceAttributeDefinition<X> |
findAttributeDefinition(QName name,
boolean caseInsensitive)
Finds a attribute definition by looking at the property name; not considering the case.
|
default <X> ResourceAttributeDefinition<X> |
findAttributeDefinition(String name) |
default Collection<? extends ResourceAttributeDefinition<?>> |
getAllIdentifiers()
Returns both primary and secondary identifiers.
|
Collection<? extends ResourceAttributeDefinition<?>> |
getAttributeDefinitions()
Returns all attribute definitions as an unmodifiable collection.
|
<X> ResourceAttributeDefinition<X> |
getDescriptionAttribute()
Returns the definition of description attribute of a resource object.
|
<X> ResourceAttributeDefinition<X> |
getDisplayNameAttribute()
Returns the definition of display name attribute.
|
String |
getIntent()
TODO: THIS SHOULD NOT BE HERE
|
ShadowKindType |
getKind()
TODO: THIS SHOULD NOT BE HERE
|
<X> ResourceAttributeDefinition<X> |
getNamingAttribute()
TODO
|
String |
getNativeObjectClass()
Returns the native object class string for the resource object.
|
Collection<? extends ResourceAttributeDefinition<?>> |
getPrimaryIdentifiers()
Returns the definition of primary identifier attributes of a resource object.
|
Collection<? extends ResourceAttributeDefinition<?>> |
getSecondaryIdentifiers()
Returns the definition of secondary identifier attributes of a resource
object.
|
ResourceAttributeContainer |
instantiate(QName elementName) |
boolean |
isAuxiliary()
TODO
|
boolean |
isDefaultInAKind()
Indicates whether definition is should be used as default definition in ist kind.
|
default boolean |
isPrimaryIdentifier(QName attrName)
Returns true if the attribute with a given name is among primary identifiers.
|
default boolean |
isSecondaryIdentifier(QName attrName)
Returns true if the attribute with a given name is among secondary identifiers.
|
boolean |
matches(ShadowType shadowType) |
default ResourceAttributeContainerDefinition |
toResourceAttributeContainerDefinition() |
default ResourceAttributeContainerDefinition |
toResourceAttributeContainerDefinition(QName elementName) |
containsItemDefinition, getDefaultNamespace, getDefinitions, getExtensionForType, getIgnoredNamespaces, isContainerMarker, isEmpty, isListMarker, isObjectMarker, isReferenceMarker, isShared, isXsdAnyMarker, merge, revive, trimTo
canRepresent, getCompileTimeClass, getInstantiationOrder, getStaticSubTypes, getSuperType
debugDump, getAnnotation, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getPlannedRemoval, getPrismContext, getProcessing, getSchemaRegistry, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema, setAnnotation
debugDump, debugDump, debugDumpLazily, debugDumpLazily
findContainerDefinition, findContainerDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findItemDefinition, findItemDefinition, findItemDefinition, findNamedItemDefinition, findPropertyDefinition, findPropertyDefinition, findReferenceDefinition, findReferenceDefinition
@NotNull Collection<? extends ResourceAttributeDefinition<?>> getAttributeDefinitions()
@Nullable default <X> ResourceAttributeDefinition<X> findAttributeDefinition(QName name)
name
- property definition name@Nullable default <X> ResourceAttributeDefinition<X> findAttributeDefinition(QName name, boolean caseInsensitive)
name
- property definition namedefault <X> ResourceAttributeDefinition<X> findAttributeDefinition(String name)
@NotNull Collection<? extends ResourceAttributeDefinition<?>> getPrimaryIdentifiers()
default boolean isPrimaryIdentifier(QName attrName)
@NotNull Collection<? extends ResourceAttributeDefinition<?>> getSecondaryIdentifiers()
default boolean isSecondaryIdentifier(QName attrName)
<X> ResourceAttributeDefinition<X> getDescriptionAttribute()
<X> ResourceAttributeDefinition<X> getNamingAttribute()
<X> ResourceAttributeDefinition<X> getDisplayNameAttribute()
default Collection<? extends ResourceAttributeDefinition<?>> getAllIdentifiers()
String getNativeObjectClass()
boolean isAuxiliary()
ShadowKindType getKind()
boolean isDefaultInAKind()
String getIntent()
default ResourceAttributeContainerDefinition toResourceAttributeContainerDefinition()
default ResourceAttributeContainerDefinition toResourceAttributeContainerDefinition(QName elementName)
default ObjectQuery createShadowSearchQuery(String resourceOid) throws SchemaException
SchemaException
ResourceAttributeContainer instantiate(QName elementName)
@NotNull ObjectClassComplexTypeDefinition clone()
ComplexTypeDefinition
clone
in interface ComplexTypeDefinition
clone
in interface Definition
@NotNull ObjectClassComplexTypeDefinition deepClone(Map<QName,ComplexTypeDefinition> ctdMap, Map<QName,ComplexTypeDefinition> onThisPath, Consumer<ItemDefinition> postCloneAction)
ComplexTypeDefinition
deepClone
in interface ComplexTypeDefinition
ctdMap
- Keeps already cloned definitions when 'ultra deep cloning' is not requested.
Each definition is then cloned only once.onThisPath
- Keeps already cloned definitions on the path from root to current node;
in order to prevent infinite loops when doing ultra deep cloning.boolean matches(ShadowType shadowType)
Copyright © 2019 Evolveum. All rights reserved.