use of org.iobserve.model.test.storage.one.Other in project iobserve-analysis by research-iobserve.
the class SpecialAImpl method setRelate.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setRelate(Other newRelate) {
Other oldRelate = relate;
relate = newRelate;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OnePackage.SPECIAL_A__RELATE, oldRelate, relate));
}
use of org.iobserve.model.test.storage.one.Other in project iobserve-analysis by research-iobserve.
the class LinkImpl method setReference.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setReference(Other newReference) {
Other oldReference = reference;
reference = newReference;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TwoPackage.LINK__REFERENCE, oldReference, reference));
}
use of org.iobserve.model.test.storage.one.Other in project iobserve-analysis by research-iobserve.
the class EvalProxyDBTest method checkProxies.
private void checkProxies(final String label, final Two retrievedModelTwo) {
System.out.println("Step " + label);
for (final Link l : retrievedModelTwo.getLinks()) {
final Other ref = l.getReference();
System.out.println("Link " + ref.getName() + " " + ref.eIsProxy() + " -- " + ((BasicEObjectImpl) ref).eProxyURI());
}
}
use of org.iobserve.model.test.storage.one.Other in project iobserve-analysis by research-iobserve.
the class EvalProxyTest method checkProxies.
private void checkProxies(final String label, final Resource resource) {
System.out.println("Step " + label);
for (final EObject o : resource.getContents()) {
if (o instanceof Two) {
for (final EObject l : ((Two) o).getLinks()) {
if (l instanceof Link) {
final Other ref = ((Link) l).getReference();
System.out.println("Link " + ref.getName() + " " + ref.eIsProxy() + " -- " + ((BasicEObjectImpl) ref).eProxyURI());
}
}
}
}
}
use of org.iobserve.model.test.storage.one.Other in project iobserve-analysis by research-iobserve.
the class OtherSubTypeImpl method basicSetOther.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetOther(Other newOther, NotificationChain msgs) {
Other oldOther = other;
other = newOther;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OnePackage.OTHER_SUB_TYPE__OTHER, oldOther, newOther);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations