Interface PropertyDefinitionDelegator<T>
- All Superinterfaces:
Cloneable,DebugDumpable,Definition,DefinitionDelegator,Freezable,ItemDefinition<PrismProperty<T>>,ItemDefinitionDelegator<PrismProperty<T>>,PrismContextSensitive,PrismItemAccessDefinition,PrismPropertyDefinition<T>,Revivable,Serializable,SmartVisitable<Definition>,Visitable<Definition>
- All Known Subinterfaces:
AttributeDefinitionDelegator<T>,RefinedAttributeDefinitionDelegator<T>
- All Known Implementing Classes:
ResourceAttributeDefinitionImpl,TransformablePropertyDefinition,TransformablePropertyDefinition.RefinedAttribute,TransformablePropertyDefinition.ResourceAttribute
public interface PropertyDefinitionDelegator<T>
extends ItemDefinitionDelegator<PrismProperty<T>>, PrismPropertyDefinition<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Mutable -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull PropertyDelta<T>createEmptyDelta(ItemPath path) Creates an empty delta (with appropriate implementation class), pointing to this item definition, with a given path.default Tdelegate()default @Nullable Collection<? extends DisplayableValue<T>>Returns allowed values for this property.default QNameReturns matching rule name.default @Nullable Collection<? extends DisplayableValue<T>>Returns suggested values for this property.Returns a compile-time class that is used to represent items.default @NotNull PrismProperty<T>Create an item instance.default @NotNull PrismProperty<T>instantiate(QName name) Create an item instance.default BooleanThis is XSD annotation that specifies whether a property should be indexed in the storage.Methods inherited from interface com.evolveum.midpoint.prism.deleg.DefinitionDelegator
accept, accept, debugDump, debugDump, debugDump, debugDumpLazily, debugDumpLazily, getAnnotation, getAnnotations, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getPrismContext, getProcessing, getRemovedSince, getSchemaMigrations, getSchemaRegistry, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, setAnnotationMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
isMandatory, isMultiValue, isOptional, isSingleValueMethods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, debugDumpShortToString, deepClone, findItemDefinition, getDiagrams, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isOperational, isSearchable, isValidFor, structuredTypeMethods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
clone, isAnyType, toMutable
-
Method Details
-
delegate
PrismPropertyDefinition<T> delegate()- Specified by:
delegatein interfaceDefinitionDelegator- Specified by:
delegatein interfaceItemDefinitionDelegator<T>
-
getAllowedValues
Description copied from interface:PrismPropertyDefinitionReturns allowed values for this property.- Specified by:
getAllowedValuesin interfacePrismPropertyDefinition<T>
-
getSuggestedValues
Description copied from interface:PrismPropertyDefinitionReturns suggested values for this property.- Specified by:
getSuggestedValuesin interfacePrismPropertyDefinition<T>
-
defaultValue
- Specified by:
defaultValuein interfacePrismPropertyDefinition<T>
-
isIndexed
Description copied from interface:PrismPropertyDefinitionThis is XSD annotation that specifies whether a property should be indexed in the storage. It can only apply to properties. It has following meaning: true: the property must be indexed. If the storage is not able to index the value, it should indicate an error. false: the property should not be indexed. null: data store decides whether to index the property or not.- Specified by:
isIndexedin interfacePrismPropertyDefinition<T>
-
getMatchingRuleQName
Description copied from interface:PrismPropertyDefinitionReturns matching rule name. Matching rules are algorithms that specify how to compare, normalize and/or order the values. E.g. there are matching rules for case insensitive string comparison, for LDAP DNs, etc.- Specified by:
getMatchingRuleQNamein interfacePrismPropertyDefinition<T>- Returns:
- matching rule name
-
createEmptyDelta
Description copied from interface:ItemDefinitionCreates an empty delta (with appropriate implementation class), pointing to this item definition, with a given path.- Specified by:
createEmptyDeltain interfaceItemDefinition<T>- Specified by:
createEmptyDeltain interfaceItemDefinitionDelegator<T>- Specified by:
createEmptyDeltain interfacePrismPropertyDefinition<T>
-
instantiate
Description copied from interface:ItemDefinitionCreate an item instance. Definition name or default name will be used as an element name for the instance. The instance will otherwise be empty.- Specified by:
instantiatein interfaceItemDefinition<T>- Specified by:
instantiatein interfaceItemDefinitionDelegator<T>- Specified by:
instantiatein interfacePrismPropertyDefinition<T>
-
instantiate
Description copied from interface:ItemDefinitionCreate an item instance. Definition name will use provided name. for the instance. The instance will otherwise be empty.- Specified by:
instantiatein interfaceItemDefinition<T>- Specified by:
instantiatein interfaceItemDefinitionDelegator<T>- Specified by:
instantiatein interfacePrismPropertyDefinition<T>
-
getTypeClass
Description copied from interface:DefinitionReturns a compile-time class that is used to represent items. E.g. returns String, Integer, subclasses of Objectable and Containerable and so on.- Specified by:
getTypeClassin interfaceDefinition- Specified by:
getTypeClassin interfaceDefinitionDelegator- Specified by:
getTypeClassin interfacePrismPropertyDefinition<T>
-