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

Public Member Functions

int getColumnOrder ()
 
void setColumnOrder (int columnOrder)
 
DocumentColumn getDocumentColumn ()
 
void setDocumentColumn (DocumentColumn documentColumn)
 
DocumentDefinition getDocumentDefinition ()
 
void setDocumentDefinition (DocumentDefinition documentDefinition)
 
long getId ()
 
void setId (long id)
 
int compareTo (RelatedColumn o)
 

Detailed Description

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

Definition at line 33 of file RelatedColumn.java.

Member Function Documentation

◆ compareTo()

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

Definition at line 83 of file RelatedColumn.java.

83  {
84  int result = CompareUtil.compare(columnOrder, o.columnOrder);
85  if(result == 0) {
86  result = CompareUtil.compare(id, o.id);
87  }
88  return result;
89  }

◆ getColumnOrder()

int org.turro.financials.entity.RelatedColumn.getColumnOrder ( )

Definition at line 47 of file RelatedColumn.java.

47  {
48  return columnOrder;
49  }

◆ getDocumentColumn()

DocumentColumn org.turro.financials.entity.RelatedColumn.getDocumentColumn ( )

Definition at line 55 of file RelatedColumn.java.

55  {
56  return documentColumn;
57  }
Here is the caller graph for this function:

◆ getDocumentDefinition()

DocumentDefinition org.turro.financials.entity.RelatedColumn.getDocumentDefinition ( )

Definition at line 66 of file RelatedColumn.java.

66  {
67  return documentDefinition;
68  }

◆ getId()

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

Definition at line 74 of file RelatedColumn.java.

74  {
75  return id;
76  }

◆ setColumnOrder()

void org.turro.financials.entity.RelatedColumn.setColumnOrder ( int  columnOrder)

Definition at line 51 of file RelatedColumn.java.

51  {
52  this.columnOrder = columnOrder;
53  }

◆ setDocumentColumn()

void org.turro.financials.entity.RelatedColumn.setDocumentColumn ( DocumentColumn  documentColumn)

Definition at line 59 of file RelatedColumn.java.

59  {
60  this.documentColumn = documentColumn;
61  if(columnOrder == 0 && documentColumn != null) {
62  columnOrder = documentColumn.getOrder();
63  }
64  }
Here is the call graph for this function:

◆ setDocumentDefinition()

void org.turro.financials.entity.RelatedColumn.setDocumentDefinition ( DocumentDefinition  documentDefinition)

Definition at line 70 of file RelatedColumn.java.

70  {
71  this.documentDefinition = documentDefinition;
72  }
Here is the caller graph for this function:

◆ setId()

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

Definition at line 78 of file RelatedColumn.java.

78  {
79  this.id = id;
80  }

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