public static Attribute[] getPrimaryKeyAttributes() { return new Attribute[] { personId() } ; }
public static Attribute[] getPrimaryKeyAttributes() { return new Attribute[] { personId() } ; }
public static Operation all() { return new All(personId()); }
protected boolean issueUpdatesForPrimaryKeys(TransactionalBehavior behavior, MithraDataObject data, MithraDataObject newData) { boolean changed = false; changed |= zUpdateInteger(behavior, data, newData, PersonFinder.personId(), false); return changed; }
protected void generateAndSetPrimaryKeys() { zGenerateAndSetPrimaryKeysForSingleSource((SequenceAttribute)PersonFinder.personId(), false, "Person", "kata.util.ObjectSequenceObjectFactory", null); }
protected void generateAndSetPrimaryKeys() { zGenerateAndSetPrimaryKeysForSingleSource((SequenceAttribute)PersonFinder.personId(), false, "Person", "kata.util.ObjectSequenceObjectFactory", null); }
public static Operation all() { return new All(personId()); }
public void setPersonId(int newValue) { zSetInteger(PersonFinder.personId(), newValue); }
public void setPersonId(int newValue) { zSetInteger(PersonFinder.personId(), newValue, true, false ,false); }
public void setPersonId(int newValue) { zSetInteger(PersonFinder.personId(), newValue); } }
protected boolean issueUpdatesForPrimaryKeys(TransactionalBehavior behavior, MithraDataObject data, MithraDataObject newData) { boolean changed = false; changed |= zUpdateInteger(behavior, data, newData, PersonFinder.personId(), false); return changed; }
private static Mapper[] getConstantJoinPool() { if (constantJoinPool == null) { Mapper[] result = new Mapper[2]; result[0] = PersonFinder.personId().constructEqualityMapper(PetFinder.personId()); result[1] = PetFinder.personId().constructEqualityMapper(PersonFinder.personId()); constantJoinPool = result; } return constantJoinPool; }
public IntegerAttribute<ParentOwnerType> personId() { IntegerAttribute<ParentOwnerType> result = this.personId; if (result == null) { result = mapper == null ? SingleColumnIntegerAttribute.generate("PERSON_ID","","personId",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,false,this,null,true,false,false,-1,-1,-1,true, false) : new MappedIntegerAttribute(PersonFinder.personId(), this.mapper, this.zGetValueSelector()); this.personId = result; } return result; }
public Person zFindOriginal() { PersonData data = (PersonData) this.currentData; Operation op; op = PersonFinder.personId().eq(data.getPersonId()); return PersonFinder.findOne(op); }
public IntegerAttribute<ParentOwnerType> personId() { IntegerAttribute<ParentOwnerType> result = this.personId; if (result == null) { result = mapper == null ? SingleColumnIntegerAttribute.generate("PERSON_ID","","personId",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,false,this,null,true,false,false,-1,-1,-1,true, false) : new MappedIntegerAttribute(PersonFinder.personId(), this.mapper, this.zGetValueSelector()); this.personId = result; } return result; }
public Person zFindOriginal() { PersonData data = (PersonData) this.currentData; Operation op; op = PersonFinder.personId().eq(data.getPersonId()); return PersonFinder.findOne(op); }
public void setPersonId(int newValue) { MithraDataObject d = zSetInteger(PersonFinder.personId(), newValue, true, false ,false); if (d == null) return; PersonData data = (PersonData) d; TransactionalBehavior _behavior = zGetTransactionalBehaviorForWriteWithWaitIfNecessary(); if (!_behavior.isPersisted()) { PetList pets = (PetList ) data.getPets(); if (pets != null) { pets.setPersonId(newValue); } } }