address.setCountry(new SimpleInternationalString(country));
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { AddressImpl ret = new AddressImpl(); ret.setCity(new SimpleInternationalString((String)node.getChildValue("City"))); ret.setCountry(new SimpleInternationalString((String)node.getChildValue("Country"))); ret.setPostalCode((String)node.getChildValue("PostCode")); ret.setElectronicMailAddresses(new HashSet()); ret.setAdministrativeArea(new SimpleInternationalString((String)node.getChildValue("StateOrProvince"))); HashSet addrs = new HashSet(); addrs.addAll(node.getChildValues("Address")); ret.setDeliveryPoints(addrs); return ret; }
address.setCountry(new SimpleInternationalString(country));
address.setCountry(new SimpleInternationalString(country));