Class MermaidDtFieldModel
- java.lang.Object
-
- io.vertigo.studio.plugins.generator.mermaid.model.MermaidDtFieldModel
-
public final class MermaidDtFieldModel extends Object
Model used to define a DtField.- Author:
- mlaroche
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDataObjectClassName()
String
getLabel()
String
getMermaidType()
String
getName()
Nom du champ en camelCase.String
getResourceKey()
DtSketchField
getSource()
String
getType()
boolean
isDataObject()
boolean
isMultiple()
boolean
isRequired()
-
-
-
Method Detail
-
getName
public String getName()
Nom du champ en camelCase. En freemarker pour upperCamelCase : myString?cap_first- Returns:
- unNom
-
getSource
public DtSketchField getSource()
- Returns:
- DtField
-
getResourceKey
public String getResourceKey()
-
getLabel
public String getLabel()
-
getType
public String getType()
- Returns:
- Type du champ (
-
getMermaidType
public String getMermaidType()
- Returns:
- Type java du champ
-
isRequired
public boolean isRequired()
- Returns:
- Si la propriété est requise
-
isMultiple
public boolean isMultiple()
- Returns:
- Si la propriété est multiple
-
isDataObject
public boolean isDataObject()
- Returns:
- Si la propriété vise un autre type de dt
-
getDataObjectClassName
public String getDataObjectClassName()
- Returns:
- Le nom de la classe du dt visé
-
-