BrightSide Workbench Full Report + Source Code
org.turro.web.gantt.GanttItem Class Reference
Collaboration diagram for org.turro.web.gantt.GanttItem:

Public Member Functions

 GanttItem (String id, String name, String dependencies, Date start, Date end, int progress)
 
 GanttItem (String id, String name, String dependencies, Date start, Date end, int progress, String cssClass)
 
JsonValue toJsonValue ()
 
int hashCode ()
 
boolean equals (Object obj)
 

Detailed Description

Constructor & Destructor Documentation

◆ GanttItem() [1/2]

org.turro.web.gantt.GanttItem.GanttItem ( String  id,
String  name,
String  dependencies,
Date  start,
Date  end,
int  progress 
)

Definition at line 38 of file Elephant/elephant/src/main/java/org/turro/web/gantt/GanttItem.java.

38  {
39  this(id, name, dependencies, start, end, progress, null);
40  }
Here is the caller graph for this function:

◆ GanttItem() [2/2]

org.turro.web.gantt.GanttItem.GanttItem ( String  id,
String  name,
String  dependencies,
Date  start,
Date  end,
int  progress,
String  cssClass 
)

Definition at line 42 of file Elephant/elephant/src/main/java/org/turro/web/gantt/GanttItem.java.

42  {
43  this.id = id;
44  this.name = name;
45  this.dependencies = dependencies;
46  this.cssClass = cssClass;
47  this.start = start;
48  this.end = end;
49  this.progress = progress;
50  }

Member Function Documentation

◆ equals()

boolean org.turro.web.gantt.GanttItem.equals ( Object  obj)

Definition at line 82 of file Elephant/elephant/src/main/java/org/turro/web/gantt/GanttItem.java.

82  {
83  if (this == obj) {
84  return true;
85  }
86  if (obj == null) {
87  return false;
88  }
89  if (getClass() != obj.getClass()) {
90  return false;
91  }
92  final GanttItem other = (GanttItem) obj;
93  return Objects.equals(this.id, other.id);
94  }
GanttItem(String id, String name, String dependencies, Date start, Date end, int progress)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hashCode()

int org.turro.web.gantt.GanttItem.hashCode ( )

Definition at line 75 of file Elephant/elephant/src/main/java/org/turro/web/gantt/GanttItem.java.

75  {
76  int hash = 7;
77  hash = 37 * hash + Objects.hashCode(this.id);
78  return hash;
79  }

◆ toJsonValue()

JsonValue org.turro.web.gantt.GanttItem.toJsonValue ( )

Definition at line 52 of file Elephant/elephant/src/main/java/org/turro/web/gantt/GanttItem.java.

52  {
53  return Jsons.object()
54  .add("id", id)
55  .add("name", name)
56  .add("dependencies", dependencies)
57  .add("start", format(start))
58  .add("end", format(end))
59  .add("progress", progress)
60  .add("custom_class", cssClass)
61  .asJsonValue();
62  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: