Class MermaidSimpleAssociationModel
- java.lang.Object
-
- io.vertigo.studio.plugins.generator.mermaid.model.MermaidSimpleAssociationModel
-
public final class MermaidSimpleAssociationModel extends Object
Objet utilisé par FreeMarker.- Author:
- mlaroche
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFkFieldName()
String
getForeignCardinality()
String
getForeignDtSketchName()
String
getLabel()
String
getPrimaryCardinality()
String
getPrimaryDtSketchName()
String
getRole()
AssociationSketch
getSketch()
String
getUrn()
boolean
isMultiple()
boolean
isNavigable()
-
-
-
Method Detail
-
getSketch
public AssociationSketch getSketch()
- Returns:
- Definition d'une association.
-
getLabel
public String getLabel()
- Returns:
- Label du noeud
-
getRole
public String getRole()
- Returns:
- Role du noeud
-
isMultiple
public boolean isMultiple()
- Returns:
- Si la cardinalité max du noeud est multiple
-
isNavigable
public boolean isNavigable()
- Returns:
- Si le noeud est navigable
-
getPrimaryDtSketchName
public String getPrimaryDtSketchName()
- Returns:
- Type à retourner
-
getPrimaryCardinality
public String getPrimaryCardinality()
- Returns:
- Type à retourner
-
getForeignDtSketchName
public String getForeignDtSketchName()
- Returns:
- Type à retourner
-
getForeignCardinality
public String getForeignCardinality()
- Returns:
- Type à retourner
-
getUrn
public String getUrn()
- Returns:
- Urn de la définition de l'association
-
getFkFieldName
public String getFkFieldName()
- Returns:
- Nom du champ fk en camelCase.
-
-