Package com.evolveum.midpoint.prism
Interface PrismContainerDefinition<C extends Containerable>
-
- All Superinterfaces:
Cloneable
,DebugDumpable
,Definition
,ItemDefinition<PrismContainer<C>>
,LocalDefinitionStore
,Revivable
,Serializable
,Visitable
- All Known Subinterfaces:
MutablePrismContainerDefinition<C>
,PrismObjectDefinition<O>
,ResourceAttributeContainerDefinition
- All Known Implementing Classes:
PrismContainerDefinitionImpl
,PrismObjectDefinitionImpl
,ResourceAttributeContainerDefinitionImpl
public interface PrismContainerDefinition<C extends Containerable> extends ItemDefinition<PrismContainer<C>>, LocalDefinitionStore
- Author:
- mederly
-
-
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 boolean
canRepresent(QName type)
PrismContainerDefinition<C>
clone()
PrismContainerDefinition<C>
cloneWithReplacedDefinition(QName itemName, ItemDefinition newDefinition)
ContainerDelta<C>
createEmptyDelta(ItemPath path)
PrismContainerValue<C>
createValue()
Class<C>
getCompileTimeClass()
ComplexTypeDefinition
getComplexTypeDefinition()
String
getDefaultNamespace()
List<? extends ItemDefinition>
getDefinitions()
List<String>
getIgnoredNamespaces()
List<PrismPropertyDefinition>
getPropertyDefinitions()
Class<C>
getTypeClass()
Returns a compile-time class that is used to represent items.boolean
isEmpty()
void
replaceDefinition(QName itemName, ItemDefinition newDefinition)
void
revive(PrismContext prismContext)
MutablePrismContainerDefinition<C>
toMutable()
-
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, getPlannedRemoval, getPrismContext, getProcessing, getSchemaMigrations, getSchemaRegistry, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema, setAnnotation
-
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, debugDumpShortToString, deepClone, deepClone, findItemDefinition, getItemName, getMaxOccurs, getMinOccurs, getNamespace, getSubstitutionHead, getValueEnumerationRef, instantiate, instantiate, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSingleValue, isValidFor, isValidFor
-
Methods inherited from interface com.evolveum.midpoint.prism.LocalDefinitionStore
findContainerDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findNamedItemDefinition, findPropertyDefinition, findReferenceDefinition, findReferenceDefinition
-
-
-
-
Method Detail
-
getComplexTypeDefinition
ComplexTypeDefinition getComplexTypeDefinition()
-
revive
void revive(PrismContext prismContext)
- Specified by:
revive
in interfaceItemDefinition<C extends Containerable>
- Specified by:
revive
in interfaceRevivable
-
getDefaultNamespace
String getDefaultNamespace()
-
getDefinitions
List<? extends ItemDefinition> getDefinitions()
-
getPropertyDefinitions
List<PrismPropertyDefinition> getPropertyDefinitions()
-
createEmptyDelta
ContainerDelta<C> createEmptyDelta(ItemPath path)
- Specified by:
createEmptyDelta
in interfaceItemDefinition<C extends Containerable>
-
clone
@NotNull PrismContainerDefinition<C> clone()
- Specified by:
clone
in interfaceDefinition
- Specified by:
clone
in interfaceItemDefinition<C extends Containerable>
-
cloneWithReplacedDefinition
PrismContainerDefinition<C> cloneWithReplacedDefinition(QName itemName, ItemDefinition newDefinition)
-
replaceDefinition
void replaceDefinition(QName itemName, ItemDefinition newDefinition)
-
createValue
PrismContainerValue<C> createValue()
-
isEmpty
boolean isEmpty()
-
canRepresent
boolean canRepresent(@NotNull QName type)
-
toMutable
MutablePrismContainerDefinition<C> toMutable()
- Specified by:
toMutable
in interfaceDefinition
- Specified by:
toMutable
in interfaceItemDefinition<C extends Containerable>
-
getTypeClass
Class<C> getTypeClass()
Description copied from interface:Definition
Returns a compile-time class that is used to represent items. E.g. returns String, Integer, sublcasses of Objectable and Containerable and so on.- Specified by:
getTypeClass
in interfaceDefinition
-
-