TYPE - is the generic type of the value.public class GenericBean<TYPE> extends Object implements AttributeWriteValue<TYPE>
value. It can be used for
various purposes - e.g. to receive a value by passing it as argument to a method that already returns something else.| Constructor and Description |
|---|
GenericBean()
The constructor.
|
GenericBean(TYPE value)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TYPE |
getValue()
This method gets the value of this object.
|
int |
hashCode() |
void |
setValue(TYPE value)
This method sets the
value. |
private TYPE value
public TYPE getValue()
AttributeReadValuegetValue in interface AttributeReadValue<TYPE>null unless otherwise stated.public void setValue(TYPE value)
AttributeWriteValuevalue.setValue in interface AttributeWriteValue<TYPE>value - is the new value. May be null unless otherwise stated.Copyright © 2001–2016 mmm-Team. All rights reserved.