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

Public Member Functions

RelationId getRelation ()
 
void setRelation (RelationId relation)
 
String getId ()
 
void setId (String id)
 
Date getCreation ()
 
void setCreation (Date creation)
 
boolean isDriver ()
 
void setDriver (boolean driver)
 
boolean isCoordinator ()
 
void setCoordinator (boolean coordinator)
 
boolean isBeneficiary ()
 
void setBeneficiary (boolean beneficiary)
 
boolean isOfferer ()
 
void setOfferer (boolean offerer)
 
boolean isResearch ()
 
void setResearch (boolean research)
 
boolean isFunding ()
 
void setFunding (boolean funding)
 
boolean isSupport ()
 
void setSupport (boolean support)
 
boolean isConsortium ()
 
void setConsortium (boolean consortium)
 
boolean isAdmin ()
 
void setAdmin (boolean admin)
 
String getName ()
 
void setName (String name)
 
String getFace ()
 
void setFace (String face)
 
String getCompany ()
 
void setCompany (String company)
 
String getCompanyFace ()
 
void setCompanyFace (String companyFace)
 
String getMemberName ()
 
void setMemberName (String memberName)
 
boolean isValidated ()
 
void setValidated (boolean validated)
 
AxProject getProject ()
 
AxContact getContact ()
 
AllianceContact getIContact ()
 
Object entityId ()
 
boolean isEmpty ()
 
String toJson ()
 
String toJson (Map< String, Object > properties)
 
int hashCode ()
 
boolean equals (Object obj)
 
- 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 ()
 

Static Public Member Functions

static AxParticipationRequest fromJson (JsonValue value)
 

Detailed Description

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

Definition at line 45 of file AxParticipationRequest.java.

Member Function Documentation

◆ entityId()

Object org.turro.server.db.entities.AxParticipationRequest.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 229 of file AxParticipationRequest.java.

229  {
230  return relation;
231  }

◆ equals()

boolean org.turro.server.db.entities.AxParticipationRequest.equals ( Object  obj)

Definition at line 264 of file AxParticipationRequest.java.

264  {
265  if (this == obj) {
266  return true;
267  }
268  if (obj == null) {
269  return false;
270  }
271  if (getClass() != obj.getClass()) {
272  return false;
273  }
274  final AxParticipationRequest other = (AxParticipationRequest) obj;
275  return Objects.equals(this.relation, other.relation);
276  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fromJson()

static AxParticipationRequest org.turro.server.db.entities.AxParticipationRequest.fromJson ( JsonValue  value)
static

Definition at line 250 of file AxParticipationRequest.java.

250  {
251  return IJSONizable.fromJson(value.toString(), AxParticipationRequest.class);
252  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCompany()

String org.turro.server.db.entities.AxParticipationRequest.getCompany ( )

Definition at line 178 of file AxParticipationRequest.java.

178  {
179  return company;
180  }

◆ getCompanyFace()

String org.turro.server.db.entities.AxParticipationRequest.getCompanyFace ( )

Definition at line 186 of file AxParticipationRequest.java.

186  {
187  return companyFace;
188  }

◆ getContact()

AxContact org.turro.server.db.entities.AxParticipationRequest.getContact ( )

Definition at line 218 of file AxParticipationRequest.java.

218  {
219  return new AlliancePU().find(AxContact.class, relation.getRelatedProcedenceId());
220  }
Here is the caller graph for this function:

◆ getCreation()

Date org.turro.server.db.entities.AxParticipationRequest.getCreation ( )

Definition at line 82 of file AxParticipationRequest.java.

82  {
83  return creation;
84  }

◆ getFace()

String org.turro.server.db.entities.AxParticipationRequest.getFace ( )

Definition at line 170 of file AxParticipationRequest.java.

170  {
171  return face;
172  }

◆ getIContact()

AllianceContact org.turro.server.db.entities.AxParticipationRequest.getIContact ( )

Definition at line 222 of file AxParticipationRequest.java.

222  {
223  return new AllianceContact(getContact());
224  }
Here is the call graph for this function:

◆ getId()

String org.turro.server.db.entities.AxParticipationRequest.getId ( )

Definition at line 69 of file AxParticipationRequest.java.

69  {
70  return id;
71  }

◆ getMemberName()

String org.turro.server.db.entities.AxParticipationRequest.getMemberName ( )

Definition at line 194 of file AxParticipationRequest.java.

194  {
195  return memberName;
196  }

◆ getName()

String org.turro.server.db.entities.AxParticipationRequest.getName ( )

Definition at line 162 of file AxParticipationRequest.java.

162  {
163  return name;
164  }

◆ getProject()

AxProject org.turro.server.db.entities.AxParticipationRequest.getProject ( )

Definition at line 212 of file AxParticipationRequest.java.

212  {
213  return new AlliancePU().find(AxProject.class, relation.getMainProcedenceId());
214  }

◆ getRelation()

RelationId org.turro.server.db.entities.AxParticipationRequest.getRelation ( )

Definition at line 61 of file AxParticipationRequest.java.

61  {
62  return relation;
63  }

◆ hashCode()

int org.turro.server.db.entities.AxParticipationRequest.hashCode ( )

Definition at line 257 of file AxParticipationRequest.java.

257  {
258  int hash = 3;
259  hash = 97 * hash + Objects.hashCode(this.relation);
260  return hash;
261  }

◆ isAdmin()

boolean org.turro.server.db.entities.AxParticipationRequest.isAdmin ( )

Definition at line 154 of file AxParticipationRequest.java.

154  {
155  return admin;
156  }

◆ isBeneficiary()

boolean org.turro.server.db.entities.AxParticipationRequest.isBeneficiary ( )

Definition at line 106 of file AxParticipationRequest.java.

106  {
107  return beneficiary;
108  }

◆ isConsortium()

boolean org.turro.server.db.entities.AxParticipationRequest.isConsortium ( )

Definition at line 146 of file AxParticipationRequest.java.

146  {
147  return consortium;
148  }

◆ isCoordinator()

boolean org.turro.server.db.entities.AxParticipationRequest.isCoordinator ( )

Definition at line 98 of file AxParticipationRequest.java.

98  {
99  return coordinator;
100  }

◆ isDriver()

boolean org.turro.server.db.entities.AxParticipationRequest.isDriver ( )

Definition at line 90 of file AxParticipationRequest.java.

90  {
91  return driver;
92  }

◆ isEmpty()

boolean org.turro.server.db.entities.AxParticipationRequest.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 234 of file AxParticipationRequest.java.

234  {
235  return relation.isEmpty();
236  }

◆ isFunding()

boolean org.turro.server.db.entities.AxParticipationRequest.isFunding ( )

Definition at line 130 of file AxParticipationRequest.java.

130  {
131  return funding;
132  }

◆ isOfferer()

boolean org.turro.server.db.entities.AxParticipationRequest.isOfferer ( )

Definition at line 114 of file AxParticipationRequest.java.

114  {
115  return offerer;
116  }

◆ isResearch()

boolean org.turro.server.db.entities.AxParticipationRequest.isResearch ( )

Definition at line 122 of file AxParticipationRequest.java.

122  {
123  return research;
124  }

◆ isSupport()

boolean org.turro.server.db.entities.AxParticipationRequest.isSupport ( )

Definition at line 138 of file AxParticipationRequest.java.

138  {
139  return support;
140  }

◆ isValidated()

boolean org.turro.server.db.entities.AxParticipationRequest.isValidated ( )

Definition at line 202 of file AxParticipationRequest.java.

202  {
203  return false;
204  }

◆ setAdmin()

void org.turro.server.db.entities.AxParticipationRequest.setAdmin ( boolean  admin)

Definition at line 158 of file AxParticipationRequest.java.

158  {
159  this.admin = admin;
160  }

◆ setBeneficiary()

void org.turro.server.db.entities.AxParticipationRequest.setBeneficiary ( boolean  beneficiary)

Definition at line 110 of file AxParticipationRequest.java.

110  {
111  this.beneficiary = beneficiary;
112  }
Here is the caller graph for this function:

◆ setCompany()

void org.turro.server.db.entities.AxParticipationRequest.setCompany ( String  company)

Definition at line 182 of file AxParticipationRequest.java.

182  {
183  this.company = company;
184  }
Here is the caller graph for this function:

◆ setCompanyFace()

void org.turro.server.db.entities.AxParticipationRequest.setCompanyFace ( String  companyFace)

Definition at line 190 of file AxParticipationRequest.java.

190  {
191  this.companyFace = companyFace;
192  }
Here is the caller graph for this function:

◆ setConsortium()

void org.turro.server.db.entities.AxParticipationRequest.setConsortium ( boolean  consortium)

Definition at line 150 of file AxParticipationRequest.java.

150  {
151  this.consortium = consortium;
152  }
Here is the caller graph for this function:

◆ setCoordinator()

void org.turro.server.db.entities.AxParticipationRequest.setCoordinator ( boolean  coordinator)

Definition at line 102 of file AxParticipationRequest.java.

102  {
103  this.coordinator = coordinator;
104  }

◆ setCreation()

void org.turro.server.db.entities.AxParticipationRequest.setCreation ( Date  creation)

Definition at line 86 of file AxParticipationRequest.java.

86  {
87  this.creation = creation;
88  }

◆ setDriver()

void org.turro.server.db.entities.AxParticipationRequest.setDriver ( boolean  driver)

Definition at line 94 of file AxParticipationRequest.java.

94  {
95  this.driver = driver;
96  }

◆ setFace()

void org.turro.server.db.entities.AxParticipationRequest.setFace ( String  face)

Definition at line 174 of file AxParticipationRequest.java.

174  {
175  this.face = face;
176  }
Here is the caller graph for this function:

◆ setFunding()

void org.turro.server.db.entities.AxParticipationRequest.setFunding ( boolean  funding)

Definition at line 134 of file AxParticipationRequest.java.

134  {
135  this.funding = funding;
136  }

◆ setId()

void org.turro.server.db.entities.AxParticipationRequest.setId ( String  id)

Definition at line 73 of file AxParticipationRequest.java.

73  {
74  this.id = id;
75  if(!Strings.isBlank(id) && id.contains("##")) {
76  String v[] = id.split("##");
77  relation.setMainEntityId(v[0]);
78  relation.setMainMemberId(Converter.STANDARD.convert(v[1], Long.class));
79  }
80  }
void setMainMemberId(Long mainMemberId)
Definition: RelationId.java:54
void setMainEntityId(String mainEntityId)
Definition: RelationId.java:46
Here is the caller graph for this function:

◆ setMemberName()

void org.turro.server.db.entities.AxParticipationRequest.setMemberName ( String  memberName)

Definition at line 198 of file AxParticipationRequest.java.

198  {
199  this.memberName = memberName;
200  }
Here is the caller graph for this function:

◆ setName()

void org.turro.server.db.entities.AxParticipationRequest.setName ( String  name)

Definition at line 166 of file AxParticipationRequest.java.

166  {
167  this.name = name;
168  }
Here is the caller graph for this function:

◆ setOfferer()

void org.turro.server.db.entities.AxParticipationRequest.setOfferer ( boolean  offerer)

Definition at line 118 of file AxParticipationRequest.java.

118  {
119  this.offerer = offerer;
120  }
Here is the caller graph for this function:

◆ setRelation()

void org.turro.server.db.entities.AxParticipationRequest.setRelation ( RelationId  relation)

Definition at line 65 of file AxParticipationRequest.java.

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

◆ setResearch()

void org.turro.server.db.entities.AxParticipationRequest.setResearch ( boolean  research)

Definition at line 126 of file AxParticipationRequest.java.

126  {
127  this.research = research;
128  }

◆ setSupport()

void org.turro.server.db.entities.AxParticipationRequest.setSupport ( boolean  support)

Definition at line 142 of file AxParticipationRequest.java.

142  {
143  this.support = support;
144  }

◆ setValidated()

void org.turro.server.db.entities.AxParticipationRequest.setValidated ( boolean  validated)

Definition at line 206 of file AxParticipationRequest.java.

206  {
207  this.validated = false;
208  }

◆ toJson() [1/2]

String org.turro.server.db.entities.AxParticipationRequest.toJson ( )

Definition at line 241 of file AxParticipationRequest.java.

241  {
242  return toJson(this);
243  }
Here is the caller graph for this function:

◆ toJson() [2/2]

String org.turro.server.db.entities.AxParticipationRequest.toJson ( Map< String, Object >  properties)

Definition at line 246 of file AxParticipationRequest.java.

246  {
247  return toJson(this, properties);
248  }
Here is the call graph for this function:

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