BrightSide Workbench Full Report + Source Code
org.turro.contacts.organigram.TargetItem Class Reference
Inheritance diagram for org.turro.contacts.organigram.TargetItem:
Collaboration diagram for org.turro.contacts.organigram.TargetItem:

Public Member Functions

RelationType getRelationType ()
 
void setRelationType (RelationType relationType)
 
String getDescription ()
 
void setDescription (String description)
 
NextOperator getNextOperator ()
 
void setNextOperator (NextOperator nextOperator)
 
int hashCode ()
 
boolean equals (Object obj)
 

Detailed Description

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

Definition at line 27 of file TargetItem.java.

Member Function Documentation

◆ equals()

boolean org.turro.contacts.organigram.TargetItem.equals ( Object  obj)

Definition at line 69 of file TargetItem.java.

69  {
70  if (obj == null) {
71  return false;
72  }
73  if (getClass() != obj.getClass()) {
74  return false;
75  }
76  final TargetItem other = (TargetItem) obj;
77  if (this.relationType != other.relationType) {
78  return false;
79  }
80  if ((this.description == null) ? (other.description != null) : !this.description.equals(other.description)) {
81  return false;
82  }
83  return true;
84  }

◆ getDescription()

String org.turro.contacts.organigram.TargetItem.getDescription ( )

Definition at line 44 of file TargetItem.java.

44  {
45  return description;
46  }

◆ getNextOperator()

NextOperator org.turro.contacts.organigram.TargetItem.getNextOperator ( )

Definition at line 52 of file TargetItem.java.

52  {
53  return nextOperator;
54  }

◆ getRelationType()

RelationType org.turro.contacts.organigram.TargetItem.getRelationType ( )

Definition at line 33 of file TargetItem.java.

33  {
34  return relationType;
35  }
Here is the caller graph for this function:

◆ hashCode()

int org.turro.contacts.organigram.TargetItem.hashCode ( )

Definition at line 61 of file TargetItem.java.

61  {
62  int hash = 5;
63  hash = 67 * hash + (this.relationType != null ? this.relationType.hashCode() : 0);
64  hash = 67 * hash + (this.description != null ? this.description.hashCode() : 0);
65  return hash;
66  }

◆ setDescription()

void org.turro.contacts.organigram.TargetItem.setDescription ( String  description)

Definition at line 48 of file TargetItem.java.

48  {
49  this.description = description;
50  }

◆ setNextOperator()

void org.turro.contacts.organigram.TargetItem.setNextOperator ( NextOperator  nextOperator)

Definition at line 56 of file TargetItem.java.

56  {
57  this.nextOperator = nextOperator;
58  }

◆ setRelationType()

void org.turro.contacts.organigram.TargetItem.setRelationType ( RelationType  relationType)

Definition at line 37 of file TargetItem.java.

37  {
38  this.relationType = relationType;
39  if(nextOperator == null) {
40  nextOperator = NextOperator.NO_OTHERWISE;
41  }
42  }

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