7778798081828384858687
ObjAttribute attr = (ObjAttribute) NamedObjectFactory.createObject( ObjAttribute.class, objEntity); objEntity.addAttribute(attr); mediator.fireObjAttributeEvent(new AttributeEvent( this, attr, objEntity, MapEvent.ADD));
96979899100101102103
AttributeEvent e = new AttributeEvent( Application.getFrame(), attrib, entity, MapEvent.REMOVE); mediator.fireObjAttributeEvent(e); } }
101102103104105106107108109110111
while (attributes.hasNext()) { ObjAttribute a = (ObjAttribute) attributes.next(); if (a.isUsedForLocking() != on) { a.setUsedForLocking(on); parent.fireObjAttributeEvent(new AttributeEvent(this, a, entity)); } } } if (updateRelationships) {
9596979899100101102103104105
if (updateAttributes) { for (ObjAttribute a : entity.getAttributes()) { if (a.isUsedForLocking() != on) { a.setUsedForLocking(on); parent.fireObjAttributeEvent(new AttributeEvent(this, a, entity)); } } } if (updateRelationships) {
177178179180181182183184185186187
AttributeEvent e = new AttributeEvent( Application.getFrame(), attrib, entity, MapEvent.REMOVE); mediator.fireObjAttributeEvent(e); } } public void removeEmbeddableAttributes( Embeddable embeddable,
176177178179180181182183184185186
949596979899100101102103104