BrightSide Workbench Full Report + Source Code
org.turro.financials.entity.DocumentWorkflow Class Reference
Inheritance diagram for org.turro.financials.entity.DocumentWorkflow:
Collaboration diagram for org.turro.financials.entity.DocumentWorkflow:

Public Member Functions

boolean isAllowNewDescendants ()
 
void setAllowNewDescendants (boolean allowNewDescendants)
 
DocumentDefinition getAncestor ()
 
void setAncestor (DocumentDefinition ancestor)
 
ContractDefinition getContractDefinition ()
 
void setContractDefinition (ContractDefinition contractDefinition)
 
DocumentDefinition getDescendant ()
 
void setDescendant (DocumentDefinition descendant)
 
String getDescription ()
 
void setDescription (String description)
 
long getId ()
 
void setId (long id)
 
LineType getLineType ()
 
void setLineType (LineType lineType)
 
int compareTo (DocumentWorkflow o)
 

Detailed Description

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

Definition at line 33 of file DocumentWorkflow.java.

Member Function Documentation

◆ compareTo()

int org.turro.financials.entity.DocumentWorkflow.compareTo ( DocumentWorkflow  o)

Definition at line 119 of file DocumentWorkflow.java.

119  {
120  int result = CompareUtil.compare(ancestor.getId(), o.ancestor.getId());
121  if(result == 0) {
122  result = CompareUtil.compare(id, o.id);
123  }
124  return result;
125  }
Here is the call graph for this function:

◆ getAncestor()

DocumentDefinition org.turro.financials.entity.DocumentWorkflow.getAncestor ( )

Definition at line 64 of file DocumentWorkflow.java.

64  {
65  return ancestor;
66  }
Here is the caller graph for this function:

◆ getContractDefinition()

ContractDefinition org.turro.financials.entity.DocumentWorkflow.getContractDefinition ( )

Definition at line 72 of file DocumentWorkflow.java.

72  {
73  return contractDefinition;
74  }
Here is the caller graph for this function:

◆ getDescendant()

DocumentDefinition org.turro.financials.entity.DocumentWorkflow.getDescendant ( )

Definition at line 80 of file DocumentWorkflow.java.

80  {
81  return descendant;
82  }
Here is the caller graph for this function:

◆ getDescription()

String org.turro.financials.entity.DocumentWorkflow.getDescription ( )

Definition at line 88 of file DocumentWorkflow.java.

88  {
89  if(description == null) {
90  description = ancestor != null ? ancestor.getName() : "";
91  description += " > ";
92  description += descendant != null ? descendant.getName() : "";
93  description += lineType != null ? " [" + lineType.getName() + "]" : "";
94  }
95  return description;
96  }

◆ getId()

long org.turro.financials.entity.DocumentWorkflow.getId ( )

Definition at line 102 of file DocumentWorkflow.java.

102  {
103  return id;
104  }
Here is the caller graph for this function:

◆ getLineType()

LineType org.turro.financials.entity.DocumentWorkflow.getLineType ( )

Definition at line 110 of file DocumentWorkflow.java.

110  {
111  return lineType;
112  }
Here is the caller graph for this function:

◆ isAllowNewDescendants()

boolean org.turro.financials.entity.DocumentWorkflow.isAllowNewDescendants ( )

Definition at line 56 of file DocumentWorkflow.java.

56  {
57  return allowNewDescendants;
58  }

◆ setAllowNewDescendants()

void org.turro.financials.entity.DocumentWorkflow.setAllowNewDescendants ( boolean  allowNewDescendants)

Definition at line 60 of file DocumentWorkflow.java.

60  {
61  this.allowNewDescendants = allowNewDescendants;
62  }

◆ setAncestor()

void org.turro.financials.entity.DocumentWorkflow.setAncestor ( DocumentDefinition  ancestor)

Definition at line 68 of file DocumentWorkflow.java.

68  {
69  this.ancestor = ancestor;
70  }
Here is the caller graph for this function:

◆ setContractDefinition()

void org.turro.financials.entity.DocumentWorkflow.setContractDefinition ( ContractDefinition  contractDefinition)

Definition at line 76 of file DocumentWorkflow.java.

76  {
77  this.contractDefinition = contractDefinition;
78  }
Here is the caller graph for this function:

◆ setDescendant()

void org.turro.financials.entity.DocumentWorkflow.setDescendant ( DocumentDefinition  descendant)

Definition at line 84 of file DocumentWorkflow.java.

84  {
85  this.descendant = descendant;
86  }
Here is the caller graph for this function:

◆ setDescription()

void org.turro.financials.entity.DocumentWorkflow.setDescription ( String  description)

Definition at line 98 of file DocumentWorkflow.java.

98  {
99  this.description = description;
100  }

◆ setId()

void org.turro.financials.entity.DocumentWorkflow.setId ( long  id)

Definition at line 106 of file DocumentWorkflow.java.

106  {
107  this.id = id;
108  }

◆ setLineType()

void org.turro.financials.entity.DocumentWorkflow.setLineType ( LineType  lineType)

Definition at line 114 of file DocumentWorkflow.java.

114  {
115  this.lineType = lineType;
116  }

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