- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 35 of file ProcedenceId.java.
◆ equals()
boolean org.turro.alliance.db.entities.ProcedenceId.equals |
( |
Object |
obj | ) |
|
Definition at line 92 of file ProcedenceId.java.
99 if (getClass() != obj.getClass()) {
102 final ProcedenceId other = (ProcedenceId) obj;
103 if (!Objects.equals(
this.entityId, other.entityId)) {
106 return Objects.equals(this.memberId, other.memberId);
◆ from()
static ProcedenceId org.turro.alliance.db.entities.ProcedenceId.from |
( |
String |
id | ) |
|
|
static |
Definition at line 62 of file ProcedenceId.java.
63 CompoundId pid = CompoundId.from(
id);
65 ProcedenceId pi =
new ProcedenceId();
66 pi.entityId = pid.getEntityId();
67 pi.memberId = pid.getMemberId();
◆ getEntityId()
String org.turro.alliance.db.entities.ProcedenceId.getEntityId |
( |
| ) |
|
◆ getMember()
WsMember org.turro.alliance.db.entities.ProcedenceId.getMember |
( |
| ) |
|
◆ getMemberId()
Long org.turro.alliance.db.entities.ProcedenceId.getMemberId |
( |
| ) |
|
◆ hashCode()
int org.turro.alliance.db.entities.ProcedenceId.hashCode |
( |
| ) |
|
Definition at line 84 of file ProcedenceId.java.
86 hash = 67 * hash + Objects.hashCode(this.entityId);
87 hash = 67 * hash + Objects.hashCode(this.memberId);
◆ isEmpty()
boolean org.turro.alliance.db.entities.ProcedenceId.isEmpty |
( |
| ) |
|
Definition at line 75 of file ProcedenceId.java.
76 return Strings.isBlank(entityId) || Zero.orNull(memberId);
◆ setEntityId()
void org.turro.alliance.db.entities.ProcedenceId.setEntityId |
( |
String |
entityId | ) |
|
◆ setMemberId()
void org.turro.alliance.db.entities.ProcedenceId.setMemberId |
( |
Long |
memberId | ) |
|
◆ stringify()
String org.turro.alliance.db.entities.ProcedenceId.stringify |
( |
| ) |
|
Definition at line 58 of file ProcedenceId.java.
59 return new CompoundId(entityId, memberId).stringify();
The documentation for this class was generated from the following file: