Grid

All top-level page layout classes should implement this interface.

It is used by the LayoutService as a common based type for any layouts read in from XML.

API

Grid.java
interface Grid {
  Class<?> getDomainClass()
  void setDomainClass(Class<?> domainClass)
  String getTnsAndSchemaLocation()
  void setTnsAndSchemaLocation(String tnsAndSchemaLocation)
  boolean isFallback()     (1)
  boolean isNormalized()
  void setNormalized(boolean normalized)
  LinkedHashMap<String, PropertyLayoutData> getAllPropertiesById()
  LinkedHashMap<String, CollectionLayoutData> getAllCollectionsById()
  LinkedHashMap<String, ActionLayoutData> getAllActionsById()
  void visit(Grid.Visitor visitor)
}
1 isFallback()

Indicates whether or not this grid is a fallback. True , if this Grid originates from org.apache.causeway.applib.services.grid.GridSystemService#defaultGrid(Class) .

Members

isFallback()

Indicates whether or not this grid is a fallback. True , if this Grid originates from org.apache.causeway.applib.services.grid.GridSystemService#defaultGrid(Class) .

Governs meta-model facet precedence, that is, facets from annotations should overrule those from fallback XML grids.