public class LayerRefinedAttributeDefinitionImpl<T> extends Object implements LayerRefinedAttributeDefinition<T>
INDENT_STRING
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor) |
void |
adoptElementDefinitionFrom(ItemDefinition otherDef) |
boolean |
canAdd()
Returns true if this item can be added: it can be part of an object that is created.
|
boolean |
canAdd(LayerType layer) |
boolean |
canBeDefinitionOf(PrismProperty<T> item) |
boolean |
canBeDefinitionOf(PrismValue pvalue) |
boolean |
canModify()
Returns true if this item can be modified (updated).
|
boolean |
canModify(LayerType layer) |
boolean |
canRead()
Returns true if this item can be read (displayed).
|
boolean |
canRead(LayerType layer) |
RefinedAttributeDefinition<T> |
clone() |
PropertyDelta<T> |
createEmptyDelta(ItemPath path) |
String |
debugDump()
Show the content of the object intended for diagnostics by system administrator.
|
String |
debugDump(int indent) |
String |
debugDump(int indent,
LayerType layer) |
void |
debugDumpShortToString(StringBuilder sb)
Used in debugDumping items.
|
ItemDefinition<PrismProperty<T>> |
deepClone(boolean ultraDeep,
Consumer<ItemDefinition> postCloneAction) |
RefinedAttributeDefinition<T> |
deepClone(Map<QName,ComplexTypeDefinition> ctdMap,
Map<QName,ComplexTypeDefinition> onThisPath,
Consumer<ItemDefinition> postCloneAction) |
T |
defaultValue() |
boolean |
equals(Object obj) |
<T extends ItemDefinition> |
findItemDefinition(ItemPath path,
Class<T> clazz) |
Collection<? extends DisplayableValue<T>> |
getAllowedValues() |
<A> A |
getAnnotation(QName qname)
Returns generic definition annotation.
|
ResourceAttributeDefinition<T> |
getAttributeDefinition() |
protected String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs.
|
String |
getDeprecatedSince() |
String |
getDescription() |
String |
getDisplayName()
Returns display name.
|
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.
|
AttributeFetchStrategyType |
getFetchStrategy() |
String |
getFrameworkAttributeName() |
String |
getHelp()
Returns help string.
|
List<MappingType> |
getInboundMappingTypes() |
List<String> |
getIntolerantValuePattern() |
LayerType |
getLayer() |
PropertyLimitations |
getLimitations() |
PropertyLimitations |
getLimitations(LayerType layer) |
QName |
getMatchingRuleQName() |
int |
getMaxOccurs() |
int |
getMaxOccurs(LayerType layer) |
int |
getMinOccurs() |
int |
getMinOccurs(LayerType layer) |
Integer |
getModificationPriority() |
QName |
getName() |
String |
getNamespace() |
String |
getNativeAttributeName() |
MappingType |
getOutboundMappingType() |
Boolean |
getOverrideCanAdd() |
Boolean |
getOverrideCanModify() |
Boolean |
getOverrideCanRead() |
String |
getPlannedRemoval()
Version of data model in which the item is likely to be removed.
|
PrismContext |
getPrismContext() |
ItemProcessing |
getProcessing() |
ItemProcessing |
getProcessing(LayerType layer) |
Boolean |
getReadReplaceMode() |
Boolean |
getReturnedByDefault() |
QName |
getSubstitutionHead()
Returns the name of an element this one can be substituted for (e.g.
|
List<String> |
getTolerantValuePattern() |
Class |
getTypeClass() |
Class |
getTypeClassIfKnown() |
QName |
getTypeName()
Returns a name of the type for this definition.
|
PrismReferenceValue |
getValueEnumerationRef() |
QName |
getValueType()
Returns QName of the property value type.
|
int |
hashCode() |
boolean |
hasOutboundMapping() |
ResourceAttribute<T> |
instantiate()
Create an item instance.
|
ResourceAttribute<T> |
instantiate(QName name)
Create an item instance.
|
boolean |
isAbstract() |
boolean |
isDeprecated() |
boolean |
isDisplayNameAttribute() |
boolean |
isDynamic()
Returns true if definition was created during the runtime based on a dynamic information
such as xsi:type attributes in XML.
|
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 |
isExlusiveStrong() |
boolean |
isExperimental()
Experimental functionality is not stable and it may be changed in any
future release without any warning.
|
boolean |
isHeterogeneousListItem()
Can be used in heterogeneous lists as a list item.
|
boolean |
isIdentifier(ObjectClassComplexTypeDefinition objectDefinition) |
boolean |
isIdentifier(ResourceAttributeContainerDefinition objectDefinition) |
boolean |
isIgnored()
Item definition that has this flag set should be ignored by any processing.
|
boolean |
isIgnored(LayerType layer) |
Boolean |
isIndexed() |
boolean |
isInherited()
Whether an item is inherited from a supertype.
|
boolean |
isMandatory() |
boolean |
isMandatory(LayerType layer) |
boolean |
isMultiValue() |
boolean |
isMultiValue(LayerType layer) |
boolean |
isOperational() |
boolean |
isOptional() |
boolean |
isOptional(LayerType layer) |
boolean |
isReturnedByDefault() |
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() |
boolean |
isSecondaryIdentifier(ObjectClassComplexTypeDefinition objectDefinition) |
boolean |
isSingleValue() |
boolean |
isSingleValue(LayerType layer) |
boolean |
isTolerant() |
boolean |
isValidFor(QName elementQName,
Class<? extends ItemDefinition> clazz) |
boolean |
isValidFor(QName elementQName,
Class<? extends ItemDefinition> clazz,
boolean caseInsensitive) |
boolean |
isVolatilityTrigger() |
void |
revive(PrismContext prismContext) |
<A> void |
setAnnotation(QName qname,
A value) |
void |
setCanAdd(boolean val) |
void |
setCanModify(boolean val) |
void |
setCanRead(boolean val) |
void |
setMaxOccurs(int maxOccurs) |
void |
setOverrideCanAdd(Boolean overrideCanAdd) |
void |
setOverrideCanModify(Boolean overrideCanModify) |
void |
setOverrideCanRead(Boolean overrideCanRead) |
String |
toString() |
finalize, getClass, notify, notifyAll, wait, wait, wait
isAnyType
debugDump, getSchemaRegistry
debugDumpLazily, debugDumpLazily
public LayerType getLayer()
getLayer
in interface LayerRefinedAttributeDefinition<T>
public Boolean getOverrideCanRead()
getOverrideCanRead
in interface LayerRefinedAttributeDefinition<T>
public void setOverrideCanRead(Boolean overrideCanRead)
public Boolean getOverrideCanAdd()
getOverrideCanAdd
in interface LayerRefinedAttributeDefinition<T>
public void setOverrideCanAdd(Boolean overrideCanAdd)
public Boolean getOverrideCanModify()
getOverrideCanModify
in interface LayerRefinedAttributeDefinition<T>
public void setOverrideCanModify(Boolean overrideCanModify)
public boolean canAdd()
ItemDefinition
canAdd
in interface ItemDefinition<PrismProperty<T>>
public PropertyLimitations getLimitations()
getLimitations
in interface LayerRefinedAttributeDefinition<T>
@NotNull public RefinedAttributeDefinition<T> clone()
clone
in interface RefinedAttributeDefinition<T>
clone
in interface Definition
clone
in interface ItemDefinition<PrismProperty<T>>
clone
in interface PrismPropertyDefinition<T>
clone
in interface ResourceAttributeDefinition<T>
clone
in class Object
public String debugDump(int indent, LayerType layer)
debugDump
in interface RefinedAttributeDefinition<T>
public boolean canRead()
ItemDefinition
canRead
in interface ItemDefinition<PrismProperty<T>>
public boolean isIgnored(LayerType layer)
isIgnored
in interface RefinedAttributeDefinition<T>
public ItemProcessing getProcessing()
getProcessing
in interface Definition
public ItemProcessing getProcessing(LayerType layer)
getProcessing
in interface RefinedAttributeDefinition<T>
public boolean canModify()
ItemDefinition
canModify
in interface ItemDefinition<PrismProperty<T>>
public void setCanRead(boolean val)
setCanRead
in interface ItemDefinition<PrismProperty<T>>
public void setCanModify(boolean val)
setCanModify
in interface ItemDefinition<PrismProperty<T>>
public void setCanAdd(boolean val)
setCanAdd
in interface ItemDefinition<PrismProperty<T>>
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
protected String getDebugDumpClassName()
public String getFrameworkAttributeName()
getFrameworkAttributeName
in interface ResourceAttributeDefinition<T>
public boolean isInherited()
ItemDefinition
isInherited
in interface ItemDefinition<PrismProperty<T>>
public Integer getModificationPriority()
getModificationPriority
in interface RefinedAttributeDefinition<T>
public Boolean getReadReplaceMode()
getReadReplaceMode
in interface RefinedAttributeDefinition<T>
public <T extends ItemDefinition> T findItemDefinition(@NotNull ItemPath path, @NotNull Class<T> clazz)
findItemDefinition
in interface ItemDefinition<PrismProperty<T>>
public boolean isDisplayNameAttribute()
isDisplayNameAttribute
in interface RefinedAttributeDefinition<T>
public ItemDefinition<PrismProperty<T>> deepClone(boolean ultraDeep, Consumer<ItemDefinition> postCloneAction)
deepClone
in interface ItemDefinition<PrismProperty<T>>
public void revive(PrismContext prismContext)
revive
in interface ItemDefinition<PrismProperty<T>>
revive
in interface Revivable
public Integer getDisplayOrder()
Definition
getDisplayOrder
in interface Definition
public String getHelp()
Definition
getHelp
in interface Definition
public String getDocumentation()
getDocumentation
in interface Definition
public String getDocumentationPreview()
Definition
getDocumentationPreview
in interface Definition
public boolean isRuntimeSchema()
Definition
isRuntimeSchema
in interface Definition
public PrismContext getPrismContext()
getPrismContext
in interface Definition
public Class getTypeClassIfKnown()
getTypeClassIfKnown
in interface Definition
public Class getTypeClass()
getTypeClass
in interface Definition
getTypeClass
in interface PrismPropertyDefinition<T>
public String getDescription()
getDescription
in interface RefinedAttributeDefinition<T>
public PrismReferenceValue getValueEnumerationRef()
getValueEnumerationRef
in interface ItemDefinition<PrismProperty<T>>
public ResourceAttributeDefinition<T> getAttributeDefinition()
getAttributeDefinition
in interface RefinedAttributeDefinition<T>
public boolean isValidFor(QName elementQName, Class<? extends ItemDefinition> clazz)
isValidFor
in interface ItemDefinition<PrismProperty<T>>
public MappingType getOutboundMappingType()
getOutboundMappingType
in interface RefinedAttributeDefinition<T>
public boolean hasOutboundMapping()
hasOutboundMapping
in interface RefinedAttributeDefinition<T>
public boolean isValidFor(@NotNull QName elementQName, @NotNull Class<? extends ItemDefinition> clazz, boolean caseInsensitive)
isValidFor
in interface ItemDefinition<PrismProperty<T>>
public List<MappingType> getInboundMappingTypes()
getInboundMappingTypes
in interface RefinedAttributeDefinition<T>
public int getMaxOccurs(LayerType layer)
getMaxOccurs
in interface RefinedAttributeDefinition<T>
public int getMinOccurs(LayerType layer)
getMinOccurs
in interface RefinedAttributeDefinition<T>
public void adoptElementDefinitionFrom(ItemDefinition otherDef)
adoptElementDefinitionFrom
in interface ItemDefinition<PrismProperty<T>>
public boolean isOptional(LayerType layer)
isOptional
in interface RefinedAttributeDefinition<T>
public boolean isEmphasized()
Definition
isEmphasized
in interface Definition
public boolean isMandatory(LayerType layer)
isMandatory
in interface RefinedAttributeDefinition<T>
public boolean isMultiValue(LayerType layer)
isMultiValue
in interface RefinedAttributeDefinition<T>
public boolean isSingleValue(LayerType layer)
isSingleValue
in interface RefinedAttributeDefinition<T>
public boolean isExlusiveStrong()
isExlusiveStrong
in interface RefinedAttributeDefinition<T>
public PropertyLimitations getLimitations(LayerType layer)
getLimitations
in interface RefinedAttributeDefinition<T>
public AttributeFetchStrategyType getFetchStrategy()
getFetchStrategy
in interface RefinedAttributeDefinition<T>
public List<String> getTolerantValuePattern()
getTolerantValuePattern
in interface RefinedAttributeDefinition<T>
public List<String> getIntolerantValuePattern()
getIntolerantValuePattern
in interface RefinedAttributeDefinition<T>
public boolean isVolatilityTrigger()
isVolatilityTrigger
in interface RefinedAttributeDefinition<T>
public String getDisplayName()
Definition
getDisplayName
in interface Definition
@NotNull public ResourceAttribute<T> instantiate()
ItemDefinition
instantiate
in interface ItemDefinition<PrismProperty<T>>
instantiate
in interface PrismPropertyDefinition<T>
instantiate
in interface ResourceAttributeDefinition<T>
@NotNull public ResourceAttribute<T> instantiate(QName name)
ItemDefinition
instantiate
in interface ItemDefinition<PrismProperty<T>>
instantiate
in interface PrismPropertyDefinition<T>
instantiate
in interface ResourceAttributeDefinition<T>
public Boolean getReturnedByDefault()
getReturnedByDefault
in interface ResourceAttributeDefinition<T>
public boolean isReturnedByDefault()
isReturnedByDefault
in interface ResourceAttributeDefinition<T>
public boolean isIdentifier(ResourceAttributeContainerDefinition objectDefinition)
isIdentifier
in interface ResourceAttributeDefinition<T>
@NotNull public QName getName()
getName
in interface ItemDefinition<PrismProperty<T>>
public String getNamespace()
getNamespace
in interface ItemDefinition<PrismProperty<T>>
public int getMinOccurs()
getMinOccurs
in interface ItemDefinition<PrismProperty<T>>
public Collection<? extends DisplayableValue<T>> getAllowedValues()
getAllowedValues
in interface PrismPropertyDefinition<T>
public int getMaxOccurs()
getMaxOccurs
in interface ItemDefinition<PrismProperty<T>>
public boolean isIdentifier(ObjectClassComplexTypeDefinition objectDefinition)
isIdentifier
in interface ResourceAttributeDefinition<T>
public T defaultValue()
defaultValue
in interface PrismPropertyDefinition<T>
public boolean isTolerant()
isTolerant
in interface RefinedAttributeDefinition<T>
public boolean isSingleValue()
isSingleValue
in interface ItemDefinition<PrismProperty<T>>
public QName getValueType()
PrismPropertyDefinition
The returned type is either XSD simple type or complex type. It may not be defined in the same schema (especially if it is standard XSD simple type).
getValueType
in interface PrismPropertyDefinition<T>
public boolean isSecondaryIdentifier()
isSecondaryIdentifier
in interface RefinedAttributeDefinition<T>
public boolean isMultiValue()
isMultiValue
in interface ItemDefinition<PrismProperty<T>>
@NotNull public QName getTypeName()
Definition
getTypeName
in interface Definition
public Boolean isIndexed()
isIndexed
in interface PrismPropertyDefinition<T>
public boolean canAdd(LayerType layer)
canAdd
in interface RefinedAttributeDefinition<T>
public boolean isMandatory()
isMandatory
in interface ItemDefinition<PrismProperty<T>>
public boolean isIgnored()
Definition
isIgnored
in interface Definition
public boolean isSecondaryIdentifier(ObjectClassComplexTypeDefinition objectDefinition)
isSecondaryIdentifier
in interface ResourceAttributeDefinition<T>
public QName getMatchingRuleQName()
getMatchingRuleQName
in interface PrismPropertyDefinition<T>
public boolean isAbstract()
isAbstract
in interface Definition
public boolean isOptional()
isOptional
in interface ItemDefinition<PrismProperty<T>>
public boolean canRead(LayerType layer)
canRead
in interface RefinedAttributeDefinition<T>
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 boolean isOperational()
isOperational
in interface ItemDefinition<PrismProperty<T>>
public PropertyDelta<T> createEmptyDelta(ItemPath path)
createEmptyDelta
in interface ItemDefinition<PrismProperty<T>>
createEmptyDelta
in interface PrismPropertyDefinition<T>
public boolean canModify(LayerType layer)
canModify
in interface RefinedAttributeDefinition<T>
public boolean isDynamic()
ItemDefinition
isDynamic
in interface ItemDefinition<PrismProperty<T>>
public String getNativeAttributeName()
getNativeAttributeName
in interface ResourceAttributeDefinition<T>
public RefinedAttributeDefinition<T> deepClone(Map<QName,ComplexTypeDefinition> ctdMap, Map<QName,ComplexTypeDefinition> onThisPath, Consumer<ItemDefinition> postCloneAction)
deepClone
in interface RefinedAttributeDefinition<T>
deepClone
in interface ItemDefinition<PrismProperty<T>>
public QName getSubstitutionHead()
ItemDefinition
getSubstitutionHead
in interface ItemDefinition<PrismProperty<T>>
public boolean isHeterogeneousListItem()
ItemDefinition
isHeterogeneousListItem
in interface ItemDefinition<PrismProperty<T>>
public void debugDumpShortToString(StringBuilder sb)
ItemDefinition
debugDumpShortToString
in interface ItemDefinition<PrismProperty<T>>
public void setMaxOccurs(int maxOccurs)
setMaxOccurs
in interface ItemDefinition<PrismProperty<T>>
public boolean canBeDefinitionOf(PrismProperty<T> item)
canBeDefinitionOf
in interface ItemDefinition<PrismProperty<T>>
public boolean canBeDefinitionOf(PrismValue pvalue)
canBeDefinitionOf
in interface ItemDefinition<PrismProperty<T>>
public <A> A getAnnotation(QName qname)
Definition
getAnnotation
in interface Definition
public <A> void setAnnotation(QName qname, A value)
setAnnotation
in interface Definition
Copyright © 2019 Evolveum. All rights reserved.