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

Public Member Functions

Document getAncestor ()
 
void setAncestor (Document ancestor)
 
Document getDescendant ()
 
void setDescendant (Document descendant)
 
long getId ()
 
void setId (long id)
 
Object entityId ()
 
boolean isEmpty ()
 
- Public Member Functions inherited from org.turro.jpa.entity.IDaoEntity
default boolean isNew ()
 
default void prepareSave ()
 
default void prepareDelete ()
 
default void removeEmpties ()
 
default Collection< Collection > collections ()
 

Detailed Description

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

Definition at line 33 of file DocumentRelation.java.

Member Function Documentation

◆ entityId()

Object org.turro.financials.entity.DocumentRelation.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 73 of file DocumentRelation.java.

73  {
74  return id;
75  }

◆ getAncestor()

Document org.turro.financials.entity.DocumentRelation.getAncestor ( )

Definition at line 46 of file DocumentRelation.java.

46  {
47  return ancestor;
48  }
Here is the caller graph for this function:

◆ getDescendant()

Document org.turro.financials.entity.DocumentRelation.getDescendant ( )

Definition at line 54 of file DocumentRelation.java.

54  {
55  return descendant;
56  }
Here is the caller graph for this function:

◆ getId()

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

Definition at line 62 of file DocumentRelation.java.

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

◆ isEmpty()

boolean org.turro.financials.entity.DocumentRelation.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 78 of file DocumentRelation.java.

78  {
79  return ancestor == null ||
80  descendant == null ||
81  (descendant != null && descendant.isEmpty());
82  }

◆ setAncestor()

void org.turro.financials.entity.DocumentRelation.setAncestor ( Document  ancestor)

Definition at line 50 of file DocumentRelation.java.

50  {
51  this.ancestor = ancestor;
52  }
Here is the caller graph for this function:

◆ setDescendant()

void org.turro.financials.entity.DocumentRelation.setDescendant ( Document  descendant)

Definition at line 58 of file DocumentRelation.java.

58  {
59  this.descendant = descendant;
60  }
Here is the caller graph for this function:

◆ setId()

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

Definition at line 66 of file DocumentRelation.java.

66  {
67  this.id = id;
68  }

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