Class NativeShadowAttributeDefinitionImpl<T>
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.schema.processor.NativeShadowAttributeDefinitionImpl<T>
- All Implemented Interfaces:
Definition.DefinitionBuilder
,Definition.DefinitionMutator
,DefinitionFragmentBuilder
,Freezable
,ItemDefinition.ItemDefinitionLikeBuilder
,ItemDefinition.ItemDefinitionMutator
,PrismItemAccessDefinition
,PrismItemAccessDefinition.Delegable
,PrismItemAccessDefinition.Mutable
,PrismItemAccessDefinition.Mutable.Delegable
,PrismItemBasicDefinition
,PrismItemBasicDefinition.Delegable
,PrismItemBasicDefinition.Mutable
,PrismItemBasicDefinition.Mutable.Delegable
,PrismItemMatchingDefinition<T>
,PrismItemMatchingDefinition.Delegable<T>
,PrismItemMatchingDefinition.Mutator
,PrismItemMatchingDefinition.Mutator.Delegable
,PrismItemMiscDefinition
,PrismItemMiscDefinition.Delegable
,PrismItemMiscDefinition.Mutable
,PrismItemMiscDefinition.Mutable.Delegable
,PrismItemStorageDefinition.Mutable
,PrismItemValuesDefinition<T>
,PrismItemValuesDefinition.Delegable<T>
,PrismItemValuesDefinition.Mutator<T>
,PrismItemValuesDefinition.Mutator.Delegable<T>
,PrismLifecycleDefinition.Mutable
,PrismPresentationDefinition
,PrismPresentationDefinition.Delegable
,PrismPresentationDefinition.Mutable
,PrismPresentationDefinition.Mutable.Delegable
,PrismPropertyDefinition.PrismPropertyDefinitionMutator<T>
,PrismPropertyDefinition.PrismPropertyLikeDefinitionBuilder<T>
,SerializableContainerDefinition
,SerializableDefinition
,SerializableItemDefinition
,SerializablePropertyDefinition
,NativeShadowAttributeDefinition
,NativeShadowAttributeDefinition.NativeShadowAttributeDefinitionBuilder
,NativeShadowReferenceAttributeDefinition
,NativeShadowSimpleAttributeDefinition<T>
,NativeShadowSimpleAttributeDefinition.NativeShadowAttributeDefinitionBuilder<T>
,ShadowAttributeUcfDefinition
,ShadowAttributeUcfDefinition.Delegable
,ShadowAttributeUcfDefinition.Mutable
,ShadowAttributeUcfDefinition.Mutable.Delegable
,ShortDumpable
,Serializable
,Cloneable
public class NativeShadowAttributeDefinitionImpl<T>
extends AbstractFreezable
implements NativeShadowAttributeDefinition, NativeShadowAttributeDefinition.NativeShadowAttributeDefinitionBuilder, NativeShadowSimpleAttributeDefinition<T>, NativeShadowSimpleAttributeDefinition.NativeShadowAttributeDefinitionBuilder<T>, NativeShadowReferenceAttributeDefinition, PrismItemBasicDefinition.Delegable, PrismItemBasicDefinition.Mutable.Delegable, PrismItemAccessDefinition.Delegable, PrismItemAccessDefinition.Mutable.Delegable, PrismItemMiscDefinition.Delegable, PrismItemMiscDefinition.Mutable.Delegable, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.Mutable.Delegable, ShadowAttributeUcfDefinition.Delegable, ShadowAttributeUcfDefinition.Mutable.Delegable, PrismItemValuesDefinition.Delegable<T>, PrismItemValuesDefinition.Mutator.Delegable<T>, PrismItemMatchingDefinition.Delegable<T>, PrismItemMatchingDefinition.Mutator.Delegable, SerializableItemDefinition, SerializablePropertyDefinition, SerializableContainerDefinition
Represents native attribute (simple or reference).
Why single class?
Because they have much in common:
. in ConnId, both are represented as ConnId attributes;
. also in XSD, both are represented as CTD items.
The main reason is that the instantiation in schema XSOM parser would require reading custom (higher-level) annotations
before instantiating the target class. So, it is much simpler to keep both in a single class. It's no much harm, as this
knowledge is basically hidden from the clients that generally don't see the native form of the schema.
TODO should we support processing ("ignored") here?
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.NativeShadowAttributeDefinition
NativeShadowAttributeDefinition.NativeShadowAttributeDefinitionBuilder
Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.NativeShadowSimpleAttributeDefinition
NativeShadowSimpleAttributeDefinition.NativeShadowAttributeDefinitionBuilder<T>
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Data, PrismItemAccessDefinition.Delegable, PrismItemAccessDefinition.Info, PrismItemAccessDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition.Mutable
PrismItemAccessDefinition.Mutable.Delegable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
PrismItemBasicDefinition.Data, PrismItemBasicDefinition.Delegable, PrismItemBasicDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition.Mutable
PrismItemBasicDefinition.Mutable.Delegable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition
PrismItemMatchingDefinition.Data<T>, PrismItemMatchingDefinition.Delegable<T>, PrismItemMatchingDefinition.Mutator
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition.Mutator
PrismItemMatchingDefinition.Mutator.Delegable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemMiscDefinition
PrismItemMiscDefinition.Data, PrismItemMiscDefinition.Delegable, PrismItemMiscDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemMiscDefinition.Mutable
PrismItemMiscDefinition.Mutable.Delegable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemValuesDefinition
PrismItemValuesDefinition.Data<T>, PrismItemValuesDefinition.Delegable<T>, PrismItemValuesDefinition.Mutator<T>
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemValuesDefinition.Mutator
PrismItemValuesDefinition.Mutator.Delegable<T>
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition.Mutable
PrismLifecycleDefinition.Mutable.Delegable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition.Mutable
PrismPresentationDefinition.Mutable.Delegable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeUcfDefinition
ShadowAttributeUcfDefinition.Data, ShadowAttributeUcfDefinition.Delegable, ShadowAttributeUcfDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeUcfDefinition.Mutable
ShadowAttributeUcfDefinition.Mutable.Delegable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
@NotNull NativeShadowSimpleAttributeDefinition<?>
asSimple()
clone()
cloneWithNewCardinality
(int newMinOccurs, int newMaxOccurs) boolean
Enumeration annotation that specifies how/whether the item should be displayed.Returns display name.Specifies an order in which the item should be displayed relative to other items at the same level.Must containstag because of html tags used in text. Collection<DefinitionFeature<?,
?, Object, ?>> Collection<? extends DefinitionFeature<?,
?, ?, ?>> getHelp()
Returns help string.@NotNull ItemName
Gets the "canonical" name of the item for the definition.Returns matching rule name.int
Returns the number of maximal value occurrences.int
Returns the number of minimal value occurrences.Level of processing (ignore, minimal, auto, full) for this item/type.@NotNull ShadowReferenceParticipantRole
@Nullable ShadowReferenceParticipantRole
@NotNull QName
int
hashCode()
boolean
True for definitions that are more important than others and that should be emphasized during presentation.boolean
boolean
boolean
isSimple()
protected void
void
setAllowedValues
(Collection<? extends DisplayableValue<T>> displayableValues) Not sure why the default method is not inherited here - fromPrismItemValuesDefinition.Mutator.Delegable.setAllowedValues(Collection)
.void
setAlwaysUseForEquals
(boolean alwaysUseForEquals) <A> void
setAnnotation
(QName qname, A value) void
setDeprecated
(boolean deprecated) void
setDeprecatedSince
(String value) void
setDiagrams
(List<ItemDiagramSpecification> value) void
setDisplayHint
(DisplayHint displayHint) void
setDocumentation
(String documentation) void
setDynamic
(boolean value) void
setElaborate
(boolean value) void
setEmphasized
(boolean emphasized) void
setExperimental
(boolean experimental) void
setFrameworkAttributeName
(String value) void
void
setHeterogeneousListItem
(boolean value) void
setIndexed
(Boolean indexed) void
setIndexOnly
(boolean value) void
setInherited
(boolean value) void
setMergerIdentifier
(String value) void
setNativeAttributeName
(String value) void
setNaturalKeyConstituents
(List<QName> naturalKeyConstituents) void
setOperational
(boolean operational) void
setOptionalCleanup
(boolean optionalCleanup) void
setPlannedRemoval
(String value) void
setProcessing
(ItemProcessing processing) void
void
void
void
setRemoved
(boolean removed) void
setRemovedSince
(String removedSince) void
setReturnedByDefault
(Boolean value) void
setRuntimeSchema
(boolean value) void
setSchemaContextDefinition
(SchemaContextDefinition schemaContextDefinition) void
setSchemaMigrations
(List<SchemaMigration> value) void
setSearchable
(boolean value) void
setSubstitutionHead
(QName value) void
setValueEnumerationRef
(PrismReferenceValue valueEnumerationRef) void
Show the content of the object intended for diagnostics.toString()
ucfData()
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.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition.ItemDefinitionMutator
setIgnored
Methods inherited from interface com.evolveum.midpoint.schema.processor.NativeShadowReferenceAttributeDefinition
getReferenceTypeName
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
getInfo
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition.Delegable
canAdd, canModify, canRead
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition.Mutable
setInfo
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition.Mutable.Delegable
setCanAdd, setCanModify, setCanRead
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
isMandatory, isMultiValue, isOptional, isSingleValue
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition.Mutable.Delegable
setMaxOccurs, setMinOccurs
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition
getMatchingRule, getNormalizer, getStringNormalizerForPolyStringProperty, getStringNormalizerIfApplicable, getTypeClass, isCustomPolyString
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition.Mutator.Delegable
setMatchingRuleQName
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemValuesDefinition.Delegable
defaultValue, getAllowedValues, getSuggestedValues
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemValuesDefinition.Mutator.Delegable
setDefaultValue, setSuggestedValues
Methods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition.Delegable
getDiagrams, getDocumentationPreview
Methods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition.Mutable.Delegable
setDisplayName, setDisplayOrder
Methods inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeUcfDefinition.Delegable
getFrameworkAttributeName, getNativeAttributeName, getReturnedByDefault
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Method Details
-
itemBasicDefinition
- Specified by:
itemBasicDefinition
in interfacePrismItemBasicDefinition.Delegable
- Specified by:
itemBasicDefinition
in interfacePrismItemBasicDefinition.Mutable.Delegable
-
itemAccessDefinition
- Specified by:
itemAccessDefinition
in interfacePrismItemAccessDefinition.Delegable
- Specified by:
itemAccessDefinition
in interfacePrismItemAccessDefinition.Mutable.Delegable
-
itemMiscDefinition
- Specified by:
itemMiscDefinition
in interfacePrismItemMiscDefinition.Delegable
- Specified by:
itemMiscDefinition
in interfacePrismItemMiscDefinition.Mutable.Delegable
-
prismPresentationDefinition
- Specified by:
prismPresentationDefinition
in interfacePrismPresentationDefinition.Delegable
- Specified by:
prismPresentationDefinition
in interfacePrismPresentationDefinition.Mutable.Delegable
-
ucfData
- Specified by:
ucfData
in interfaceShadowAttributeUcfDefinition.Delegable
- Specified by:
ucfData
in interfaceShadowAttributeUcfDefinition.Mutable.Delegable
-
prismItemMatchingDefinition
- Specified by:
prismItemMatchingDefinition
in interfacePrismItemMatchingDefinition.Delegable<T>
- Specified by:
prismItemMatchingDefinition
in interfacePrismItemMatchingDefinition.Mutator.Delegable
-
prismItemValuesDefinition
- Specified by:
prismItemValuesDefinition
in interfacePrismItemValuesDefinition.Delegable<T>
- Specified by:
prismItemValuesDefinition
in interfacePrismItemValuesDefinition.Mutator.Delegable<T>
-
setNativeAttributeName
- Specified by:
setNativeAttributeName
in interfaceNativeShadowAttributeDefinition.NativeShadowAttributeDefinitionBuilder
- Specified by:
setNativeAttributeName
in interfaceShadowAttributeUcfDefinition.Mutable
- Specified by:
setNativeAttributeName
in interfaceShadowAttributeUcfDefinition.Mutable.Delegable
-
setFrameworkAttributeName
- Specified by:
setFrameworkAttributeName
in interfaceNativeShadowAttributeDefinition.NativeShadowAttributeDefinitionBuilder
- Specified by:
setFrameworkAttributeName
in interfaceShadowAttributeUcfDefinition.Mutable
- Specified by:
setFrameworkAttributeName
in interfaceShadowAttributeUcfDefinition.Mutable.Delegable
-
setReturnedByDefault
- Specified by:
setReturnedByDefault
in interfaceNativeShadowAttributeDefinition.NativeShadowAttributeDefinitionBuilder
- Specified by:
setReturnedByDefault
in interfaceShadowAttributeUcfDefinition.Mutable
- Specified by:
setReturnedByDefault
in interfaceShadowAttributeUcfDefinition.Mutable.Delegable
-
setProcessing
- Specified by:
setProcessing
in interfaceItemDefinition.ItemDefinitionMutator
- Specified by:
setProcessing
in interfacePrismItemMiscDefinition.Mutable
- Specified by:
setProcessing
in interfacePrismItemMiscDefinition.Mutable.Delegable
-
setReadOnly
public void setReadOnly()- Specified by:
setReadOnly
in interfaceItemDefinition.ItemDefinitionMutator
-
isIndexed
- Specified by:
isIndexed
in interfaceSerializableItemDefinition
-
getMatchingRuleQName
Description copied from interface:PrismItemMatchingDefinition
Returns matching rule name. Matching rules are algorithms that specify how to compare, normalize and/or order the values. E.g. there are matching rules for case insensitive string comparison, for LDAP DNs, etc. TODO describe the semantics where special normalizations are to be used Use with care until this description is complete.- Specified by:
getMatchingRuleQName
in interfacePrismItemMatchingDefinition<T>
- Specified by:
getMatchingRuleQName
in interfacePrismItemMatchingDefinition.Delegable<T>
- Specified by:
getMatchingRuleQName
in interfaceSerializablePropertyDefinition
- Returns:
- matching rule name
-
getValueEnumerationRef
- Specified by:
getValueEnumerationRef
in interfacePrismItemValuesDefinition<T>
- Specified by:
getValueEnumerationRef
in interfacePrismItemValuesDefinition.Delegable<T>
- Specified by:
getValueEnumerationRef
in interfaceSerializablePropertyDefinition
-
setDiagrams
- Specified by:
setDiagrams
in interfacePrismPresentationDefinition.Mutable
- Specified by:
setDiagrams
in interfacePrismPresentationDefinition.Mutable.Delegable
-
setOptionalCleanup
public void setOptionalCleanup(boolean optionalCleanup) - Specified by:
setOptionalCleanup
in interfaceDefinition.DefinitionMutator
-
setRuntimeSchema
public void setRuntimeSchema(boolean value) - Specified by:
setRuntimeSchema
in interfaceDefinition.DefinitionMutator
-
setMergerIdentifier
- Specified by:
setMergerIdentifier
in interfaceDefinition.DefinitionMutator
-
setNaturalKeyConstituents
- Specified by:
setNaturalKeyConstituents
in interfaceDefinition.DefinitionMutator
-
setAnnotation
- Specified by:
setAnnotation
in interfaceDefinition.DefinitionMutator
-
setSchemaContextDefinition
- Specified by:
setSchemaContextDefinition
in interfaceDefinition.DefinitionMutator
-
setValueEnumerationRef
- Specified by:
setValueEnumerationRef
in interfaceItemDefinition.ItemDefinitionMutator
- Specified by:
setValueEnumerationRef
in interfacePrismItemValuesDefinition.Mutator<T>
- Specified by:
setValueEnumerationRef
in interfacePrismItemValuesDefinition.Mutator.Delegable<T>
-
setOperational
public void setOperational(boolean operational) - Specified by:
setOperational
in interfaceItemDefinition.ItemDefinitionMutator
-
setAlwaysUseForEquals
public void setAlwaysUseForEquals(boolean alwaysUseForEquals) - Specified by:
setAlwaysUseForEquals
in interfaceItemDefinition.ItemDefinitionMutator
-
setDynamic
public void setDynamic(boolean value) - Specified by:
setDynamic
in interfaceItemDefinition.ItemDefinitionMutator
-
setDeprecatedSince
- Specified by:
setDeprecatedSince
in interfaceItemDefinition.ItemDefinitionMutator
- Specified by:
setDeprecatedSince
in interfacePrismLifecycleDefinition.Mutable
-
setPlannedRemoval
- Specified by:
setPlannedRemoval
in interfaceItemDefinition.ItemDefinitionMutator
- Specified by:
setPlannedRemoval
in interfacePrismLifecycleDefinition.Mutable
-
setElaborate
public void setElaborate(boolean value) - Specified by:
setElaborate
in interfaceItemDefinition.ItemDefinitionMutator
-
setHeterogeneousListItem
public void setHeterogeneousListItem(boolean value) - Specified by:
setHeterogeneousListItem
in interfaceItemDefinition.ItemDefinitionMutator
-
setSubstitutionHead
- Specified by:
setSubstitutionHead
in interfaceItemDefinition.ItemDefinitionMutator
-
setIndexOnly
public void setIndexOnly(boolean value) - Specified by:
setIndexOnly
in interfaceItemDefinition.ItemDefinitionMutator
- Specified by:
setIndexOnly
in interfacePrismItemStorageDefinition.Mutable
-
setInherited
public void setInherited(boolean value) - Specified by:
setInherited
in interfaceItemDefinition.ItemDefinitionMutator
-
setSearchable
public void setSearchable(boolean value) - Specified by:
setSearchable
in interfaceItemDefinition.ItemDefinitionMutator
- Specified by:
setSearchable
in interfacePrismItemStorageDefinition.Mutable
-
setIndexed
- Specified by:
setIndexed
in interfacePrismItemStorageDefinition.Mutable
-
setDeprecated
public void setDeprecated(boolean deprecated) - Specified by:
setDeprecated
in interfacePrismLifecycleDefinition.Mutable
-
setRemoved
public void setRemoved(boolean removed) - Specified by:
setRemoved
in interfacePrismLifecycleDefinition.Mutable
-
setRemovedSince
- Specified by:
setRemovedSince
in interfacePrismLifecycleDefinition.Mutable
-
setExperimental
public void setExperimental(boolean experimental) - Specified by:
setExperimental
in interfacePrismLifecycleDefinition.Mutable
-
addSchemaMigration
- Specified by:
addSchemaMigration
in interfacePrismLifecycleDefinition.Mutable
-
setSchemaMigrations
- Specified by:
setSchemaMigrations
in interfacePrismLifecycleDefinition.Mutable
-
setDisplayHint
- Specified by:
setDisplayHint
in interfacePrismPresentationDefinition.Mutable
- Specified by:
setDisplayHint
in interfacePrismPresentationDefinition.Mutable.Delegable
-
setEmphasized
public void setEmphasized(boolean emphasized) - Specified by:
setEmphasized
in interfacePrismPresentationDefinition.Mutable
- Specified by:
setEmphasized
in interfacePrismPresentationDefinition.Mutable.Delegable
-
setHelp
- Specified by:
setHelp
in interfacePrismPresentationDefinition.Mutable
- Specified by:
setHelp
in interfacePrismPresentationDefinition.Mutable.Delegable
-
setDocumentation
- Specified by:
setDocumentation
in interfacePrismPresentationDefinition.Mutable
- Specified by:
setDocumentation
in interfacePrismPresentationDefinition.Mutable.Delegable
-
getItemName
Description copied from interface:PrismItemBasicDefinition
Gets the "canonical" name of the item for the definition. Should be qualified, if at all possible.- Specified by:
getItemName
in interfacePrismItemBasicDefinition
- Specified by:
getItemName
in interfacePrismItemBasicDefinition.Delegable
- Specified by:
getItemName
in interfaceSerializableItemDefinition
-
getTypeName
Description copied from interface:PrismItemBasicDefinition
- Specified by:
getTypeName
in interfaceNativeShadowReferenceAttributeDefinition
- Specified by:
getTypeName
in interfacePrismItemBasicDefinition
- Specified by:
getTypeName
in interfacePrismItemBasicDefinition.Delegable
- Specified by:
getTypeName
in interfacePrismItemMatchingDefinition<T>
- Specified by:
getTypeName
in interfaceSerializableItemDefinition
-
getMinOccurs
public int getMinOccurs()Description copied from interface:PrismItemBasicDefinition
Returns the number of minimal value occurrences.- Specified by:
getMinOccurs
in interfacePrismItemBasicDefinition
- Specified by:
getMinOccurs
in interfacePrismItemBasicDefinition.Delegable
- Specified by:
getMinOccurs
in interfaceSerializableItemDefinition
-
getMaxOccurs
public int getMaxOccurs()Description copied from interface:PrismItemBasicDefinition
Returns the number of maximal value occurrences. Any negative number means "unbounded".- Specified by:
getMaxOccurs
in interfacePrismItemBasicDefinition
- Specified by:
getMaxOccurs
in interfacePrismItemBasicDefinition.Delegable
- Specified by:
getMaxOccurs
in interfaceSerializableItemDefinition
-
getDisplayOrder
Description copied from interface:PrismPresentationDefinition
Specifies an order in which the item should be displayed relative to other items at the same level. The items will be displayed by sorting them by the values of displayOrder annotation (ascending). Items that do not have any displayOrder annotation will be displayed last. The ordering of values with the same displayOrder is undefined and it may be arbitrary.- Specified by:
getDisplayOrder
in interfacePrismPresentationDefinition
- Specified by:
getDisplayOrder
in interfacePrismPresentationDefinition.Delegable
- Specified by:
getDisplayOrder
in interfaceSerializableDefinition
-
isEmphasized
public boolean isEmphasized()Description copied from interface:PrismPresentationDefinition
True for definitions that are more important than others and that should be emphasized during presentation. E.g. the emphasized definitions will always be displayed in the user interfaces (even if they are empty), they will always be included in the dumps, etc. TODO probably deprecated, isn't it?- Specified by:
isEmphasized
in interfacePrismPresentationDefinition
- Specified by:
isEmphasized
in interfacePrismPresentationDefinition.Delegable
- Specified by:
isEmphasized
in interfaceSerializableDefinition
-
getDisplayHint
Description copied from interface:PrismPresentationDefinition
Enumeration annotation that specifies how/whether the item should be displayed. It is also a replacement for the old "emphasized" annotation.- Specified by:
getDisplayHint
in interfacePrismPresentationDefinition
- Specified by:
getDisplayHint
in interfacePrismPresentationDefinition.Delegable
- Specified by:
getDisplayHint
in interfaceSerializableDefinition
-
getDisplayName
Description copied from interface:PrismPresentationDefinition
Returns 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:
getDisplayName
in interfacePrismPresentationDefinition
- Specified by:
getDisplayName
in interfacePrismPresentationDefinition.Delegable
- Specified by:
getDisplayName
in interfaceSerializableDefinition
- Returns:
- display name string or catalog key
-
getDocumentation
Description copied from interface:PrismPresentationDefinition
Must containstag because of html tags used in text. - Specified by:
getDocumentation
in interfacePrismPresentationDefinition
- Specified by:
getDocumentation
in interfacePrismPresentationDefinition.Delegable
- Specified by:
getDocumentation
in interfaceSerializableDefinition
-
getProcessing
Description copied from interface:PrismItemMiscDefinition
Level of processing (ignore, minimal, auto, full) for this item/type.- Specified by:
getProcessing
in interfacePrismItemMiscDefinition
- Specified by:
getProcessing
in interfacePrismItemMiscDefinition.Delegable
- Specified by:
getProcessing
in interfaceSerializableItemDefinition
-
getHelp
Description copied from interface:PrismPresentationDefinition
Returns help string. Specifies the help text or a key to catalog file for a help text. The help text may be displayed in any suitable way by the GUI. It should explain the meaning of an attribute or object class. Returns null if no help string is set. Corresponds to "help" XSD annotation.- Specified by:
getHelp
in interfacePrismPresentationDefinition
- Specified by:
getHelp
in interfacePrismPresentationDefinition.Delegable
- Specified by:
getHelp
in interfaceSerializableDefinition
- Returns:
- help string or catalog key
-
getComplexTypeDefinitionToSerialize
- Specified by:
getComplexTypeDefinitionToSerialize
in interfaceSerializableContainerDefinition
-
isOperational
public boolean isOperational()- Specified by:
isOperational
in interfaceSerializableItemDefinition
-
getReferenceParticipantRole
- Specified by:
getReferenceParticipantRole
in interfaceNativeShadowAttributeDefinition
-
getReferenceParticipantRoleIfPresent
- Specified by:
getReferenceParticipantRoleIfPresent
in interfaceNativeShadowAttributeDefinition
-
setReferenceParticipantRole
- Specified by:
setReferenceParticipantRole
in interfaceNativeShadowAttributeDefinition.NativeShadowAttributeDefinitionBuilder
-
getReferencedObjectClassName
- Specified by:
getReferencedObjectClassName
in interfaceNativeShadowAttributeDefinition
-
setReferencedObjectClassName
- Specified by:
setReferencedObjectClassName
in interfaceNativeShadowAttributeDefinition.NativeShadowAttributeDefinitionBuilder
-
shortDump
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
getExtraFeaturesToParse
Description copied from interface:ItemDefinition.ItemDefinitionLikeBuilder
SeeComplexTypeDefinition.ComplexTypeDefinitionLikeBuilder.getExtraFeaturesToParse()
. These annotations must acceptXSComponent
orXSAnnotation
as source.- Specified by:
getExtraFeaturesToParse
in interfaceItemDefinition.ItemDefinitionLikeBuilder
-
getExtraFeaturesToSerialize
- Specified by:
getExtraFeaturesToSerialize
in interfaceSerializableDefinition
-
performFreeze
protected void performFreeze()- Overrides:
performFreeze
in classAbstractFreezable
-
getObjectBuilt
- Specified by:
getObjectBuilt
in interfaceDefinitionFragmentBuilder
-
clone
- Specified by:
clone
in interfaceNativeShadowAttributeDefinition
- Specified by:
clone
in interfacePrismPropertyDefinition.PrismPropertyDefinitionMutator<T>
- Overrides:
clone
in classObject
-
cloneWithNewCardinality
- Specified by:
cloneWithNewCardinality
in interfaceNativeShadowAttributeDefinition
-
toString
-
isReference
public boolean isReference()- Specified by:
isReference
in interfaceNativeShadowAttributeDefinition
-
isSimple
public boolean isSimple()- Specified by:
isSimple
in interfaceNativeShadowAttributeDefinition
-
asSimple
- Specified by:
asSimple
in interfaceNativeShadowAttributeDefinition
-
asReference
- Specified by:
asReference
in interfaceNativeShadowAttributeDefinition
-
setAllowedValues
Not sure why the default method is not inherited here - fromPrismItemValuesDefinition.Mutator.Delegable.setAllowedValues(Collection)
.- Specified by:
setAllowedValues
in interfacePrismItemValuesDefinition.Mutator<T>
- Specified by:
setAllowedValues
in interfacePrismItemValuesDefinition.Mutator.Delegable<T>
- Specified by:
setAllowedValues
in interfacePrismPropertyDefinition.PrismPropertyLikeDefinitionBuilder<T>
-
equals
-
hashCode
public int hashCode()
-