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() |
clone
public GenericValueSupport(GenericMetaType metaType, Serializable value)
metaType
- the generic meta typevalue
- the valueIllegalArgumentException
- for a null generic MetaTypepublic GenericMetaType getMetaType()
MetaValue
getMetaType
in interface GenericValue
getMetaType
in interface MetaValue
public Serializable getValue()
getValue
in interface GenericValue
public void setValue(Serializable value)
value
- the value.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.