Package com.evolveum.midpoint.prism.impl
Class SimpleTypeDefinitionImpl
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.impl.schema.SchemaRegistryStateAware
com.evolveum.midpoint.prism.impl.DefinitionImpl
com.evolveum.midpoint.prism.impl.TypeDefinitionImpl
com.evolveum.midpoint.prism.impl.SimpleTypeDefinitionImpl
- All Implemented Interfaces:
AbstractTypeDefinition
,Definition
,Definition.DefinitionBuilder
,Definition.DefinitionMutator
,DefinitionFragmentBuilder
,Freezable
,PrismLifecycleDefinition
,PrismLifecycleDefinition.Mutable
,PrismPresentationDefinition
,PrismPresentationDefinition.Mutable
,Revivable
,SimpleTypeDefinition
,SimpleTypeDefinition.SimpleTypeDefinitionBuilder
,SimpleTypeDefinition.SimpleTypeDefinitionMutator
,SmartVisitable<Definition>
,TypeDefinition
,TypeDefinition.TypeDefinitionLikeBuilder
,TypeDefinition.TypeDefinitionMutator
,Visitable<Definition>
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
EnumerationTypeDefinitionImpl
public class SimpleTypeDefinitionImpl
extends TypeDefinitionImpl
implements SimpleTypeDefinition, TypeDefinition.TypeDefinitionMutator, SimpleTypeDefinition.SimpleTypeDefinitionBuilder, PrismPresentationDefinition.Mutable
TODO document
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.Definition
Definition.DefinitionBuilder, Definition.DefinitionMutator
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
PrismLifecycleDefinition.Data, PrismLifecycleDefinition.Delegable, PrismLifecycleDefinition.Mutable
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.prism.SimpleTypeDefinition
SimpleTypeDefinition.DerivationMethod, SimpleTypeDefinition.SimpleTypeDefinitionBuilder, SimpleTypeDefinition.SimpleTypeDefinitionMutator
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.TypeDefinition
TypeDefinition.TypeDefinitionLikeBuilder, TypeDefinition.TypeDefinitionMutator
-
Field Summary
Fields inherited from class com.evolveum.midpoint.prism.impl.TypeDefinitionImpl
compileTimeClass, instantiationOrder
Fields inherited from class com.evolveum.midpoint.prism.impl.DefinitionImpl
deprecated, deprecatedSince, displayHint, displayName, displayOrder, documentation, elaborate, emphasized, experimental, help, isAbstract, isRuntimeSchema, plannedRemoval, removed, removedSince, typeName
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ConstructorDescriptionSimpleTypeDefinitionImpl
(QName typeName, QName baseTypeName, SimpleTypeDefinition.DerivationMethod derivationMethod) -
Method Summary
Modifier and TypeMethodDescription@NotNull SimpleTypeDefinitionImpl
clone()
Return a human readable name of this class suitable for logs.Returns human-readable name of this class suitable for documentation.Class<?>
Returns a compile-time class that is used to represent items.mutator()
Returns an interface to mutate this definition.void
revive
(PrismContext prismContext) TODO: Is revive necessary if prism context is static? TODO document (if it's found to be necessary)Methods inherited from class com.evolveum.midpoint.prism.impl.TypeDefinitionImpl
addStaticSubType, canRepresent, copyDefinitionDataFrom, equals, getCompileTimeClass, getInstantiationOrder, getStaticSubTypes, getSuperType, hashCode, isAssignableFrom, setCompileTimeClass, setInstantiationOrder, setSuperType, writeReplace
Methods inherited from class com.evolveum.midpoint.prism.impl.DefinitionImpl
accept, accept, addSchemaMigration, copyDefinitionDataFrom, debugDump, extendDumpHeader, getAnnotation, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayHint, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMergerIdentifier, getMergerInstance, getNaturalKeyConstituents, getNaturalKeyInstance, getPlannedRemoval, getRemovedSince, getSchemaMigrations, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isOptionalCleanup, isRemoved, isRuntimeSchema, setAbstract, setAnnotation, setDeprecated, setDeprecatedSince, setDiagrams, setDisplayHint, setDisplayName, setDisplayOrder, setDocumentation, setElaborate, setEmphasized, setExperimental, setHelp, setMergerIdentifier, setNaturalKeyConstituents, setOptionalCleanup, setPlannedRemoval, setRemoved, setRemovedSince, setRuntimeSchema, setSchemaMigrations, toString
Methods inherited from class com.evolveum.midpoint.prism.impl.schema.SchemaRegistryStateAware
getSchemaLookup, getSchemaRegistryState, performFreeze, setSchemaRegistryState
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.AbstractTypeDefinition
getTypeName
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing, debugDump, getAnnotation, getAnnotations, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getTypeName, isAbstract, isElaborate, isOptionalCleanup, isRuntimeSchema
Methods inherited from interface com.evolveum.midpoint.prism.Definition.DefinitionMutator
setAnnotation, setMergerIdentifier, setNaturalKeyConstituents, setOptionalCleanup, setRuntimeSchema
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
getDeprecatedSince, getPlannedRemoval, getRemovedSince, getSchemaMigrations, isDeprecated, isExperimental, isRemoved
Methods inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition.Mutable
addSchemaMigration, setDeprecated, setDeprecatedSince, setExperimental, setPlannedRemoval, setRemoved, setRemovedSince, setSchemaMigrations
Methods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
getDiagrams, getDisplayHint, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, isEmphasized
Methods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition.Mutable
setDiagrams, setDisplayHint, setDisplayName, setDisplayOrder, setDocumentation, setEmphasized, setHelp
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
Methods inherited from interface com.evolveum.midpoint.prism.TypeDefinition.TypeDefinitionLikeBuilder
setInstantiationOrder, setSuperType
-
Constructor Details
-
SimpleTypeDefinitionImpl
public SimpleTypeDefinitionImpl(QName typeName, QName baseTypeName, SimpleTypeDefinition.DerivationMethod derivationMethod)
-
-
Method Details
-
revive
Description copied from interface:Revivable
TODO: Is revive necessary if prism context is static? TODO document (if it's found to be necessary)- Specified by:
revive
in interfaceRevivable
- Specified by:
revive
in classDefinitionImpl
-
getDebugDumpClassName
Description copied from class:DefinitionImpl
Return a human readable name of this class suitable for logs. (e.g. "PPD")- Specified by:
getDebugDumpClassName
in classDefinitionImpl
-
getDocClassName
Description copied from class:DefinitionImpl
Returns human-readable name of this class suitable for documentation. (e.g. "property")- Specified by:
getDocClassName
in classDefinitionImpl
-
getBaseTypeName
- Specified by:
getBaseTypeName
in interfaceSimpleTypeDefinition
-
getDerivationMethod
- Specified by:
getDerivationMethod
in interfaceSimpleTypeDefinition
-
getTypeClass
Description copied from interface:Definition
Returns a compile-time class that is used to represent items. E.g. returns String, Integer, subclasses of Objectable and Containerable and so on.- Specified by:
getTypeClass
in interfaceDefinition
-
clone
- Specified by:
clone
in interfaceDefinition
- Specified by:
clone
in classDefinitionImpl
-
mutator
Description copied from interface:Definition
Returns an interface to mutate this definition.- Specified by:
mutator
in interfaceDefinition
-
getObjectBuilt
- Specified by:
getObjectBuilt
in interfaceDefinitionFragmentBuilder
- Specified by:
getObjectBuilt
in interfaceSimpleTypeDefinition.SimpleTypeDefinitionBuilder
-