public interface GriffonModelClass extends GriffonClass
| Modifier and Type | Field and Description | 
|---|---|
static String | 
TRAILING
"Model" 
 | 
static String | 
TYPE
"model" 
 | 
STANDARD_PROPERTIES| Modifier and Type | Method and Description | 
|---|---|
String[] | 
getEventNames()
Matches all public methods and closure properties whose name
 matches the event handler convention, i.e, starts with "on" and
 is followed by at least one uppercase character. 
 | 
Object | 
getModelPropertyValue(GriffonModel model,
                     String propertyName)
Returns the value of a model property. 
 | 
String[] | 
getPropertyNames()
Matches all public properties that are not event handlers nor
 have a Closure as their value. 
 | 
void | 
setModelPropertyValue(GriffonModel model,
                     String propertyName,
                     Object value)
Sets a value of a model property. 
 | 
getApplication, getArtifactType, getClazz, getFullName, getLogicalPropertyName, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getShortName, hasPropertystatic final String TYPE
static final String TRAILING
@Nonnull String[] getPropertyNames()
@Nonnull String[] getEventNames()
void setModelPropertyValue(@Nonnull GriffonModel model, @Nonnull String propertyName, @Nullable Object value)
model - the model to be affectedpropertyName - the name of the property to updatevalue - new value