BrightSide Workbench Full Report + Source Code
org.turro.elephant.entities.db.Activity Class Reference
Inheritance diagram for org.turro.elephant.entities.db.Activity:
Collaboration diagram for org.turro.elephant.entities.db.Activity:

Public Member Functions

Date getActivityDate ()
 
void setActivityDate (Date activityDate)
 
String getEntityPath ()
 
void setEntityPath (String entityPath)
 
String getActivityPath ()
 
void setActivityPath (String activityPath)
 
String getReason ()
 
void setReason (String reason)
 
String getSortPath ()
 
void setSortPath (String sortPath)
 
Object getActivity ()
 
IElephantEntity getEntity ()
 
IElephantEntity getMainEntity ()
 
String getActivityText ()
 

Detailed Description

Member Function Documentation

◆ getActivity()

Object org.turro.elephant.entities.db.Activity.getActivity ( )

Definition at line 100 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

100  {
101  if(activity == null) {
102  activity = Entities.getObject(activityPath);
103  }
104  return activity;
105  }
Here is the call graph for this function:

◆ getActivityDate()

Date org.turro.elephant.entities.db.Activity.getActivityDate ( )

Definition at line 49 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

49  {
50  return activityDate;
51  }

◆ getActivityPath()

String org.turro.elephant.entities.db.Activity.getActivityPath ( )

Definition at line 65 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

65  {
66  return activityPath;
67  }

◆ getActivityText()

String org.turro.elephant.entities.db.Activity.getActivityText ( )

Definition at line 121 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

121  {
122  if(Strings.isBlank(activityText)) {
123  activityText = formatActivityText();
124  }
125  return activityText;
126  }

◆ getEntity()

IElephantEntity org.turro.elephant.entities.db.Activity.getEntity ( )

Definition at line 107 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

107  {
108  if(entity == null) {
109  entity = Entities.getController(entityPath);
110  }
111  return entity;
112  }
IElephantEntity getController(String entityPath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEntityPath()

String org.turro.elephant.entities.db.Activity.getEntityPath ( )

Definition at line 57 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

57  {
58  return entityPath;
59  }

◆ getMainEntity()

IElephantEntity org.turro.elephant.entities.db.Activity.getMainEntity ( )

Definition at line 114 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

114  {
115  if(mainEntity == null) {
116  mainEntity = Entities.getMainEntity(getEntity().getEntity());
117  }
118  return mainEntity;
119  }
Here is the call graph for this function:

◆ getReason()

String org.turro.elephant.entities.db.Activity.getReason ( )

Definition at line 73 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

73  {
74  return reason;
75  }

◆ getSortPath()

String org.turro.elephant.entities.db.Activity.getSortPath ( )

Definition at line 81 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

81  {
82  return sortPath;
83  }

◆ setActivityDate()

void org.turro.elephant.entities.db.Activity.setActivityDate ( Date  activityDate)

Definition at line 53 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

53  {
54  this.activityDate = activityDate;
55  }
Here is the caller graph for this function:

◆ setActivityPath()

void org.turro.elephant.entities.db.Activity.setActivityPath ( String  activityPath)

Definition at line 69 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

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

◆ setEntityPath()

void org.turro.elephant.entities.db.Activity.setEntityPath ( String  entityPath)

Definition at line 61 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

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

◆ setReason()

void org.turro.elephant.entities.db.Activity.setReason ( String  reason)

Definition at line 77 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

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

◆ setSortPath()

void org.turro.elephant.entities.db.Activity.setSortPath ( String  sortPath)

Ensure wont mix /entity/5 -> /entity/54 -> /entity/5/entity/1 By adding a separator /entity/5~ -> /entity/5~/entity/1 -> /entity/54~

Definition at line 85 of file elephant-jpa/src/main/java/org/turro/elephant/entities/db/Activity.java.

85  {
91  this.sortPath = sortPath + IElephantEntity.PATH_SEPARATOR;
92  }
Here is the caller graph for this function:

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