Package com.evolveum.midpoint.prism
Interface MutableComplexTypeDefinition
-
- All Superinterfaces:
Cloneable
,ComplexTypeDefinition
,DebugDumpable
,Definition
,Freezable
,LocalDefinitionStore
,MutableDefinition
,MutableTypeDefinition
,PrismContextSensitive
,Revivable
,Serializable
,SmartVisitable<Definition>
,TypeDefinition
,Visitable<Definition>
- All Known Subinterfaces:
MutableObjectClassComplexTypeDefinition
- All Known Implementing Classes:
ComplexTypeDefinitionImpl
,ObjectClassComplexTypeDefinitionImpl
public interface MutableComplexTypeDefinition extends ComplexTypeDefinition, MutableTypeDefinition
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(ItemDefinition<?> definition)
void
addSubstitution(ItemDefinition<?> itemDef, ItemDefinition<?> maybeSubst)
@NotNull ComplexTypeDefinition
clone()
Does a shallow clone of this definition (i.e.MutablePrismPropertyDefinition<?>
createPropertyDefinition(String name, QName typeName)
MutablePrismPropertyDefinition<?>
createPropertyDefinition(QName name, QName typeName)
void
delete(QName itemName)
void
replaceDefinition(QName itemName, ItemDefinition newDefinition)
void
setAbstract(boolean value)
void
setCompileTimeClass(Class<?> compileTimeClass)
void
setContainerMarker(boolean value)
void
setDefaultNamespace(String namespace)
void
setExtensionForType(QName type)
void
setIgnoredNamespaces(@NotNull List<String> ignoredNamespaces)
void
setListMarker(boolean value)
void
setObjectMarker(boolean value)
void
setReferenceMarker(boolean value)
void
setSuperType(QName superType)
void
setXsdAnyMarker(boolean value)
-
Methods inherited from interface com.evolveum.midpoint.prism.ComplexTypeDefinition
containsItemDefinition, deepClone, getDefaultNamespace, getDefinitions, getExtensionForType, getIgnoredNamespaces, hasSubstitutions, isContainerMarker, isEmpty, isListMarker, isObjectMarker, isReferenceMarker, isShared, isXsdAnyMarker, itemOrSubstitution, merge, revive, substitution, toMutable, trimTo
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Definition
debugDump, getAnnotation, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getSchemaMigrations, getSchemaRegistry, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema, setAnnotation
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.LocalDefinitionStore
findContainerDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findNamedItemDefinition, findPropertyDefinition, findReferenceDefinition, findReferenceDefinition
-
Methods inherited from interface com.evolveum.midpoint.prism.MutableDefinition
addSchemaMigration, setDeprecated, setDisplayName, setDisplayOrder, setDocumentation, setEmphasized, setExperimental, setHelp, setProcessing, setRuntimeSchema, setTypeName
-
Methods inherited from interface com.evolveum.midpoint.prism.MutableTypeDefinition
setInstantiationOrder
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
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
-
-
-
-
Method Detail
-
add
void add(ItemDefinition<?> definition)
-
delete
void delete(QName itemName)
-
createPropertyDefinition
MutablePrismPropertyDefinition<?> createPropertyDefinition(QName name, QName typeName)
-
createPropertyDefinition
MutablePrismPropertyDefinition<?> createPropertyDefinition(String name, QName typeName)
-
clone
@NotNull @NotNull ComplexTypeDefinition clone()
Description copied from interface:ComplexTypeDefinition
Does a shallow clone of this definition (i.e. item definitions themselves are NOT cloned).- Specified by:
clone
in interfaceComplexTypeDefinition
- Specified by:
clone
in interfaceDefinition
-
setExtensionForType
void setExtensionForType(QName type)
-
setAbstract
void setAbstract(boolean value)
-
setSuperType
void setSuperType(QName superType)
-
setObjectMarker
void setObjectMarker(boolean value)
-
setContainerMarker
void setContainerMarker(boolean value)
-
setReferenceMarker
void setReferenceMarker(boolean value)
-
setDefaultNamespace
void setDefaultNamespace(String namespace)
-
setXsdAnyMarker
void setXsdAnyMarker(boolean value)
-
setListMarker
void setListMarker(boolean value)
-
setCompileTimeClass
void setCompileTimeClass(Class<?> compileTimeClass)
-
replaceDefinition
void replaceDefinition(QName itemName, ItemDefinition newDefinition)
-
addSubstitution
@Experimental void addSubstitution(ItemDefinition<?> itemDef, ItemDefinition<?> maybeSubst)
-
-