public class PrismPropertyDefinition<T> extends ItemDefinition<PrismProperty<T>>
Definition
for more details.name
deprecated, displayName, displayOrder, documentation, emphasized, help, ignored, inherited, isAbstract, isRuntimeSchema, prismContext, typeName
INDENT_STRING
Constructor and Description |
---|
PrismPropertyDefinition(QName elementName,
QName typeName,
PrismContext prismContext) |
PrismPropertyDefinition(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(PrismPropertyDefinition<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, getMaxOccurs, getMinOccurs, getName, getNamespace, getValueEnumerationRef, isDynamic, isMandatory, isMultiValue, isOperational, isOptional, isSingleValue, isValidFor, isValidFor, revive, setCanAdd, setCanModify, setCanRead, setDynamic, setMaxOccurs, setMinOccurs, setName, setOperational, setReadOnly, setValueEnumerationRef, toString
copyDefinitionData, debugDump, debugDump, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getPrismContext, getSchemaRegistry, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isEmphasized, isIgnored, isInherited, isRuntimeSchema, setAbstract, setDeprecated, setDisplayName, setDisplayOrder, setDocumentation, setEmphasized, setHelp, setIgnored, setInherited, setRuntimeSchema, setTypeName
public PrismPropertyDefinition(QName elementName, QName typeName, PrismContext prismContext)
public PrismPropertyDefinition(QName elementName, QName typeName, PrismContext prismContext, Collection<? extends DisplayableValue<T>> allowedValues, T defaultValue)
public Collection<? extends DisplayableValue<T>> getAllowedValues()
public T defaultValue()
public QName getValueType()
public Boolean isIndexed()
public void setIndexed(Boolean indexed)
public QName getMatchingRuleQName()
public void setMatchingRuleQName(QName matchingRuleQName)
public PrismProperty<T> instantiate()
ItemDefinition
instantiate
in class ItemDefinition<PrismProperty<T>>
public PrismProperty<T> instantiate(QName name)
ItemDefinition
instantiate
in class ItemDefinition<PrismProperty<T>>
public PropertyDelta<T> createEmptyDelta(ItemPath path)
createEmptyDelta
in class ItemDefinition<PrismProperty<T>>
public PrismPropertyDefinition<T> clone()
clone
in class ItemDefinition<PrismProperty<T>>
protected void copyDefinitionData(PrismPropertyDefinition<T> clone)
protected void extendToString(StringBuilder sb)
extendToString
in class ItemDefinition<PrismProperty<T>>
public int hashCode()
hashCode
in class ItemDefinition<PrismProperty<T>>
public boolean equals(Object obj)
equals
in class ItemDefinition<PrismProperty<T>>
protected String getDebugDumpClassName()
getDebugDumpClassName
in class Definition
public String getDocClassName()
Definition
getDocClassName
in class Definition
Copyright © 2016 evolveum. All rights reserved.