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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JustificationTreeMappingDefinition​(String entity, String attribute, String depth, String assetFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAssetFormat()
Used by the asset expander, if not provided then the expanding of an asset will not take placeString
getAttribute()
JustificationDepth
getDepth()
String
getEntity()
-
-
-
Constructor Detail
-
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 Detail
-
getEntity
public String getEntity()
- Specified by:
getEntity
in interfaceIJustificationTreeMappingDefinition
- Returns:
- - name of the referenced entity
-
getAttribute
public String getAttribute()
- Specified by:
getAttribute
in interfaceIJustificationTreeMappingDefinition
- Returns:
- name of the referenced attribute
-
getDepth
public JustificationDepth getDepth()
- Specified by:
getDepth
in interfaceIJustificationTreeMappingDefinition
- Returns:
- the justification tree depth
-
getAssetFormat
public String 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
-
-