|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dellroad.stuff.vaadin.PropertyDef<T>
public final class PropertyDef<T>
Defines a Vaadin property, having a name, which is also the property ID, and its type.
| Constructor Summary | |
|---|---|
PropertyDef(String name,
Class<T> type)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getName()
Get the name of this property. |
Class<T> |
getType()
Get the type of the property value that this instance represents. |
int |
hashCode()
|
T |
read(Item item)
Read the property that this instance represents from the given Item. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyDef(String name,
Class<T> type)
| Method Detail |
|---|
public String getName()
public Class<T> getType()
public T read(Item item)
Item.
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||