Interface for domains capable of supporting components.
| Type | Name and description | 
|---|---|
| void | addComponent(GrailsDomainClass component)Adds a component | 
| java.util.List<GrailsDomainClass> | getComponents()Gets all the components for this domain class | 
Adds a component
component -  The componentGets all the components for this domain class