Package grails.core

Interface GrailsDomainClass

    • Field Detail

      • GORM

        static final java.lang.String GORM
        Deprecated.
        The name of the default ORM implementation used to map the class
        See Also:
        Constant Field Values
    • Method Detail

      • isAutowire

        boolean isAutowire()
        Deprecated.
        Returns:
        Whether to autowire
      • isOwningClass

        boolean isOwningClass​(java.lang.Class domainClass)
        Deprecated.
        Parameters:
        domainClass -
        Returns:
        true if the specifying domain class is on the owning side of a relationship
      • getPropertyName

        java.lang.String getPropertyName()
        Deprecated.

        Returns the default property name of the GrailsClass. For example the property name for a class called "User" would be "user"

        Specified by:
        getPropertyName in interface GrailsClass
        Returns:
        The property name representation of the class name
      • getConstrainedProperties

        java.util.Map getConstrainedProperties()
        Deprecated.
        Returns a map of constraints applied to this domain class with the keys being the property name and the values being ConstrainedProperty instances
        Returns:
        A map of constraints
      • getValidator

        org.springframework.validation.Validator getValidator()
        Deprecated.
        Retreives the validator for this domain class
        Returns:
        A validator instance or null if none exists
      • setValidator

        void setValidator​(org.springframework.validation.Validator validator)
        Deprecated.
        Sets the validator for this domain class
        Parameters:
        validator - The domain class validator to set