public void setLastName(String newValue) { zSetString(PersonFinder.lastName(), newValue); }
public void setLastName(String newValue) { if (newValue != null) newValue = newValue.trim(); if (newValue != null && newValue.length() > 24) throw new MithraBusinessException("Attribute 'lastName' cannot exceed maximum length of 24: " + newValue); zSetString(PersonFinder.lastName(), newValue, false, false ); }
protected boolean issueUpdatesForNonPrimaryKeys(TransactionalBehavior behavior, MithraDataObject data, MithraDataObject newData) { boolean changed = false; changed |= zUpdateString(behavior, data, newData, PersonFinder.firstName(), false); changed |= zUpdateString(behavior, data, newData, PersonFinder.lastName(), false); return changed; }
public StringAttribute<ParentOwnerType> lastName() { StringAttribute<ParentOwnerType> result = this.lastName; if (result == null) { result = mapper == null ? SingleColumnStringAttribute.generate("LAST_NAME","","lastName",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,true,false,this,null,true,false,-1,-1,-1,24,true, false) : new MappedStringAttribute(PersonFinder.lastName(), this.mapper, this.zGetValueSelector()); this.lastName = result; } return result; }