|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectcom.vaadin.data.util.AbstractProperty
org.grails.plugin.vaadin.utils.PropertyConverter
org.grails.plugin.vaadin.utils.DomainProxyPropertyConverter
@SuppressWarnings("unchecked") protected class DomainProxyPropertyConverter extends PropertyConverter
Wraps an underyling value in a proxy that implements the equals() method
Property Summary | |
---|---|
String |
equalsProperty
|
Constructor Summary | |
DomainProxyPropertyConverter()
Initialise empty |
|
DomainProxyPropertyConverter(Property propertyDataSource, String equalsProperty)
Initialise with data source |
Method Summary | |
---|---|
Object
|
convert(Object value)
Converts value to proxy |
Class
|
getType()
Returns class of dataSource or Object if none exists |
Object
|
restore(Object value)
Restores value from proxy |
Methods inherited from class PropertyConverter | |
---|---|
convert, getPropertyDataSource, getType, getValue, isReadOnly, readOnlyStatusChange, restore, setPropertyDataSource, setReadOnly, setValue, toString, valueChange |
Methods inherited from class AbstractProperty | |
---|---|
toString, setReadOnly, isReadOnly, getListeners, addListener, addListener, removeListener, removeListener, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll, getValue, getType, setValue |
Property Detail |
---|
String equalsProperty
Constructor Detail |
---|
DomainProxyPropertyConverter()
DomainProxyPropertyConverter(Property propertyDataSource, String equalsProperty)
Method Detail |
---|
@Override Object convert(Object value)
@Override Class getType()
@Override Object restore(Object value)
Groovy Documentation