DefaultGrailsDomainClass (Grails 4.0.2)
Date: 2020-02-21

Package: org.grails.core

## [Java] Class DefaultGrailsDomainClass

- org.grails.core.DefaultGrailsDomainClass

- All Implemented Interfaces and Traits:
    GrailsDomainClass

      @java.lang.SuppressWarnings("rawtypes")
      @java.lang.Deprecated
      public class DefaultGrailsDomainClass
      extends AbstractGrailsClass

  Default implementation of the GrailsDomainClass interface

  Authors:
    Graeme Rocher
  Since:
    0.1

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class AbstractGrailsClass` | `grailsApplication`

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `org.springframework.validation.Validator` | `validator`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `DefaultGrailsDomainClass (java.lang.Class<?> clazz, org.grails.datastore.mapping.model.MappingContext mappingContext)`
    `DefaultGrailsDomainClass (java.lang.Class<?> clazz)` Constructor.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `java.util.Map` | `getConstrainedProperties()`
    `` | `java.lang.String` | `getName()`
    `` | `java.lang.String` | `getPropertyName()`
    `` | `org.springframework.validation.Validator` | `getValidator()`
    `` | `boolean` | `isAutowire()`
    `` | `boolean` | `isOwningClass(java.lang.Class domainClass)`
    `` | `void` | `setValidator(org.springframework.validation.Validator validator)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class AbstractGrailsClass` | `getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getMetaProperties, getName, getNaturalName, getPackageName, getPluginName, getPropertyDescriptors, getPropertyName, getPropertyOrStaticPropertyOrFieldValue, getPropertyType, getPropertyValue, getPropertyValue, getPropertyValueObject, getReferenceInstance, getShortName, getStaticPropertyValue, hasMetaMethod, hasMetaMethod, hasMetaProperty, hasProperty, isAbstract, isActionMethod, isReadableProperty, newInstance, setGrailsApplication, toString`
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Property Detail

    - #### org.springframework.validation.Validator validator

  - ### Constructor Detail

    - #### public DefaultGrailsDomainClass(java.lang.Class<?> clazz, org.grails.datastore.mapping.model.MappingContext mappingContext)

    - #### public DefaultGrailsDomainClass(java.lang.Class<?> clazz)

      Constructor.

      Parameters:
        clazz

  - ### Method Detail

    - #### @java.lang.SuppressWarnings("unchecked") @java.lang.Override public java.util.Map getConstrainedProperties()

    - #### @java.lang.Override public java.lang.String getName()

    - #### @java.lang.Override public java.lang.String getPropertyName()

    - #### public org.springframework.validation.Validator getValidator()

    - #### @java.lang.Override public boolean isAutowire()

    - #### @java.lang.Override public boolean isOwningClass(java.lang.Class domainClass)

    - #### public void setValidator(org.springframework.validation.Validator validator)