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