BrightSide Workbench Full Report + Source Code
org.turro.zkoss.svg.GanttResourceItem Class Reference
Inheritance diagram for org.turro.zkoss.svg.GanttResourceItem:
Collaboration diagram for org.turro.zkoss.svg.GanttResourceItem:

Public Member Functions

 GanttResourceItem (int type, String uniqueId, String name)
 
double getExpected ()
 
void setExpected (double expected)
 
double getVariable ()
 
void setVariable (double variable)
 
String getName ()
 
String getUniqueId ()
 
int getType ()
 
int getPosition ()
 
void setPosition (int position)
 
GanttResourceData getSet ()
 
void setSet (GanttResourceData set)
 
int compareTo (GanttResourceItem o)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 27 of file GanttResourceItem.java.

Constructor & Destructor Documentation

◆ GanttResourceItem()

org.turro.zkoss.svg.GanttResourceItem.GanttResourceItem ( int  type,
String  uniqueId,
String  name 
)

Definition at line 36 of file GanttResourceItem.java.

36  {
37  this.type = type;
38  this.uniqueId = uniqueId;
39  this.name = name;
40  }

Member Function Documentation

◆ compareTo()

int org.turro.zkoss.svg.GanttResourceItem.compareTo ( GanttResourceItem  o)

Definition at line 87 of file GanttResourceItem.java.

87  {
88  int result = CompareUtil.compare(type, o.type);
89  if(result == 0) {
90  result = CompareUtil.compare(name, o.name);
91  }
92  if(result == 0) {
93  result = CompareUtil.compare(uniqueId, o.uniqueId);
94  }
95  return result;
96  }

◆ getExpected()

double org.turro.zkoss.svg.GanttResourceItem.getExpected ( )

Definition at line 42 of file GanttResourceItem.java.

42  {
43  return expected;
44  }
Here is the caller graph for this function:

◆ getName()

String org.turro.zkoss.svg.GanttResourceItem.getName ( )

Definition at line 58 of file GanttResourceItem.java.

58  {
59  return name;
60  }
Here is the caller graph for this function:

◆ getPosition()

int org.turro.zkoss.svg.GanttResourceItem.getPosition ( )

Definition at line 70 of file GanttResourceItem.java.

70  {
71  return position;
72  }

◆ getSet()

GanttResourceData org.turro.zkoss.svg.GanttResourceItem.getSet ( )

Definition at line 78 of file GanttResourceItem.java.

78  {
79  return set;
80  }

◆ getType()

int org.turro.zkoss.svg.GanttResourceItem.getType ( )

Definition at line 66 of file GanttResourceItem.java.

66  {
67  return type;
68  }

◆ getUniqueId()

String org.turro.zkoss.svg.GanttResourceItem.getUniqueId ( )

Definition at line 62 of file GanttResourceItem.java.

62  {
63  return uniqueId;
64  }
Here is the caller graph for this function:

◆ getVariable()

double org.turro.zkoss.svg.GanttResourceItem.getVariable ( )

Definition at line 50 of file GanttResourceItem.java.

50  {
51  return variable;
52  }
Here is the caller graph for this function:

◆ setExpected()

void org.turro.zkoss.svg.GanttResourceItem.setExpected ( double  expected)

Definition at line 46 of file GanttResourceItem.java.

46  {
47  this.expected = expected;
48  }

◆ setPosition()

void org.turro.zkoss.svg.GanttResourceItem.setPosition ( int  position)

Definition at line 74 of file GanttResourceItem.java.

74  {
75  this.position = position;
76  }

◆ setSet()

void org.turro.zkoss.svg.GanttResourceItem.setSet ( GanttResourceData  set)

Definition at line 82 of file GanttResourceItem.java.

82  {
83  this.set = set;
84  }

◆ setVariable()

void org.turro.zkoss.svg.GanttResourceItem.setVariable ( double  variable)

Definition at line 54 of file GanttResourceItem.java.

54  {
55  this.variable = variable;
56  }

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