Package com.evolveum.midpoint.prism.impl
Class TypeDefinitionImpl
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.impl.DefinitionImpl
com.evolveum.midpoint.prism.impl.TypeDefinitionImpl
- All Implemented Interfaces:
Definition,Freezable,MutableDefinition,PrismContextSensitive,Revivable,SmartVisitable<Definition>,TypeDefinition,Visitable<Definition>,DebugDumpable,Serializable,Cloneable
- Direct Known Subclasses:
ComplexTypeDefinitionImpl,SimpleTypeDefinitionImpl
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Class<?>protected Integerprotected final SerializationProxyFields inherited from class com.evolveum.midpoint.prism.impl.DefinitionImpl
deprecated, deprecatedSince, displayName, displayOrder, documentation, elaborate, emphasized, experimental, help, isAbstract, isRuntimeSchema, plannedRemoval, processing, removed, removedSince, typeNameFields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStaticSubType(TypeDefinition subtype) booleancanRepresent(QName typeName) protected voidcopyDefinitionDataFrom(TypeDefinition source) booleanClass<?>Returns compile-time class, if this type has any.@NotNull Collection<TypeDefinition>Subtypes - but only these that are a part of the static schema.Name of super type of this complex type definition.inthashCode()booleanisAssignableFrom(TypeDefinition other, SchemaRegistry schemaRegistry) Crawls up the type hierarchy and looks for type name equivalence.voidsetCompileTimeClass(Class<?> compileTimeClass) voidsetInstantiationOrder(Integer instantiationOrder) voidsetSuperType(QName superType) protected static booleanuseSerializationProxy(boolean localeEnabled) protected ObjectMethods inherited from class com.evolveum.midpoint.prism.impl.DefinitionImpl
accept, accept, addDiagram, addSchemaMigration, checkMutableOnExposing, clone, copyDefinitionDataFrom, debugDump, extendDumpHeader, getAnnotation, getAnnotations, getDebugDumpClassName, getDeprecatedSince, getDiagrams, getDisplayName, getDisplayOrder, getDocClassName, getDocumentation, getDocumentationPreview, getHelp, getPlannedRemoval, getPrismContext, getProcessing, getRemovedSince, getSchemaMigrations, getTypeClass, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, revive, setAbstract, setAnnotation, setDeprecated, setDeprecatedSince, setDisplayName, setDisplayOrder, setDocumentation, setElaborate, setEmphasized, setExperimental, setHelp, setPlannedRemoval, setProcessing, setRemoved, setRemovedSince, setRuntimeSchema, setTypeName, toStringMethods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable, performFreezeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Definition
clone, debugDump, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getRemovedSince, getSchemaMigrations, getSchemaRegistry, getTypeClass, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, setAnnotation, toMutableMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContextMethods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
Field Details
-
compileTimeClass
-
instantiationOrder
-
serializationProxy
-
-
Method Details
-
useSerializationProxy
protected static boolean useSerializationProxy(boolean localeEnabled) -
getSuperType
Description copied from interface:TypeDefinitionName of super type of this complex type definition. E.g. c:ObjectType is a super type for c:FocusType which is a super type for c:UserType. Or (more complex example) ri:ShadowAttributesType is a super type of ri:AccountObjectClass. (TODO is this really true?)- Specified by:
getSuperTypein interfaceTypeDefinition
-
setSuperType
-
getStaticSubTypes
Description copied from interface:TypeDefinitionSubtypes - but only these that are a part of the static schema. A little bit experimental. :)- Specified by:
getStaticSubTypesin interfaceTypeDefinition
-
addStaticSubType
-
getInstantiationOrder
- Specified by:
getInstantiationOrderin interfaceTypeDefinition
-
setInstantiationOrder
-
getCompileTimeClass
Description copied from interface:TypeDefinitionReturns compile-time class, if this type has any. For example, UserType.class, ObjectType.class, ExtensionType.class.- Specified by:
getCompileTimeClassin interfaceTypeDefinition
-
setCompileTimeClass
-
copyDefinitionDataFrom
-
canRepresent
- Specified by:
canRepresentin interfaceTypeDefinition
-
equals
- Overrides:
equalsin classDefinitionImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classDefinitionImpl
-
isAssignableFrom
Crawls up the type hierarchy and looks for type name equivalence.- Specified by:
isAssignableFromin interfaceTypeDefinition- Returns:
- True if variables of this type can be assigned value of specified other type, i.e. if this type is equal or supertype of the other type.
-
writeReplace
-