public class CompositeRefinedObjectClassDefinitionImpl extends Object implements CompositeRefinedObjectClassDefinition
INDENT_STRING
Constructor and Description |
---|
CompositeRefinedObjectClassDefinitionImpl(RefinedObjectClassDefinition structuralObjectClassDefinition,
Collection<RefinedObjectClassDefinition> auxiliaryObjectClassDefinitions) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor) |
boolean |
canRepresent(QName typeName) |
CompositeRefinedObjectClassDefinitionImpl |
clone()
Does a shallow clone of this definition (i.e.
|
boolean |
containsAttributeDefinition(ItemPathType pathType) |
boolean |
containsAttributeDefinition(QName attributeName) |
PrismObject<ShadowType> |
createBlankShadow(RefinedObjectClassDefinition definition) |
ObjectQuery |
createShadowSearchQuery(String resourceOid) |
String |
debugDump()
Show the content of the object intended for diagnostics by system administrator.
|
String |
debugDump(int indent) |
protected String |
debugDump(int indent,
LayerType layer) |
CompositeRefinedObjectClassDefinitionImpl |
deepClone(Map<QName,ComplexTypeDefinition> ctdMap,
Map<QName,ComplexTypeDefinition> onThisPath,
Consumer<ItemDefinition> postCloneAction)
Does a deep clone of this definition.
|
boolean |
equals(Object obj) |
RefinedAssociationDefinition |
findAssociationDefinition(QName name) |
<X> RefinedAttributeDefinition<X> |
findAttributeDefinition(QName name)
Finds a attribute definition by looking at the property name.
|
<X> RefinedAttributeDefinition<X> |
findAttributeDefinition(QName elementQName,
boolean caseInsensitive)
Finds a attribute definition by looking at the property name; not considering the case.
|
<ID extends ItemDefinition> |
findItemDefinition(ItemPath path,
Class<ID> clazz) |
<T extends ItemDefinition> |
findLocalItemDefinition(QName name,
Class<T> clazz,
boolean caseInsensitive) |
<ID extends ItemDefinition> |
findNamedItemDefinition(QName firstName,
ItemPath rest,
Class<ID> clazz) |
LayerRefinedObjectClassDefinition |
forLayer(LayerType layerType) |
ResourceBidirectionalMappingType |
getActivationBidirectionalMappingType(QName propertyName) |
AttributeFetchStrategyType |
getActivationFetchStrategy(QName propertyName) |
ResourceActivationDefinitionType |
getActivationSchemaHandling() |
Collection<? extends RefinedAttributeDefinition<?>> |
getAllIdentifiers()
Returns both primary and secondary identifiers.
|
<A> A |
getAnnotation(QName qname)
Returns generic definition annotation.
|
Collection<RefinedAssociationDefinition> |
getAssociationDefinitions()
Returns definitions of all associations as an unmodifiable collection.
|
Collection<RefinedAssociationDefinition> |
getAssociationDefinitions(ShadowKindType kind) |
Collection<? extends RefinedAttributeDefinition<?>> |
getAttributeDefinitions()
Returns definitions of all attributes as an unmodifiable collection.
|
Collection<RefinedObjectClassDefinition> |
getAuxiliaryObjectClassDefinitions() |
ResourceBidirectionalMappingAndDefinitionType |
getAuxiliaryObjectClassMappings() |
ResourceObjectReferenceType |
getBaseContext() |
CapabilitiesType |
getCapabilities() |
Class<?> |
getCompileTimeClass()
Returns compile-time class, if this type has any.
|
String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs.
|
String |
getDefaultNamespace()
When resolving unqualified names for items contained in this CTD, what should be the default namespace
to look into at first.
|
List<? extends ItemDefinition> |
getDefinitions()
Returns definitions for all inner items.
|
String |
getDeprecatedSince() |
String |
getDescription() |
<X> RefinedAttributeDefinition<X> |
getDescriptionAttribute()
Returns the definition of description attribute of a resource object.
|
String |
getDisplayName()
Returns display name.
|
<X> RefinedAttributeDefinition<X> |
getDisplayNameAttribute()
Returns the definition of display name attribute.
|
Integer |
getDisplayOrder()
Specifies an order in which the item should be displayed relative to other items
at the same level.
|
String |
getDocumentation() |
String |
getDocumentationPreview()
Returns only a first sentence of documentation.
|
<T extends CapabilityType> |
getEffectiveCapability(Class<T> capabilityClass,
ResourceType resourceType) |
Collection<RefinedAssociationDefinition> |
getEntitlementAssociationDefinitions() |
QName |
getExtensionForType()
If not null, indicates that this type defines the structure of 'extension' element of a given type.
|
String |
getHelp()
Returns help string.
|
String |
getHumanReadableName() |
List<String> |
getIgnoredNamespaces()
When resolving unqualified names for items contained in this CTD, what namespace(s) should be ignored.
|
Integer |
getInstantiationOrder() |
String |
getIntent()
TODO: THIS SHOULD NOT BE HERE
|
ShadowKindType |
getKind()
TODO: THIS SHOULD NOT BE HERE
|
ResourceObjectMultiplicityType |
getMultiplicity() |
Collection<QName> |
getNamesOfAssociations() |
Collection<? extends QName> |
getNamesOfAssociationsWithInboundExpressions() |
Collection<? extends QName> |
getNamesOfAssociationsWithOutboundExpressions() |
Collection<? extends QName> |
getNamesOfAttributesWithInboundExpressions() |
Collection<? extends QName> |
getNamesOfAttributesWithOutboundExpressions() |
<X> RefinedAttributeDefinition<X> |
getNamingAttribute()
TODO
|
String |
getNativeObjectClass()
Returns the native object class string for the resource object.
|
ObjectClassComplexTypeDefinition |
getObjectClassDefinition() |
PrismObjectDefinition<ShadowType> |
getObjectDefinition() |
PagedSearchCapabilityType |
getPagedSearches(ResourceType resourceType) |
ResourcePasswordDefinitionType |
getPasswordDefinition() |
AttributeFetchStrategyType |
getPasswordFetchStrategy() |
List<MappingType> |
getPasswordInbound() |
List<MappingType> |
getPasswordOutbound() |
ObjectReferenceType |
getPasswordPolicy()
Deprecated.
|
String |
getPlannedRemoval()
Version of data model in which the item is likely to be removed.
|
Collection<? extends RefinedAttributeDefinition<?>> |
getPrimaryIdentifiers()
Returns the definition of primary identifier attributes of a resource object.
|
PrismContext |
getPrismContext() |
ItemProcessing |
getProcessing() |
ProjectionPolicyType |
getProjection() |
Collection<ResourceObjectPattern> |
getProtectedObjectPatterns() |
String |
getResourceOid() |
List<SchemaMigration> |
getSchemaMigrations() |
SearchHierarchyScope |
getSearchHierarchyScope() |
Collection<? extends RefinedAttributeDefinition<?>> |
getSecondaryIdentifiers()
Returns the definition of secondary identifier attributes of a resource
object.
|
ObjectReferenceType |
getSecurityPolicyRef() |
ResourceShadowDiscriminator |
getShadowDiscriminator() |
Collection<TypeDefinition> |
getStaticSubTypes()
Subtypes - but only these that are a part of the static schema.
|
RefinedObjectClassDefinition |
getStructuralObjectClassDefinition() |
QName |
getSuperType()
Name of super type of this complex type definition.
|
Class |
getTypeClass()
Returns a compile-time class that is used to represent items.
|
Class |
getTypeClassIfKnown() |
QName |
getTypeName()
Returns a name of the type for this definition.
|
ResourceObjectVolatilityType |
getVolatility() |
boolean |
hasAuxiliaryObjectClass(QName expectedObjectClassName) |
int |
hashCode() |
ResourceAttributeContainer |
instantiate(QName elementName) |
boolean |
isAbstract() |
boolean |
isAuxiliary()
TODO
|
boolean |
isContainerMarker()
Flag indicating whether this type was marked as "container"
in the original schema.
|
boolean |
isDefault() |
boolean |
isDefaultInAKind()
Indicates whether definition is should be used as default definition in ist kind.
|
boolean |
isDeprecated() |
boolean |
isElaborate()
Elaborate items are complicated data structure that may deviate from
normal principles of the system.
|
boolean |
isEmphasized()
True for definitions that are more important than others and that should be emphasized
during presentation.
|
boolean |
isEmpty()
Returns true if there are no item definitions.
|
boolean |
isExperimental()
Experimental functionality is not stable and it may be changed in any
future release without any warning.
|
boolean |
isIgnored()
Item definition that has this flag set should be ignored by any processing.
|
boolean |
isListMarker() |
boolean |
isObjectCountingEnabled(ResourceType resourceType) |
boolean |
isObjectMarker()
Flag indicating whether this type was marked as "object"
in the original schema.
|
boolean |
isPagedSearchEnabled(ResourceType resourceType) |
boolean |
isPrimaryIdentifier(QName attrName)
Returns true if the attribute with a given name is among primary identifiers.
|
boolean |
isReferenceMarker()
Flag indicating whether this type was marked as "objectReference"
in the original schema.
|
boolean |
isRuntimeSchema()
This means that this particular definition (of an item or of a type) is part of the runtime schema, e.g.
|
boolean |
isSecondaryIdentifier(QName attrName)
Returns true if the attribute with a given name is among secondary identifiers.
|
boolean |
isShared()
Is this definition shared, i.e.
|
boolean |
isXsdAnyMarker()
True if the complex type definition contains xsd:any (directly or indirectly).
|
boolean |
matches(ShadowType shadowType) |
boolean |
matchesWithoutIntent(ShadowType shadowType) |
void |
merge(ComplexTypeDefinition otherComplexTypeDef)
Copies cloned definitions from the other type definition into this one.
|
void |
revive(PrismContext prismContext) |
<A> void |
setAnnotation(QName qname,
A value) |
MutableObjectClassComplexTypeDefinition |
toMutable() |
String |
toString() |
void |
trimTo(Collection<ItemPath> paths)
Trims the definition (and any definitions it refers to) to contain only items related to given paths.
|
finalize, getClass, notify, notifyAll, wait, wait, wait
createBlankShadow, findAttributeDefinition
toResourceAttributeContainerDefinition, toResourceAttributeContainerDefinition
containsItemDefinition
debugDump, getSchemaRegistry
debugDumpLazily, debugDumpLazily
findContainerDefinition, findContainerDefinition, findItemDefinition, findLocalItemDefinition, findPropertyDefinition, findReferenceDefinition, findReferenceDefinition
public CompositeRefinedObjectClassDefinitionImpl(@NotNull RefinedObjectClassDefinition structuralObjectClassDefinition, Collection<RefinedObjectClassDefinition> auxiliaryObjectClassDefinitions)
public RefinedObjectClassDefinition getStructuralObjectClassDefinition()
getStructuralObjectClassDefinition
in interface CompositeRefinedObjectClassDefinition
@NotNull public Collection<RefinedObjectClassDefinition> getAuxiliaryObjectClassDefinitions()
getAuxiliaryObjectClassDefinitions
in interface CompositeRefinedObjectClassDefinition
getAuxiliaryObjectClassDefinitions
in interface RefinedObjectClassDefinition
public PrismObjectDefinition<ShadowType> getObjectDefinition()
getObjectDefinition
in interface RefinedObjectClassDefinition
public Class<?> getCompileTimeClass()
TypeDefinition
getCompileTimeClass
in interface TypeDefinition
public boolean isContainerMarker()
ComplexTypeDefinition
isContainerMarker
in interface ComplexTypeDefinition
public boolean isPrimaryIdentifier(QName attrName)
ObjectClassComplexTypeDefinition
isPrimaryIdentifier
in interface ObjectClassComplexTypeDefinition
public boolean isObjectMarker()
ComplexTypeDefinition
isObjectMarker
in interface ComplexTypeDefinition
public boolean isIgnored()
Definition
isIgnored
in interface Definition
public ItemProcessing getProcessing()
getProcessing
in interface Definition
public List<SchemaMigration> getSchemaMigrations()
getSchemaMigrations
in interface Definition
public boolean isEmphasized()
Definition
isEmphasized
in interface Definition
public boolean isAbstract()
isAbstract
in interface Definition
public QName getSuperType()
TypeDefinition
getSuperType
in interface TypeDefinition
public boolean isSecondaryIdentifier(QName attrName)
ObjectClassComplexTypeDefinition
isSecondaryIdentifier
in interface ObjectClassComplexTypeDefinition
public boolean isDeprecated()
isDeprecated
in interface Definition
public String getDeprecatedSince()
getDeprecatedSince
in interface Definition
public boolean isExperimental()
Definition
isExperimental
in interface Definition
public String getPlannedRemoval()
Definition
getPlannedRemoval
in interface Definition
public boolean isElaborate()
Definition
isElaborate
in interface Definition
public Integer getDisplayOrder()
Definition
getDisplayOrder
in interface Definition
public <X> RefinedAttributeDefinition<X> getDescriptionAttribute()
ObjectClassComplexTypeDefinition
getDescriptionAttribute
in interface RefinedObjectClassDefinition
getDescriptionAttribute
in interface ObjectClassComplexTypeDefinition
public <X> RefinedAttributeDefinition<X> getNamingAttribute()
ObjectClassComplexTypeDefinition
getNamingAttribute
in interface RefinedObjectClassDefinition
getNamingAttribute
in interface ObjectClassComplexTypeDefinition
public String getHelp()
Definition
getHelp
in interface Definition
@NotNull public QName getTypeName()
Definition
getTypeName
in interface Definition
public String getNativeObjectClass()
ObjectClassComplexTypeDefinition
getNativeObjectClass
in interface ObjectClassComplexTypeDefinition
public String getDocumentation()
getDocumentation
in interface Definition
public boolean isDefaultInAKind()
ObjectClassComplexTypeDefinition
isDefaultInAKind
in interface ObjectClassComplexTypeDefinition
public String getDocumentationPreview()
Definition
getDocumentationPreview
in interface Definition
public String getIntent()
ObjectClassComplexTypeDefinition
getIntent
in interface ObjectClassComplexTypeDefinition
public ShadowKindType getKind()
ObjectClassComplexTypeDefinition
getKind
in interface ObjectClassComplexTypeDefinition
public boolean isRuntimeSchema()
Definition
isRuntimeSchema
in interface Definition
public <X> RefinedAttributeDefinition<X> getDisplayNameAttribute()
ObjectClassComplexTypeDefinition
getDisplayNameAttribute
in interface RefinedObjectClassDefinition
getDisplayNameAttribute
in interface ObjectClassComplexTypeDefinition
@NotNull public Collection<? extends RefinedAttributeDefinition<?>> getPrimaryIdentifiers()
ObjectClassComplexTypeDefinition
getPrimaryIdentifiers
in interface RefinedObjectClassDefinition
getPrimaryIdentifiers
in interface ObjectClassComplexTypeDefinition
@NotNull public Collection<? extends RefinedAttributeDefinition<?>> getSecondaryIdentifiers()
ObjectClassComplexTypeDefinition
getSecondaryIdentifiers
in interface RefinedObjectClassDefinition
getSecondaryIdentifiers
in interface ObjectClassComplexTypeDefinition
public Collection<? extends RefinedAttributeDefinition<?>> getAllIdentifiers()
ObjectClassComplexTypeDefinition
getAllIdentifiers
in interface RefinedObjectClassDefinition
getAllIdentifiers
in interface ObjectClassComplexTypeDefinition
public boolean isAuxiliary()
ObjectClassComplexTypeDefinition
isAuxiliary
in interface ObjectClassComplexTypeDefinition
@NotNull public Collection<RefinedAssociationDefinition> getAssociationDefinitions()
RefinedObjectClassDefinition
getAssociationDefinitions
in interface RefinedObjectClassDefinition
public Collection<RefinedAssociationDefinition> getAssociationDefinitions(ShadowKindType kind)
getAssociationDefinitions
in interface RefinedObjectClassDefinition
public Collection<QName> getNamesOfAssociations()
getNamesOfAssociations
in interface RefinedObjectClassDefinition
public boolean isEmpty()
ComplexTypeDefinition
isEmpty
in interface ComplexTypeDefinition
public Collection<ResourceObjectPattern> getProtectedObjectPatterns()
getProtectedObjectPatterns
in interface RefinedObjectClassDefinition
public String getDisplayName()
Definition
getDisplayName
in interface Definition
public String getDescription()
getDescription
in interface RefinedObjectClassDefinition
public boolean isDefault()
isDefault
in interface RefinedObjectClassDefinition
public String getResourceOid()
getResourceOid
in interface RefinedObjectClassDefinition
public ObjectClassComplexTypeDefinition getObjectClassDefinition()
getObjectClassDefinition
in interface RefinedObjectClassDefinition
public ResourceObjectReferenceType getBaseContext()
getBaseContext
in interface RefinedObjectClassDefinition
public SearchHierarchyScope getSearchHierarchyScope()
getSearchHierarchyScope
in interface RefinedObjectClassDefinition
public ResourceObjectVolatilityType getVolatility()
getVolatility
in interface RefinedObjectClassDefinition
public ResourceObjectMultiplicityType getMultiplicity()
getMultiplicity
in interface RefinedObjectClassDefinition
public ProjectionPolicyType getProjection()
getProjection
in interface RefinedObjectClassDefinition
public List<MappingType> getPasswordInbound()
getPasswordInbound
in interface RefinedObjectClassDefinition
public List<MappingType> getPasswordOutbound()
getPasswordOutbound
in interface RefinedObjectClassDefinition
public AttributeFetchStrategyType getPasswordFetchStrategy()
getPasswordFetchStrategy
in interface RefinedObjectClassDefinition
@Deprecated public ObjectReferenceType getPasswordPolicy()
getPasswordPolicy
in interface RefinedObjectClassDefinition
public ObjectReferenceType getSecurityPolicyRef()
getSecurityPolicyRef
in interface RefinedObjectClassDefinition
public ResourceActivationDefinitionType getActivationSchemaHandling()
getActivationSchemaHandling
in interface RefinedObjectClassDefinition
public ResourceBidirectionalMappingType getActivationBidirectionalMappingType(QName propertyName)
getActivationBidirectionalMappingType
in interface RefinedObjectClassDefinition
public AttributeFetchStrategyType getActivationFetchStrategy(QName propertyName)
getActivationFetchStrategy
in interface RefinedObjectClassDefinition
public boolean matches(ShadowType shadowType)
matches
in interface RefinedObjectClassDefinition
matches
in interface ObjectClassComplexTypeDefinition
public boolean matchesWithoutIntent(ShadowType shadowType)
matchesWithoutIntent
in interface RefinedObjectClassDefinition
public CapabilitiesType getCapabilities()
getCapabilities
in interface RefinedObjectClassDefinition
public <T extends CapabilityType> T getEffectiveCapability(Class<T> capabilityClass, ResourceType resourceType)
getEffectiveCapability
in interface RefinedObjectClassDefinition
public PagedSearchCapabilityType getPagedSearches(ResourceType resourceType)
getPagedSearches
in interface RefinedObjectClassDefinition
public boolean isPagedSearchEnabled(ResourceType resourceType)
isPagedSearchEnabled
in interface RefinedObjectClassDefinition
public boolean isObjectCountingEnabled(ResourceType resourceType)
isObjectCountingEnabled
in interface RefinedObjectClassDefinition
public <T extends ItemDefinition> T findLocalItemDefinition(@NotNull QName name, @NotNull Class<T> clazz, boolean caseInsensitive)
findLocalItemDefinition
in interface LocalDefinitionStore
public <ID extends ItemDefinition> ID findNamedItemDefinition(@NotNull QName firstName, @NotNull ItemPath rest, @NotNull Class<ID> clazz)
findNamedItemDefinition
in interface LocalDefinitionStore
@NotNull public Collection<? extends RefinedAttributeDefinition<?>> getAttributeDefinitions()
RefinedObjectClassDefinition
getAttributeDefinitions
in interface RefinedObjectClassDefinition
getAttributeDefinitions
in interface ObjectClassComplexTypeDefinition
public PrismContext getPrismContext()
getPrismContext
in interface Definition
public void revive(PrismContext prismContext)
revive
in interface ComplexTypeDefinition
revive
in interface Revivable
@NotNull public List<? extends ItemDefinition> getDefinitions()
ComplexTypeDefinition
getDefinitions
in interface ComplexTypeDefinition
public QName getExtensionForType()
ComplexTypeDefinition
getExtensionForType
in interface ComplexTypeDefinition
public boolean isXsdAnyMarker()
ComplexTypeDefinition
isXsdAnyMarker
in interface ComplexTypeDefinition
public String getDefaultNamespace()
ComplexTypeDefinition
getDefaultNamespace
in interface ComplexTypeDefinition
@NotNull public List<String> getIgnoredNamespaces()
ComplexTypeDefinition
getIgnoredNamespaces
in interface ComplexTypeDefinition
public LayerRefinedObjectClassDefinition forLayer(@NotNull LayerType layerType)
forLayer
in interface RefinedObjectClassDefinition
public <X> RefinedAttributeDefinition<X> findAttributeDefinition(QName elementQName, boolean caseInsensitive)
ObjectClassComplexTypeDefinition
findAttributeDefinition
in interface ObjectClassComplexTypeDefinition
elementQName
- property definition namepublic <X> RefinedAttributeDefinition<X> findAttributeDefinition(@NotNull QName name)
ObjectClassComplexTypeDefinition
findAttributeDefinition
in interface RefinedObjectClassDefinition
findAttributeDefinition
in interface ObjectClassComplexTypeDefinition
name
- property definition namepublic RefinedAssociationDefinition findAssociationDefinition(QName name)
findAssociationDefinition
in interface RefinedObjectClassDefinition
public Collection<RefinedAssociationDefinition> getEntitlementAssociationDefinitions()
public Collection<? extends QName> getNamesOfAssociationsWithOutboundExpressions()
getNamesOfAssociationsWithOutboundExpressions
in interface RefinedObjectClassDefinition
public Collection<? extends QName> getNamesOfAssociationsWithInboundExpressions()
getNamesOfAssociationsWithInboundExpressions
in interface RefinedObjectClassDefinition
public ResourceBidirectionalMappingAndDefinitionType getAuxiliaryObjectClassMappings()
getAuxiliaryObjectClassMappings
in interface RefinedObjectClassDefinition
public boolean hasAuxiliaryObjectClass(QName expectedObjectClassName)
hasAuxiliaryObjectClass
in interface RefinedObjectClassDefinition
public ResourceAttributeContainer instantiate(QName elementName)
instantiate
in interface ObjectClassComplexTypeDefinition
public <ID extends ItemDefinition> ID findItemDefinition(@NotNull ItemPath path, @NotNull Class<ID> clazz)
findItemDefinition
in interface LocalDefinitionStore
public void merge(ComplexTypeDefinition otherComplexTypeDef)
ComplexTypeDefinition
merge
in interface ComplexTypeDefinition
public Class getTypeClassIfKnown()
getTypeClassIfKnown
in interface Definition
public Class getTypeClass()
Definition
getTypeClass
in interface Definition
public boolean containsAttributeDefinition(ItemPathType pathType)
containsAttributeDefinition
in interface RefinedObjectClassDefinition
public boolean containsAttributeDefinition(QName attributeName)
containsAttributeDefinition
in interface RefinedObjectClassDefinition
public ObjectQuery createShadowSearchQuery(String resourceOid) throws SchemaException
createShadowSearchQuery
in interface ObjectClassComplexTypeDefinition
SchemaException
public PrismObject<ShadowType> createBlankShadow(RefinedObjectClassDefinition definition)
createBlankShadow
in interface RefinedObjectClassDefinition
public ResourceShadowDiscriminator getShadowDiscriminator()
getShadowDiscriminator
in interface RefinedObjectClassDefinition
public Collection<? extends QName> getNamesOfAttributesWithOutboundExpressions()
getNamesOfAttributesWithOutboundExpressions
in interface RefinedObjectClassDefinition
public Collection<? extends QName> getNamesOfAttributesWithInboundExpressions()
getNamesOfAttributesWithInboundExpressions
in interface RefinedObjectClassDefinition
public ResourcePasswordDefinitionType getPasswordDefinition()
getPasswordDefinition
in interface RefinedObjectClassDefinition
@NotNull public CompositeRefinedObjectClassDefinitionImpl clone()
ComplexTypeDefinition
clone
in interface RefinedObjectClassDefinition
clone
in interface ComplexTypeDefinition
clone
in interface Definition
clone
in interface ObjectClassComplexTypeDefinition
clone
in class Object
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
public String getDebugDumpClassName()
getDebugDumpClassName
in interface RefinedObjectClassDefinition
public String getHumanReadableName()
getHumanReadableName
in interface RefinedObjectClassDefinition
@NotNull public CompositeRefinedObjectClassDefinitionImpl deepClone(Map<QName,ComplexTypeDefinition> ctdMap, Map<QName,ComplexTypeDefinition> onThisPath, Consumer<ItemDefinition> postCloneAction)
ComplexTypeDefinition
deepClone
in interface RefinedObjectClassDefinition
deepClone
in interface ComplexTypeDefinition
deepClone
in interface ObjectClassComplexTypeDefinition
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.public boolean isListMarker()
isListMarker
in interface ComplexTypeDefinition
public void trimTo(@NotNull Collection<ItemPath> paths)
ComplexTypeDefinition
trimTo
in interface ComplexTypeDefinition
public MutableObjectClassComplexTypeDefinition toMutable()
toMutable
in interface ComplexTypeDefinition
toMutable
in interface Definition
toMutable
in interface ObjectClassComplexTypeDefinition
public boolean isShared()
ComplexTypeDefinition
isShared
in interface ComplexTypeDefinition
public boolean isReferenceMarker()
ComplexTypeDefinition
isReferenceMarker
in interface ComplexTypeDefinition
@NotNull public Collection<TypeDefinition> getStaticSubTypes()
TypeDefinition
getStaticSubTypes
in interface TypeDefinition
public <A> A getAnnotation(QName qname)
Definition
getAnnotation
in interface Definition
public <A> void setAnnotation(QName qname, A value)
setAnnotation
in interface Definition
public Integer getInstantiationOrder()
getInstantiationOrder
in interface TypeDefinition
public boolean canRepresent(QName typeName)
canRepresent
in interface TypeDefinition
Copyright © 2020 Evolveum. All rights reserved.