public class GenericValueSupport extends AbstractMetaValue implements GenericValue
| Constructor and Description |
|---|
GenericValueSupport(GenericMetaType metaType,
Serializable value)
Create a new GenericValueSupport.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GenericMetaType |
getMetaType()
Get the metatype for this value
|
Serializable |
getValue()
Get the value.
|
int |
hashCode() |
void |
setValue(Serializable value)
Set the value.
|
String |
toString() |
clonepublic GenericValueSupport(GenericMetaType metaType, Serializable value)
metaType - the generic meta typevalue - the valueIllegalArgumentException - for a null generic MetaTypepublic GenericMetaType getMetaType()
MetaValuegetMetaType in interface GenericValuegetMetaType in interface MetaValuepublic Serializable getValue()
getValue in interface GenericValuepublic void setValue(Serializable value)
value - the value.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.