|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.japaki.beans.SimpleBean<V>
public class SimpleBean<V>
A bean with a single property.
| Constructor Summary | |
|---|---|
SimpleBean()
|
|
| Method Summary | ||
|---|---|---|
boolean |
equals(Object obj)
|
|
static
|
getProperty()
Returns the property of this bean. |
|
V |
getValue()
Returns the value of the (single) property of this bean. |
|
int |
hashCode()
|
|
static
|
newInstance(V value)
Creates a new simple bean |
|
V |
setValue(V value)
Changes the value of the (single) property of this bean. |
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleBean()
| Method Detail |
|---|
public static <V> SimpleBean<V> newInstance(V value)
value - initital value of the propertypublic V getValue()
getValue in interface SinglePropertyBean<V>public V setValue(V value)
setValue in interface SinglePropertyBean<V>value - new value of the property
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic static <E> Property<SinglePropertyBean<E>,E> getProperty()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||