
org.grails.scaffolding.model.property.DomainPropertyFactory.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fields Show documentation
Show all versions of fields Show documentation
Fields integration for Grails
The newest version!
package org.grails.scaffolding.model.property
import org.grails.datastore.mapping.model.PersistentProperty
/**
* A factory to create instances of {@link DomainProperty}
*
* @author James Kleeh
*/
interface DomainPropertyFactory {
/**
* @param persistentProperty The persistent property
* @return The {@link DomainProperty} representing the {@link PersistentProperty}
*/
DomainProperty build(PersistentProperty persistentProperty)
/**
* @param rootProperty The root property. Typically an instance of {@link org.grails.datastore.mapping.model.types.Embedded}
* @param persistentProperty The persistent property
* @return The {@link DomainProperty} representing the {@link PersistentProperty}
*/
DomainProperty build(PersistentProperty rootProperty, PersistentProperty persistentProperty)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy