public class AbstractTypedValue<T> extends Object implements TypedValue
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isTransient |
protected ValueType |
type |
protected T |
value |
| Constructor and Description |
|---|
AbstractTypedValue(T value,
ValueType type) |
| Modifier and Type | Method and Description |
|---|---|
ValueType |
getType()
The type of the value.
|
T |
getValue()
The actual value.
|
boolean |
isTransient()
Indicator for transience of the value
|
void |
setTransient(boolean isTransient) |
String |
toString() |
protected T value
protected ValueType type
protected boolean isTransient
public T getValue()
TypedValuegetValue in interface TypedValuepublic ValueType getType()
TypedValuegetType in interface TypedValuepublic boolean isTransient()
TypedValueisTransient in interface TypedValuepublic void setTransient(boolean isTransient)
Copyright © 2021. All rights reserved.