public static Attribute[] getPrimaryKeyAttributes() { return new Attribute[] { id() } ; }
protected boolean issueUpdatesForPrimaryKeys(TransactionalBehavior behavior, MithraDataObject data, MithraDataObject newData) { boolean changed = false; changed |= zUpdateInteger(behavior, data, newData, AllTypesFinder.id(), false); return changed; }
public void setId(int newValue) { zSetInteger(AllTypesFinder.id(), newValue); }
public void setId(int newValue) { zSetInteger(AllTypesFinder.id(), newValue, true, false ,false); }
public static Operation all() { return new All(id()); }
public IntegerAttribute<ParentOwnerType> id() { IntegerAttribute<ParentOwnerType> result = this.id; if (result == null) { result = mapper == null ? SingleColumnIntegerAttribute.generate("ID","","id",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,false,false,this,null,true,false,false,-1,-1,-1,false, false) : new MappedIntegerAttribute(AllTypesFinder.id(), this.mapper, this.zGetValueSelector()); this.id = result; } return result; }
public AllTypes zFindOriginal() { AllTypesData data = (AllTypesData) this.currentData; Operation op; op = AllTypesFinder.id().eq(data.getId()); return AllTypesFinder.findOne(op); }