org.grails.datastore.gorm.config
Class GrailsDomainClassPersistentProperty

java.lang.Object
  extended by org.grails.datastore.gorm.config.GrailsDomainClassPersistentProperty
All Implemented Interfaces:
org.grails.datastore.mapping.model.PersistentProperty

public class GrailsDomainClassPersistentProperty
extends java.lang.Object
implements org.grails.datastore.mapping.model.PersistentProperty

Bridges a GrailsDomainClassProperty to the PersistentProperty interface.

Since:
1.0

Constructor Summary
GrailsDomainClassPersistentProperty(org.grails.datastore.mapping.model.PersistentEntity owner, org.codehaus.groovy.grails.commons.GrailsDomainClassProperty property)
           
 
Method Summary
 java.lang.String getCapitilizedName()
           
 org.grails.datastore.mapping.model.PropertyMapping getMapping()
           
 java.lang.String getName()
           
 org.grails.datastore.mapping.model.PersistentEntity getOwner()
           
 java.lang.Class getType()
           
 boolean isNullable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrailsDomainClassPersistentProperty

public GrailsDomainClassPersistentProperty(org.grails.datastore.mapping.model.PersistentEntity owner,
                                           org.codehaus.groovy.grails.commons.GrailsDomainClassProperty property)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface org.grails.datastore.mapping.model.PersistentProperty

getCapitilizedName

public java.lang.String getCapitilizedName()
Specified by:
getCapitilizedName in interface org.grails.datastore.mapping.model.PersistentProperty

getType

public java.lang.Class getType()
Specified by:
getType in interface org.grails.datastore.mapping.model.PersistentProperty

getMapping

public org.grails.datastore.mapping.model.PropertyMapping getMapping()
Specified by:
getMapping in interface org.grails.datastore.mapping.model.PersistentProperty

getOwner

public org.grails.datastore.mapping.model.PersistentEntity getOwner()
Specified by:
getOwner in interface org.grails.datastore.mapping.model.PersistentProperty

isNullable

public boolean isNullable()
Specified by:
isNullable in interface org.grails.datastore.mapping.model.PersistentProperty