public class PrismPropertyDefinitionImpl<T> extends ItemDefinitionImpl<PrismProperty<T>> implements PrismPropertyDefinition<T>
Definition
for more details.name
deprecated, displayName, displayOrder, documentation, emphasized, help, ignored, isAbstract, isRuntimeSchema, prismContext, typeName
INDENT_STRING
Constructor and Description |
---|
PrismPropertyDefinitionImpl(QName elementName,
QName typeName,
PrismContext prismContext) |
PrismPropertyDefinitionImpl(QName elementName,
QName typeName,
PrismContext prismContext,
Collection<? extends DisplayableValue<T>> allowedValues,
T defaultValue) |
Modifier and Type | Method and Description |
---|---|
PrismPropertyDefinition<T> |
clone() |
protected void |
copyDefinitionData(PrismPropertyDefinitionImpl<T> clone) |
PropertyDelta<T> |
createEmptyDelta(ItemPath path) |
T |
defaultValue() |
boolean |
equals(Object obj) |
protected void |
extendToString(StringBuilder sb) |
Collection<? extends DisplayableValue<T>> |
getAllowedValues()
Returns allowed values for this property.
|
protected String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs.
|
String |
getDocClassName()
Returns human-readable name of this class suitable for documentation.
|
QName |
getMatchingRuleQName()
Returns matching rule name.
|
QName |
getValueType()
Returns QName of the property value type.
|
int |
hashCode() |
PrismProperty<T> |
instantiate()
Create an item instance.
|
PrismProperty<T> |
instantiate(QName name)
Create an item instance.
|
Boolean |
isIndexed()
This is XSD annotation that specifies whether a property should
be indexed in the storage.
|
void |
setIndexed(Boolean indexed) |
void |
setMatchingRuleQName(QName matchingRuleQName) |
addNamespaceIfApplicable, adoptElementDefinitionFrom, canAdd, canModify, canRead, copyDefinitionData, debugFlags, debugMultiplicity, deepClone, deepClone, findItemDefinition, getMaxOccurs, getMinOccurs, getName, getNamespace, getValueEnumerationRef, isDynamic, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSingleValue, isValidFor, isValidFor, revive, setCanAdd, setCanModify, setCanRead, setDynamic, setInherited, setMaxOccurs, setMinOccurs, setName, setOperational, setReadOnly, setValueEnumerationRef, toString
copyDefinitionData, debugDump, debugDump, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getPrismContext, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isEmphasized, isIgnored, isRuntimeSchema, setAbstract, setDeprecated, setDisplayName, setDisplayOrder, setDocumentation, setEmphasized, setHelp, setIgnored, setRuntimeSchema, setTypeName
finalize, getClass, notify, notifyAll, wait, wait, wait
isAnyType
adoptElementDefinitionFrom, canAdd, canModify, canRead, deepClone, deepClone, findItemDefinition, getMaxOccurs, getMinOccurs, getName, getNamespace, getValueEnumerationRef, isDynamic, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSingleValue, isValidFor, isValidFor, revive
getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getPrismContext, getSchemaRegistry, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isEmphasized, isIgnored, isRuntimeSchema
debugDump, debugDump
public PrismPropertyDefinitionImpl(QName elementName, QName typeName, PrismContext prismContext)
public PrismPropertyDefinitionImpl(QName elementName, QName typeName, PrismContext prismContext, Collection<? extends DisplayableValue<T>> allowedValues, T defaultValue)
public Collection<? extends DisplayableValue<T>> getAllowedValues()
getAllowedValues
in interface PrismPropertyDefinition<T>
public T defaultValue()
defaultValue
in interface PrismPropertyDefinition<T>
public QName getValueType()
PrismPropertyDefinition
getValueType
in interface PrismPropertyDefinition<T>
public Boolean isIndexed()
isIndexed
in interface PrismPropertyDefinition<T>
public void setIndexed(Boolean indexed)
public QName getMatchingRuleQName()
getMatchingRuleQName
in interface PrismPropertyDefinition<T>
public void setMatchingRuleQName(QName matchingRuleQName)
@NotNull public PrismProperty<T> instantiate()
ItemDefinition
instantiate
in interface ItemDefinition<PrismProperty<T>>
instantiate
in interface PrismPropertyDefinition<T>
@NotNull public PrismProperty<T> instantiate(QName name)
ItemDefinition
instantiate
in interface ItemDefinition<PrismProperty<T>>
instantiate
in interface PrismPropertyDefinition<T>
public PropertyDelta<T> createEmptyDelta(ItemPath path)
createEmptyDelta
in interface ItemDefinition<PrismProperty<T>>
createEmptyDelta
in interface PrismPropertyDefinition<T>
@NotNull public PrismPropertyDefinition<T> clone()
clone
in interface Definition
clone
in interface ItemDefinition<PrismProperty<T>>
clone
in interface PrismPropertyDefinition<T>
clone
in class ItemDefinitionImpl<PrismProperty<T>>
protected void copyDefinitionData(PrismPropertyDefinitionImpl<T> clone)
protected void extendToString(StringBuilder sb)
extendToString
in class ItemDefinitionImpl<PrismProperty<T>>
public int hashCode()
hashCode
in class ItemDefinitionImpl<PrismProperty<T>>
public boolean equals(Object obj)
equals
in class ItemDefinitionImpl<PrismProperty<T>>
protected String getDebugDumpClassName()
getDebugDumpClassName
in class DefinitionImpl
public String getDocClassName()
DefinitionImpl
getDocClassName
in class DefinitionImpl
Copyright © 2017 Evolveum. All rights reserved.