- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 29 of file EntityVertex.java.
◆ EntityVertex()
org.turro.entities.graph.EntityVertex.EntityVertex |
( |
String |
entityPath, |
|
|
String |
name |
|
) |
| |
◆ equals()
boolean org.turro.entities.graph.EntityVertex.equals |
( |
Object |
obj | ) |
|
Definition at line 87 of file EntityVertex.java.
94 if (getClass() != obj.getClass()) {
98 return Objects.equals(this.entityPath, other.entityPath);
EntityVertex(String entityPath, String name)
◆ getColor()
String org.turro.entities.graph.EntityVertex.getColor |
( |
| ) |
|
Definition at line 47 of file EntityVertex.java.
48 return switch(Path.pathFrom(entityPath).getRoot()) {
49 case "contact" -> (source ?
"#fbbd08" :
"#a5673f");
50 case "dossier-category" ->
"#e03997";
51 case "dossier" ->
"#a333c8";
52 case "issue" ->
"#6435c9";
53 case "publication" ->
"#21ba45";
◆ getFontColor()
String org.turro.entities.graph.EntityVertex.getFontColor |
( |
| ) |
|
◆ getIdentifier()
String org.turro.entities.graph.EntityVertex.getIdentifier |
( |
| ) |
|
◆ getName()
String org.turro.entities.graph.EntityVertex.getName |
( |
| ) |
|
◆ hashCode()
int org.turro.entities.graph.EntityVertex.hashCode |
( |
| ) |
|
Definition at line 80 of file EntityVertex.java.
82 hash = 29 * hash + Objects.hashCode(this.entityPath);
◆ isSource()
boolean org.turro.entities.graph.EntityVertex.isSource |
( |
| ) |
|
◆ setSource()
void org.turro.entities.graph.EntityVertex.setSource |
( |
boolean |
source | ) |
|
The documentation for this class was generated from the following file: