Package | Description |
---|---|
com.adobe.aem.dermis.model | |
com.adobe.aem.dermis.util |
Modifier and Type | Class and Description |
---|---|
class |
DataModel
Represents a DataModel and it's metadata description.
|
Modifier and Type | Method and Description |
---|---|
IDataModel |
Property.getAssociatedDataModel()
Returns the data model associated with this property either One-To-One or One-To-Many
|
IDataModel |
IProperty.getAssociatedDataModel()
Returns the data model associated with this property either One-To-One or One-To-Many
|
IDataModel |
Property.getChildDataModel()
Gets the associated data model.
|
IDataModel |
IProperty.getChildDataModel()
Gets the associated data model.
|
IDataModel |
Property.getDataModel()
Gets the datamodel for which this property belong
|
IDataModel |
IProperty.getDataModel()
Gets the datamodel for which this property belong
|
IDataModel |
Schema.getDataModelByName(String dataModelName)
Convenience method for retrieving a DataModel by it's name.
|
IDataModel |
Relationship.getForeignDataModel()
Gets the datamodule of the foreign key property(s).
|
IDataModel |
Relationship.getPrimaryDataModel()
Gets the datamodule of the primary key property(s).
|
Modifier and Type | Method and Description |
---|---|
List<IDataModel> |
Schema.getDataModels()
/**
Gets all datamodels in this Schema.
|
List<? extends IDataModel> |
ISchema.getDataModels()
Gets all datamodels in this Schema.
|
Modifier and Type | Method and Description |
---|---|
void |
Property.addAssociation(PropertyType associationType,
IDataModel dataModel)
Add the associated datamodel
|
void |
DataModel.addAssociation(PropertyType associationType,
String name,
IDataModel dataModel)
Add the associated datamodel
|
List<Relationship> |
IDataModel.getRelationships(IDataModel otherDataModel)
Gets relationships between this dataModel and another dataModel.
|
List<Relationship> |
DataModel.getRelationships(IDataModel otherDataModel)
Gets relationships between this dataModel and another dataModel.
|
void |
Property.setChildDataModel(IDataModel childDataModel)
Sets the associated data model.
|
void |
IProperty.setChildDataModel(IDataModel childDataModel)
Sets the associated data model.
|
void |
Property.setDataModel(IDataModel dataModel) |
Modifier and Type | Method and Description |
---|---|
void |
Schema.setDataModels(List<IDataModel> dataModels) |
Constructor and Description |
---|
Property(String name,
PropertyType type,
IDataModel dataModel) |
Property(String name,
PropertyType type,
IDataModel dataModel,
Boolean required) |
Property(String name,
PropertyType type,
IDataModel dataModel,
Boolean isPrimaryKey,
Boolean required) |
RestProperty(String name,
PropertyType type,
IDataModel dataModel) |
RestProperty(String name,
PropertyType type,
IDataModel dataModel,
Boolean required) |
RestProperty(String name,
PropertyType type,
IDataModel dataModel,
Boolean isPrimaryKey,
Boolean required) |
WSProperty(String name,
PropertyType type,
IDataModel dataModel) |
WSProperty(String name,
PropertyType type,
IDataModel dataModel,
Boolean required) |
Constructor and Description |
---|
Schema(String name,
List<IDataModel> dataModels) |
Modifier and Type | Method and Description |
---|---|
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
boolean autoCoerce)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
boolean autoCoerce,
boolean generateNullForPropsNotInData)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
boolean autoCoerce,
boolean generateNullForPropsNotInData,
boolean removeComputedAttributes)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
List<? extends IDataModel> datamodels,
boolean autoCoerce)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
List<? extends IDataModel> datamodels,
boolean autoCoerce,
boolean generateNullForPropsNotInData)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
List<? extends IDataModel> datamodels,
boolean autoCoerce,
boolean generateNullForPropsNotInData,
boolean removeComputedAttributes)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
Modifier and Type | Method and Description |
---|---|
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
List<? extends IDataModel> datamodels,
boolean autoCoerce)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
List<? extends IDataModel> datamodels,
boolean autoCoerce,
boolean generateNullForPropsNotInData)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValueMap |
ValueUtil.generateValue(IDataModel dataModel,
Map<String,Object> data,
List<? extends IDataModel> datamodels,
boolean autoCoerce,
boolean generateNullForPropsNotInData,
boolean removeComputedAttributes)
Construct the value object according to provided
DataModel structured based on result (Java Object) of operation execution. |
static IValue |
ValueUtil.generateValue(IProperty property,
Object data,
List<? extends IDataModel> datamodels,
boolean autoCoerce)
Construct the value object according to provided
Property and based on result (Java Object) of operation execution. |
static IValue |
ValueUtil.generateValue(IProperty property,
Object data,
List<? extends IDataModel> dataModels,
boolean autoCoerce,
boolean generateNullForPropsNotInData)
Construct the value object according to provided
Property and based on result (Java Object) of operation execution. |
static IValue |
ValueUtil.generateValue(IProperty property,
Object data,
List<? extends IDataModel> dataModels,
boolean autoCoerce,
boolean generateNullForPropsNotInData,
boolean removeComputedAttributes)
Construct the value object according to provided
Property and based on result (Java Object) of operation execution. |
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.