Page History
...
align | right |
---|---|
class | menu |
A model definition, a subitem of the Magnolia Content type definition, defines the model of a content type.
Include Page
String
, Boolean
, Decimal
, Double
, Long
, Date
, another content type or a submodel. The model can define a list of submodel definitions....
properties |
A list of property definition objects. | ||||||||||||
| A subdefinition item defining one property of the model. Its definition interface is
Read the property definition properties section for all the details of a PropertyDefinition object. | ||||||||||||
subModels |
A list of submodel definition objects. | ||||||||||||
| A subdefinition item configuring a complete submodel. Its definition interface is
A submodel has the same properties as a model, but a submodel cannot have additional submodels. | ||||||||||||
nodeType | The name of the JCR node type for storing an item of the given content type. If the given node type has not been registered yet, the system automatically registers a new node type by the given name. The type generated inherits from the Magnolia If |
...
This section describes the
Javadoc resource link | ||||
---|---|---|---|---|
|
|
properties
property, which is a property of the model definition of a content type definition.<property> | |
---|---|
| required The name of the property. The name is used for storing values in the underlying data source. |
| optional, default is Possible values:
|
| optional, default is Makes the property mandatory. |
| optional, default is Enables i18n support for the property. |
| optional, default is The |
...
Use submodels to define complex content types .
Multiexcerpt | ||
---|---|---|
| ||
Submodels are useful whenever you need a group of fields more than once. A content type model definition can contain a list of submodel definitions within the |
...