public interface ItemDefinition<I extends Item> extends Definition
INDENT_STRING
Modifier and Type | Method and Description |
---|---|
void |
adoptElementDefinitionFrom(ItemDefinition otherDef) |
boolean |
canAdd()
Returns true if this item can be added: it can be part of an object that is created.
|
boolean |
canModify()
Returns true if this item can be modified (updated).
|
boolean |
canRead()
Returns true if this item can be read (displayed).
|
ItemDefinition<I> |
clone() |
ItemDelta |
createEmptyDelta(ItemPath path) |
ItemDefinition<I> |
deepClone(boolean ultraDeep) |
ItemDefinition<I> |
deepClone(Map<QName,ComplexTypeDefinition> ctdMap) |
<T extends ItemDefinition> |
findItemDefinition(ItemPath path,
Class<T> clazz) |
int |
getMaxOccurs() |
int |
getMinOccurs() |
QName |
getName() |
String |
getNamespace() |
PrismReferenceValue |
getValueEnumerationRef() |
I |
instantiate()
Create an item instance.
|
I |
instantiate(QName name)
Create an item instance.
|
boolean |
isDynamic()
Returns true if definition was created during the runtime based on a dynamic information
such as xsi:type attributes in XML.
|
boolean |
isInherited()
Whether an item is inherited from a supertype.
|
boolean |
isMandatory() |
boolean |
isMultiValue() |
boolean |
isOperational() |
boolean |
isOptional() |
boolean |
isSingleValue() |
boolean |
isValidFor(QName elementQName,
Class<? extends ItemDefinition> clazz) |
boolean |
isValidFor(QName elementQName,
Class<? extends ItemDefinition> clazz,
boolean caseInsensitive) |
void |
revive(PrismContext prismContext) |
getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getPrismContext, getSchemaRegistry, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isEmphasized, isIgnored, isRuntimeSchema
debugDump, debugDump
@NotNull QName getName()
String getNamespace()
int getMinOccurs()
int getMaxOccurs()
boolean isSingleValue()
boolean isMultiValue()
boolean isMandatory()
boolean isOptional()
boolean isOperational()
boolean isInherited()
boolean isDynamic()
boolean canRead()
boolean canModify()
boolean canAdd()
PrismReferenceValue getValueEnumerationRef()
boolean isValidFor(QName elementQName, Class<? extends ItemDefinition> clazz)
boolean isValidFor(@NotNull QName elementQName, @NotNull Class<? extends ItemDefinition> clazz, boolean caseInsensitive)
void adoptElementDefinitionFrom(ItemDefinition otherDef)
@NotNull I instantiate() throws SchemaException
SchemaException
@NotNull I instantiate(QName name) throws SchemaException
SchemaException
<T extends ItemDefinition> T findItemDefinition(@NotNull ItemPath path, @NotNull Class<T> clazz)
@NotNull ItemDefinition<I> clone()
clone
in interface Definition
ItemDefinition<I> deepClone(boolean ultraDeep)
ItemDefinition<I> deepClone(Map<QName,ComplexTypeDefinition> ctdMap)
void revive(PrismContext prismContext)
Copyright © 2017 Evolveum. All rights reserved.