@java.lang.Deprecated public interface GrailsDomainClass extends GrailsClass
Represents a persistable Grails domain class.
Type Params | Return Type | Name and description |
---|---|---|
|
public java.util.Map |
getConstrainedProperties() Returns a map of constraints applied to this domain class with the keys being the property name and the values being ConstrainedProperty instances |
|
public java.lang.String |
getPropertyName() |
|
public org.springframework.validation.Validator |
getValidator() Retreives the validator for this domain class |
|
public boolean |
isAutowire()
|
|
public boolean |
isOwningClass(java.lang.Class domainClass)
|
|
public void |
setValidator(org.springframework.validation.Validator validator) Sets the validator for this domain class |
Methods inherited from class | Name |
---|---|
interface GrailsClass |
getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance |
interface GrailsApplicationAware |
setGrailsApplication |
Returns a map of constraints applied to this domain class with the keys being the property name and the values being ConstrainedProperty instances
Returns the default property name of the GrailsClass. For example the property name for a class called "User" would be "user"
Retreives the validator for this domain class
Sets the validator for this domain class
validator
- The domain class validator to set