public class TypedValue<T> extends Object implements ShortDumpable
Constructor and Description |
---|
TypedValue() |
TypedValue(Item<?,?> prismItem) |
TypedValue(Object value,
Class<T> typeClass) |
TypedValue(Object value,
ItemDefinition<?> definition) |
TypedValue(Object value,
ItemDefinition<?> definition,
Class<T> typeClass) |
Modifier and Type | Method and Description |
---|---|
boolean |
canDetermineType() |
TypedValue<T> |
createTransformed(Object newValue)
Returns new TypedValue that has a new (transformed) value, but has the same definition.
|
Class<T> |
determineClass() |
boolean |
equals(Object obj) |
<D extends ItemDefinition> |
getDefinition() |
Class<T> |
getTypeClass() |
Object |
getValue() |
int |
hashCode() |
void |
setDefinition(ItemDefinition<?> definition) |
void |
setTypeClass(Class<T> typeClass) |
void |
setValue(Object value) |
void |
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
shortDump, shortDumpLazily
public TypedValue()
public TypedValue(Item<?,?> prismItem)
public TypedValue(Object value, ItemDefinition<?> definition)
public TypedValue(Object value, ItemDefinition<?> definition, Class<T> typeClass)
public Object getValue()
public void setValue(Object value)
public <D extends ItemDefinition> D getDefinition()
public void setDefinition(ItemDefinition<?> definition)
public boolean canDetermineType()
public Class<T> determineClass() throws SchemaException
SchemaException
public TypedValue<T> createTransformed(Object newValue)
public void shortDump(StringBuilder sb)
ShortDumpable
shortDump
in interface ShortDumpable
sb
- StringBuilder to which to a compact one-line content of the object intended
for diagnostics by system administrator should be appended.Copyright © 2019 Evolveum. All rights reserved.