BrightSide Workbench Full Report + Source Code
org.turro.activity.JpaParticipation< V > Class Template Reference
Inheritance diagram for org.turro.activity.JpaParticipation< V >:
Collaboration diagram for org.turro.activity.JpaParticipation< V >:

Public Member Functions

 JpaParticipation (JpaParticipationCatcher catcher)
 
void doDelete ()
 
void doChangeFor (Path entityPath)
 
boolean isCanDelete ()
 
void setCanDelete (boolean canDelete)
 
boolean isCanChangeFor ()
 
void setCanChangeFor (boolean canChangeFor)
 
String getDescription ()
 
void setDescription (String description)
 
getEntity ()
 
void setEntity (V entity)
 
Object getReferring ()
 
void setReferring (Object referring)
 
JpaParticipationCatcher getCatcher ()
 

Detailed Description

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

Definition at line 26 of file JpaParticipation.java.

Constructor & Destructor Documentation

◆ JpaParticipation()

Definition at line 34 of file JpaParticipation.java.

34  {
35  this.catcher = catcher;
36  }

Member Function Documentation

◆ doChangeFor()

void org.turro.activity.JpaParticipation< V >.doChangeFor ( Path  entityPath)

Implements org.turro.activity.IParticipation< V >.

Definition at line 46 of file JpaParticipation.java.

46  {
47  if(canChangeFor) {
48  catcher.doChangeFor(entity, entityPath);
49  }
50  }
abstract void doChangeFor(V v, Path toPath)

◆ doDelete()

void org.turro.activity.JpaParticipation< V >.doDelete ( )

Implements org.turro.activity.IParticipation< V >.

Definition at line 39 of file JpaParticipation.java.

39  {
40  if(canDelete) {
41  catcher.doDelete(entity);
42  }
43  }

◆ getCatcher()

Implements org.turro.activity.IParticipation< V >.

Definition at line 99 of file JpaParticipation.java.

99  {
100  return catcher;
101  }

◆ getDescription()

String org.turro.activity.JpaParticipation< V >.getDescription ( )

Implements org.turro.activity.IParticipation< V >.

Definition at line 70 of file JpaParticipation.java.

70  {
71  return description;
72  }

◆ getEntity()

Implements org.turro.activity.IParticipation< V >.

Definition at line 79 of file JpaParticipation.java.

79  {
80  return entity;
81  }

◆ getReferring()

Object org.turro.activity.JpaParticipation< V >.getReferring ( )

Implements org.turro.activity.IParticipation< V >.

Definition at line 89 of file JpaParticipation.java.

89  {
90  return referring;
91  }

◆ isCanChangeFor()

boolean org.turro.activity.JpaParticipation< V >.isCanChangeFor ( )

Definition at line 61 of file JpaParticipation.java.

61  {
62  return canChangeFor;
63  }

◆ isCanDelete()

boolean org.turro.activity.JpaParticipation< V >.isCanDelete ( )

Implements org.turro.activity.IParticipation< V >.

Definition at line 53 of file JpaParticipation.java.

53  {
54  return canDelete;
55  }

◆ setCanChangeFor()

void org.turro.activity.JpaParticipation< V >.setCanChangeFor ( boolean  canChangeFor)

Definition at line 65 of file JpaParticipation.java.

65  {
66  this.canChangeFor = canChangeFor;
67  }
Here is the caller graph for this function:

◆ setCanDelete()

void org.turro.activity.JpaParticipation< V >.setCanDelete ( boolean  canDelete)

Definition at line 57 of file JpaParticipation.java.

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

◆ setDescription()

void org.turro.activity.JpaParticipation< V >.setDescription ( String  description)

Definition at line 74 of file JpaParticipation.java.

74  {
75  this.description = description;
76  }
Here is the caller graph for this function:

◆ setEntity()

void org.turro.activity.JpaParticipation< V >.setEntity ( entity)

Implements org.turro.activity.IParticipation< V >.

Definition at line 84 of file JpaParticipation.java.

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

◆ setReferring()

void org.turro.activity.JpaParticipation< V >.setReferring ( Object  referring)

Implements org.turro.activity.IParticipation< V >.

Definition at line 94 of file JpaParticipation.java.

94  {
95  this.referring = referring;
96  }
Here is the caller graph for this function:

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