* @generated NOT
*/
private void updateContents(
SimpleDatatypeEditPart simpledatatypeeditpart) {
SimpleDatatype s = (SimpleDatatype) ((View) simpledatatypeeditpart
.getModel()).getElement();
for (int i = 0; i < s.getAttribute().size(); i++) {
Property p1 = (Property) s.getAttribute().get(i);
if (p1.getAttribute().size() >= 2) {
DatatypeAssociation d = (DatatypeAssociation) p1
.getAttribute().get(0);
Property p2 = (Property) p1.getAttribute().get(1);
d.setOwner(null);
d.setContainer(s.getContainer());
d.setName("Name");
p1.setAssociationEnd(d);
p1.setName("Name");
p2.setAssociationEnd(d);
p2.setOwner(d);