public class PrismPropertyDefinition<T> extends ItemDefinition
Definition
for more details.name
defaultName, displayName, displayOrder, help, ignored, isRuntimeSchema, prismContext, typeName
INDENT_STRING
Constructor and Description |
---|
PrismPropertyDefinition(QName name,
QName defaultName,
QName typeName,
PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreate() |
boolean |
canRead()
TODO:
|
boolean |
canUpdate()
TODO:
|
PrismPropertyDefinition<T> |
clone() |
protected void |
copyDefinitionData(PrismPropertyDefinition<T> clone) |
PropertyDelta<T> |
createEmptyDelta(ItemPath path) |
boolean |
equals(Object obj) |
protected void |
extendToString(StringBuilder sb) |
T[] |
getAllowedValues()
Returns allowed values for this property.
|
protected String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs.
|
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 |
setCreate(boolean create) |
void |
setIndexed(Boolean indexed) |
void |
setRead(boolean read) |
void |
setReadOnly() |
void |
setUpdate(boolean update) |
copyDefinitionData, getDefaultName, getMaxOccurs, getMinOccurs, getName, getNameOrDefaultName, getNamespace, isDynamic, isMandatory, isMultiValue, isOperational, isOptional, isSingleValue, isValidFor, setDynamic, setMaxOccurs, setMinOccurs, setName, setOperational, toString
copyDefinitionData, debugDump, debugDump, dump, getDisplayName, getDisplayOrder, getHelp, getPrismContext, getSchemaRegistry, getTypeClass, getTypeName, isIgnored, isRuntimeSchema, setDisplayName, setDisplayOrder, setHelp, setIgnored, setRuntimeSchema, setTypeName
public PrismPropertyDefinition(QName name, QName defaultName, QName typeName, PrismContext prismContext)
public T[] getAllowedValues()
public boolean canRead()
public boolean canUpdate()
public void setReadOnly()
public QName getValueType()
public Boolean isIndexed()
public void setIndexed(Boolean indexed)
public PrismProperty<T> instantiate()
ItemDefinition
instantiate
in class ItemDefinition
public PrismProperty<T> instantiate(QName name)
ItemDefinition
instantiate
in class ItemDefinition
public PropertyDelta<T> createEmptyDelta(ItemPath path)
createEmptyDelta
in class ItemDefinition
public PrismPropertyDefinition<T> clone()
clone
in class ItemDefinition
protected void copyDefinitionData(PrismPropertyDefinition<T> clone)
public void setRead(boolean read)
public void setUpdate(boolean update)
public void setCreate(boolean create)
public boolean canCreate()
protected void extendToString(StringBuilder sb)
extendToString
in class ItemDefinition
public int hashCode()
hashCode
in class ItemDefinition
public boolean equals(Object obj)
equals
in class ItemDefinition
protected String getDebugDumpClassName()
getDebugDumpClassName
in class Definition
Copyright © 2013 evolveum. All rights reserved.