Class AssociationSketchNode
- java.lang.Object
-
- io.vertigo.studio.notebook.domain.association.AssociationSketchNode
-
public final class AssociationSketchNode extends Object
Noeud d'une association.- Author:
- jcassignol, pchretien
-
-
Constructor Summary
Constructors Constructor Description AssociationSketchNode(DtSketch dtSketch, boolean isNavigable, String role, String label, boolean isMultiple, boolean isNotNull)Constructeur d'un noeud.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DtSketchgetDtSketch()StringgetLabel()StringgetRole()booleanisMultiple()booleanisNavigable()booleanisNotNull()
-
-
-
Constructor Detail
-
AssociationSketchNode
public AssociationSketchNode(DtSketch dtSketch, boolean isNavigable, String role, String label, boolean isMultiple, boolean isNotNull)
Constructeur d'un noeud.- Parameters:
dtSketch- Définition de DTisNavigable- Si le noeud est navigable (i.e. visible)role- Rolelabel- LabelisMultiple- Si la cardinalité max est multiple (au plus)isNotNull- Si la cardinalité min est non null (au moins)
-
-
Method Detail
-
getDtSketch
public DtSketch getDtSketch()
- Returns:
- DT (classe de l'objet métier) associé au noeud
-
isNavigable
public boolean isNavigable()
- Returns:
- Si le noeud est navigable
-
getRole
public String getRole()
- Returns:
- Role du noeud
-
getLabel
public String getLabel()
- Returns:
- Label du noeud
-
isMultiple
public boolean isMultiple()
- Returns:
- Si la cardinalité max du noeud est multiple
-
isNotNull
public boolean isNotNull()
- Returns:
- Si la cardinalité min du noeud est égale à 1
-
-