|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface DataBindingSource
A DataBindingSource is a lot like a Map but is read-only and is tailored to support data binding.
Method Summary | |
---|---|
boolean
|
containsProperty(java.lang.String propertyName)
@param propertyName the name of a property |
java.lang.Object
|
getAt(java.lang.String propertyName)
Convencience operator overloading |
java.lang.Object
|
getIdentifierValue()
@return the identifier value for binding or null if no identifier is represented by this binding source |
java.util.Set
|
getPropertyNames()
@return the names of properties represented |
java.lang.Object
|
getPropertyValue(java.lang.String propertyName)
@param propertyName the name of a property |
boolean
|
hasIdentifier()
@return true if this binding source contains an identifier for binding |
boolean
|
isDataSourceAware()
@return true if GORM operations should be enabled when binding with this DataBindingSource |
void
|
setDataSourceAware(boolean isDataSourceAware)
@param isDataSourceAware true if GORM operations should be enabled when binding with this DataBindingSource |
int
|
size()
@return the number of properties represented by this binding source |
Method Detail |
---|
public boolean containsProperty(java.lang.String propertyName)
propertyName
- the name of a property
public java.lang.Object getAt(java.lang.String propertyName)
propertyName
- the name of a property
public java.lang.Object getIdentifierValue()
public java.util.Set getPropertyNames()
public java.lang.Object getPropertyValue(java.lang.String propertyName)
propertyName
- the name of a property
public boolean hasIdentifier()
public boolean isDataSourceAware()
public void setDataSourceAware(boolean isDataSourceAware)
isDataSourceAware
- true if GORM operations should be enabled when binding with this DataBindingSource
public int size()
Groovy Documentation