Annotation Interface AdminPresentationMapFields
- Author:
- Jeff Fischer
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionMembers of this map can be displayed as form fields, rather than in a standard grid. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionOptional - if the intended map value is actually buried inside of a modelled join entity, specify the the path to that parent here.Optional - if the intended map value is actually buried inside of a modelled join entity, specify the the path to that value here.
-
Element Details
-
mapDisplayFields
AdminPresentationMapField[] mapDisplayFieldsMembers of this map can be displayed as form fields, rather than in a standard grid. When populated, mapDisplayFields informs the form building process to create the fields described here and persist those fields in this map structure.- Returns:
- the fields to display that represent the members of this map
-
-
-
toOneTargetProperty
String toOneTargetPropertyOptional - if the intended map value is actually buried inside of a modelled join entity, specify the the path to that value here. For example, SkuImpl.skuMedia uses SkuMediaXrefImpl, but the intended value is Media, so the toOneTargetProperty annotation param is "media". Note - only declare here if the field does not also have an
AdminPresentationMap
annotation already, which is the preferred location for declaring this value.- Returns:
- the path to the intended map value field in the join entity
- Default:
- ""
-
toOneParentProperty
String toOneParentPropertyOptional - if the intended map value is actually buried inside of a modelled join entity, specify the the path to that parent here. For example, SkuImpl.skuMedia uses SkuMediaXrefImpl, and the parent reference inside SkuMediaXrefImpl is to Sku, so the toOneParentProperty annotation param is "sku". Note - only declare here if the field does not also have an
AdminPresentationMap
annotation already, which is the preferred location for declaring this value.- Returns:
- the path to the parent in the join entity
- Default:
- ""
-