public ObjectSequence findByPrimaryKey(String simulatedSequenceName) { ObjectSequence _result = null; Operation _op = null; Object _related = null; if (simulatedSequenceName != null) { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setO1(simulatedSequenceName); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (ObjectSequence) _related; if (_related == null) { _op = this.simulatedSequenceName().eq(simulatedSequenceName); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public ObjectSequence findByPrimaryKey(String simulatedSequenceName) { ObjectSequence _result = null; Operation _op = null; Object _related = null; if (simulatedSequenceName != null) { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setO1(simulatedSequenceName); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (ObjectSequence) _related; if (_related == null) { _op = this.simulatedSequenceName().eq(simulatedSequenceName); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public Customer findByPrimaryKey(int customerId) { Customer _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(customerId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Customer) _related; if (_related == null) { _op = this.customerId().eq(customerId); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
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 CustomerAccount findByPrimaryKey(int accountId) { CustomerAccount _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(accountId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (CustomerAccount) _related; if (_related == null) { _op = this.accountId().eq(accountId); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public CustomerAccount findByPrimaryKey(int accountId) { CustomerAccount _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(accountId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (CustomerAccount) _related; if (_related == null) { _op = this.accountId().eq(accountId); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public Customer findByPrimaryKey(int customerId) { Customer _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(customerId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Customer) _related; if (_related == null) { _op = this.customerId().eq(customerId); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public Person findByPrimaryKey(int personId) { Person _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(personId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Person) _related; if (_related == null) { _op = this.personId().eq(personId); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public AllTypes findByPrimaryKey(int id) { AllTypes _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(id); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (AllTypes) _related; if (_related == null) { _op = this.id().eq(id); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public PetType findByPrimaryKey(int petTypeId) { PetType _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(petTypeId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (PetType) _related; if (_related == null) { _op = this.petTypeId().eq(petTypeId); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public Person findByPrimaryKey(int personId) { Person _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(personId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Person) _related; if (_related == null) { _op = this.personId().eq(personId); } 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; } }
public Customer findByPrimaryKey(int customerId, Timestamp processingDate) { Customer _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(customerId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, processingDate, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Customer) _related; if (_related == null) { _op = this.customerId().eq(customerId).and(this.processingDate().eq(processingDate)); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public CustomerAccount findByPrimaryKey(int accountId, Timestamp processingDate) { CustomerAccount _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(accountId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, processingDate, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (CustomerAccount) _related; if (_related == null) { _op = this.accountId().eq(accountId).and(this.processingDate().eq(processingDate)); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public Task findByPrimaryKey(int taskId, Timestamp processingDate) { Task _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(taskId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, processingDate, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Task) _related; if (_related == null) { _op = this.taskId().eq(taskId).and(this.processingDate().eq(processingDate)); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public ApplicantCreditIssueType findByPrimaryKey(int applicantId, int creditIssueTypeId) { ApplicantCreditIssueType _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(applicantId); _bean.setI2AsInteger(creditIssueTypeId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, null, null); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (ApplicantCreditIssueType) _related; if (_related == null) { _op = this.applicantId().eq(applicantId).and(this.creditIssueTypeId().eq(creditIssueTypeId)); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public CustomerAccount findByPrimaryKey(int accountId, Timestamp businessDate, Timestamp processingDate) { CustomerAccount _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(accountId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, businessDate, processingDate); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (CustomerAccount) _related; if (_related == null) { _op = this.accountId().eq(accountId).and(this.businessDate().eq(businessDate)).and(this.processingDate().eq(processingDate)); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public Employee findByPrimaryKey(int employeeId, Timestamp businessDate, Timestamp processingDate) { Employee _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(employeeId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, businessDate, processingDate); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Employee) _related; if (_related == null) { _op = this.employeeId().eq(employeeId).and(this.businessDate().eq(businessDate)).and(this.processingDate().eq(processingDate)); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public AccountBalance findByPrimaryKey(int accountId, Timestamp businessDate, Timestamp processingDate) { AccountBalance _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(accountId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, businessDate, processingDate); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (AccountBalance) _related; if (_related == null) { _op = this.accountId().eq(accountId).and(this.businessDate().eq(businessDate)).and(this.processingDate().eq(processingDate)); } if (_op != null) { _result = this.findOne(_op); } return _result; } }
public Customer findByPrimaryKey(int customerId, Timestamp businessDate, Timestamp processingDate) { Customer _result = null; Operation _op = null; Object _related = null; { I3O3L3 _bean = I3O3L3.POOL.getOrConstruct(); _bean.setI1AsInteger(customerId); MithraObjectPortal _portal = this.getMithraObjectPortal(); _related = _portal.getAsOneFromCacheForFind(_bean, _bean, forPrimaryKey, businessDate, processingDate); _bean.release(); } if (!(_related instanceof NulledRelation)) _result = (Customer) _related; if (_related == null) { _op = this.customerId().eq(customerId).and(this.businessDate().eq(businessDate)).and(this.processingDate().eq(processingDate)); } if (_op != null) { _result = this.findOne(_op); } return _result; } }