public abstract class TypeDefinitionImpl extends DefinitionImpl implements TypeDefinition
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
compileTimeClass |
protected Integer |
instantiationOrder |
protected Set<TypeDefinition> |
staticSubTypes |
protected QName |
superType |
deprecated, deprecatedSince, displayName, displayOrder, documentation, elaborate, emphasized, experimental, help, inherited, isAbstract, isRuntimeSchema, plannedRemoval, prismContext, processing, typeName
INDENT_STRING
Constructor and Description |
---|
TypeDefinitionImpl(QName typeName,
PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
void |
addStaticSubType(TypeDefinition subtype) |
boolean |
canRepresent(QName specTypeQName) |
protected void |
copyDefinitionData(TypeDefinitionImpl clone) |
boolean |
equals(Object o) |
Class<?> |
getCompileTimeClass()
Returns compile-time class, if this type has any.
|
Integer |
getInstantiationOrder() |
Collection<TypeDefinition> |
getStaticSubTypes()
Subtypes - but only these that are a part of the static schema.
|
QName |
getSuperType()
Name of super type of this complex type definition.
|
int |
hashCode() |
void |
setCompileTimeClass(Class<?> compileTimeClass) |
void |
setInstantiationOrder(Integer instantiationOrder) |
void |
setSuperType(QName superType) |
clone, copyDefinitionData, debugDump, getAnnotation, getDebugDumpClassName, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocClassName, getDocumentation, getDocumentationPreview, getHelp, getPlannedRemoval, getPrismContext, getProcessing, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema, revive, setAbstract, setAnnotation, setDeprecated, setDeprecatedSince, setDisplayName, setDisplayOrder, setDocumentation, setElaborate, setEmphasized, setExperimental, setHelp, setInherited, setPlannedRemoval, setProcessing, setRuntimeSchema, setTypeName, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, debugDump, getAnnotation, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getPlannedRemoval, getPrismContext, getProcessing, getSchemaRegistry, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema, setAnnotation
debugDump, debugDump, debugDumpLazily, debugDumpLazily
protected QName superType
protected Class<?> compileTimeClass
@NotNull protected final Set<TypeDefinition> staticSubTypes
protected Integer instantiationOrder
public TypeDefinitionImpl(QName typeName, PrismContext prismContext)
public QName getSuperType()
TypeDefinition
getSuperType
in interface TypeDefinition
public void setSuperType(QName superType)
@NotNull public Collection<TypeDefinition> getStaticSubTypes()
TypeDefinition
getStaticSubTypes
in interface TypeDefinition
public void addStaticSubType(TypeDefinition subtype)
public Integer getInstantiationOrder()
getInstantiationOrder
in interface TypeDefinition
public void setInstantiationOrder(Integer instantiationOrder)
public Class<?> getCompileTimeClass()
TypeDefinition
getCompileTimeClass
in interface TypeDefinition
public void setCompileTimeClass(Class<?> compileTimeClass)
protected void copyDefinitionData(TypeDefinitionImpl clone)
public boolean canRepresent(QName specTypeQName)
canRepresent
in interface TypeDefinition
public boolean equals(Object o)
equals
in class DefinitionImpl
public int hashCode()
hashCode
in class DefinitionImpl
Copyright © 2019 Evolveum. All rights reserved.