Class JustificationTreeMappingDefinition
java.lang.Object
com.aquima.interactions.mapping.impl.JustificationTreeMappingDefinition
- All Implemented Interfaces:
IJustificationTreeMappingDefinition
,Serializable
public class JustificationTreeMappingDefinition
extends Object
implements IJustificationTreeMappingDefinition
- Since:
- 11.2
- Author:
- Mihai Bob
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJustificationTreeMappingDefinition
(String entity, String attribute, String depth, String assetFormat) -
Method Summary
Modifier and TypeMethodDescriptionUsed by the asset expander, if not provided then the expanding of an asset will not take placegetDepth()
-
Constructor Details
-
JustificationTreeMappingDefinition
public JustificationTreeMappingDefinition(String entity, String attribute, String depth, String assetFormat) - Parameters:
entity
- - entity name, must not benull
attribute
- - attribute name, must not benull
depth
- - justification tree depth, when null it takes the default value ofJustificationDepth
.ALLassetFormat
- - assert format to be used when expanding, when null, it takes the default 'text' value
-
-
Method Details
-
getEntity
- Specified by:
getEntity
in interfaceIJustificationTreeMappingDefinition
- Returns:
- - name of the referenced entity
-
getAttribute
- Specified by:
getAttribute
in interfaceIJustificationTreeMappingDefinition
- Returns:
- name of the referenced attribute
-
getDepth
- Specified by:
getDepth
in interfaceIJustificationTreeMappingDefinition
- Returns:
- the justification tree depth
-
getAssetFormat
Description copied from interface:IJustificationTreeMappingDefinition
Used by the asset expander, if not provided then the expanding of an asset will not take place- Specified by:
getAssetFormat
in interfaceIJustificationTreeMappingDefinition
- Returns:
- - asset format style name
-