public Operation eq(CreditIssueType other) { return this.id().eq(other.getId()) ; } // this implementation uses private API. Do NOT copy to application code. Application code must use normal operations for lookups.
private static Mapper[] getConstantJoinPool() { if (constantJoinPool == null) { Mapper[] result = new Mapper[2]; result[0] = ApplicantFinder.id().constructEqualityMapper(ApplicantCreditIssueTypeFinder.applicantId()); result[1] = ApplicantCreditIssueTypeFinder.applicantId().constructEqualityMapper(ApplicantFinder.id()); constantJoinPool = result; } return constantJoinPool; }
private static Mapper[] getConstantJoinPool() { if (constantJoinPool == null) { Mapper[] result = new Mapper[2]; result[0] = CreditIssueTypeFinder.id().constructEqualityMapper(ApplicantCreditIssueTypeFinder.creditIssueTypeId()); result[1] = ApplicantCreditIssueTypeFinder.creditIssueTypeId().constructEqualityMapper(CreditIssueTypeFinder.id()); constantJoinPool = result; } return constantJoinPool; }
public Operation eq(Applicant other) { return this.id().eq(other.getId()) ; } // this implementation uses private API. Do NOT copy to application code. Application code must use normal operations for lookups.
public CreditIssueType zFindOriginal() { CreditIssueTypeData data = (CreditIssueTypeData) this.currentData; Operation op; op = CreditIssueTypeFinder.id().eq(data.getId()); return CreditIssueTypeFinder.findOne(op); }
public Applicant zFindOriginal() { ApplicantData data = (ApplicantData) this.currentData; Operation op; op = ApplicantFinder.id().eq(data.getId()); return ApplicantFinder.findOne(op); }
public CreditIssueType findByPrimaryKey(long id) { CreditIssueType _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setL1AsLong(id); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (CreditIssueType) _related; if (_related == null) { _op = this.id().eq(id); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public Applicant findByPrimaryKey(long id) { Applicant _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setL1AsLong(id); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Applicant) _related; if (_related == null) { _op = this.id().eq(id); } if (_op != null) { _result = this.findOne(_op); } return _result; } }