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

Public Member Functions

boolean isAllowed ()
 
void setAllowed (boolean allowed)
 
ContractDefinition getContractDefinition ()
 
void setContractDefinition (ContractDefinition contractDefinition)
 
DocumentDefinition getDocumentDefinition ()
 
void setDocumentDefinition (DocumentDefinition documentDefinition)
 
long getId ()
 
void setId (long id)
 
int compareTo (RelatedDocument o)
 

Detailed Description

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

Definition at line 33 of file RelatedDocument.java.

Member Function Documentation

◆ compareTo()

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

Definition at line 81 of file RelatedDocument.java.

81  {
82  int result = CompareUtil.compare(documentDefinition.getName(), o.documentDefinition.getName());
83  if(result == 0) {
84  CompareUtil.compare(id, o.id);
85  }
86  return result;
87  }
Here is the call graph for this function:

◆ getContractDefinition()

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

Definition at line 56 of file RelatedDocument.java.

56  {
57  return contractDefinition;
58  }

◆ getDocumentDefinition()

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

Definition at line 64 of file RelatedDocument.java.

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

◆ getId()

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

Definition at line 72 of file RelatedDocument.java.

72  {
73  return id;
74  }

◆ isAllowed()

boolean org.turro.financials.entity.RelatedDocument.isAllowed ( )

Definition at line 48 of file RelatedDocument.java.

48  {
49  return allowed;
50  }

◆ setAllowed()

void org.turro.financials.entity.RelatedDocument.setAllowed ( boolean  allowed)

Definition at line 52 of file RelatedDocument.java.

52  {
53  this.allowed = allowed;
54  }

◆ setContractDefinition()

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

Definition at line 60 of file RelatedDocument.java.

60  {
61  this.contractDefinition = contractDefinition;
62  }
Here is the caller graph for this function:

◆ setDocumentDefinition()

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

Definition at line 68 of file RelatedDocument.java.

68  {
69  this.documentDefinition = documentDefinition;
70  }

◆ setId()

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

Definition at line 76 of file RelatedDocument.java.

76  {
77  this.id = id;
78  }

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