Exemplo n.º 1
0
 /** Sets the new referent. */
 public void setRef(Attribute referent) {
   AttributeImpl oldRef = (AttributeImpl) getReferent();
   if (oldRef == referent) return;
   oldRef.removeListener(this);
   super.setSharedComponent(referent);
   firePropertyChangeEvent(PROP_ATTRIBUTE_REF, oldRef, referent);
   forceFireEvent();
 }
Exemplo n.º 2
0
 /** Creates a new instance of AttributeRef */
 public AttributeRef(AXIModel model, SchemaComponent component, Attribute referent) {
   super(model, component);
   super.setSharedComponent(referent);
 }