|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.lang.api.GenericBean<TYPE>
TYPE - is the generic type of the value.public class GenericBean<TYPE>
This class is a simple java bean that has one generic property named
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.
| Field Summary | |
|---|---|
private TYPE |
value
|
| Constructor Summary | |
|---|---|
GenericBean()
The constructor. |
|
GenericBean(TYPE value)
The constructor. |
|
| Method Summary | |
|---|---|
TYPE |
getValue()
This method gets the value of this bean. |
void |
setValue(TYPE value)
This method sets the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private TYPE value
getValue()| Constructor Detail |
|---|
public GenericBean()
public GenericBean(TYPE value)
value - is the initial value.| Method Detail |
|---|
public TYPE getValue()
public void setValue(TYPE value)
value.
value - is the value to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||