public void setFirstName(String newValue) { zSetString(PersonFinder.firstName(), newValue); }
public void setFirstName(String newValue) { if (newValue != null) newValue = newValue.trim(); if (newValue != null && newValue.length() > 16) throw new MithraBusinessException("Attribute 'firstName' cannot exceed maximum length of 16: " + newValue); zSetString(PersonFinder.firstName(), newValue, false, false ); }
public StringAttribute<ParentOwnerType> firstName() { StringAttribute<ParentOwnerType> result = this.firstName; if (result == null) { result = mapper == null ? SingleColumnStringAttribute.generate("FIRST_NAME","","firstName",BUSINESS_CLASS_NAME_WITH_DOTS,IMPL_CLASS_NAME_WITH_SLASHES,true,false,this,null,true,false,-1,-1,-1,16,true, false) : new MappedStringAttribute(PersonFinder.firstName(), this.mapper, this.zGetValueSelector()); this.firstName = result; } return result; }
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; }