@Override public int getFeatureID() { return owner.eDerivedStructuralFeatureID(eStructuralFeature .getFeatureID(), Vertex.class); }
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature, char oldCharValue, char newCharValue) { super(getEObject(notifier), eventType, feature.getFeatureID(), oldCharValue, newCharValue); this.feature = feature; }
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature, double oldDoubleValue, double newDoubleValue) { super(getEObject(notifier), eventType, feature.getFeatureID(), oldDoubleValue, newDoubleValue); this.feature = feature; }
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature, long oldLongValue, long newLongValue) { super(getEObject(notifier), eventType, feature.getFeatureID(), oldLongValue, newLongValue); this.feature = feature; }
@Override public int getFeatureID() { return owner.eDerivedStructuralFeatureID(eStructuralFeature .getFeatureID(), Vertex.class); }
@Override public int getFeatureID() { return owner.eDerivedStructuralFeatureID(eStructuralFeature .getFeatureID(), ConnectableElement.class); }
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature, boolean oldBooleanValue, boolean newBooleanValue) { super(getEObject(notifier), eventType, feature.getFeatureID(), oldBooleanValue, newBooleanValue); this.feature = feature; }
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature, byte oldByteValue, byte newByteValue) { super(getEObject(notifier), eventType, feature.getFeatureID(), oldByteValue, newByteValue); this.feature = feature; }
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature, float oldFloatValue, float newFloatValue) { super(getEObject(notifier), eventType, feature.getFeatureID(), oldFloatValue, newFloatValue); this.feature = feature; }
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature, int oldIntValue, int newIntValue) { super(getEObject(notifier), eventType, feature.getFeatureID(), oldIntValue, newIntValue); this.feature = feature; }
public CDODeltaNotificationImpl(InternalEObject notifier, int eventType, EStructuralFeature feature, short oldShortValue, short newShortValue) { super(getEObject(notifier), eventType, feature.getFeatureID(), oldShortValue, newShortValue); this.feature = feature; }
/** * @generated This field/method will be replaced during code generation. */ public boolean eIsSet(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature.getFeatureID(), eFeature.getContainerClass())) { case ModulemapPackage.UTILITY_JAR_MAPPING__PROJECT_NAME : return PROJECT_NAME_EDEFAULT == null ? projectName != null : !PROJECT_NAME_EDEFAULT.equals(projectName); case ModulemapPackage.UTILITY_JAR_MAPPING__URI : return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri); } return eDynamicIsSet(eFeature); }
public void write(CDODataOutput out) throws IOException { out.writeCDOClassifierRef(eClass); out.writeInt(features.size()); for (EStructuralFeature feature : features) { out.writeInt(feature.getFeatureID()); } }
/** * @generated This field/method will be replaced during code generation. */ public boolean eIsSet(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature.getFeatureID(), eFeature.getContainerClass())) { case ModulemapPackage.MODULE_MAPPING__PROJECT_NAME : return PROJECT_NAME_EDEFAULT == null ? projectName != null : !PROJECT_NAME_EDEFAULT.equals(projectName); case ModulemapPackage.MODULE_MAPPING__MODULE : return module != null; } return eDynamicIsSet(eFeature); }
@Override public int getFeatureID(Class<?> expectedClass) { if (featureID == NO_FEATURE_ID && feature != null) { featureID = notifier.eDerivedStructuralFeatureID(feature.getFeatureID(), feature.getContainerClass()); } return notifier.eBaseStructuralFeatureID(featureID, expectedClass); }
@Override public int getFeatureID(Class<?> expectedClass) { if (featureID == NO_FEATURE_ID && feature != null) { featureID = notifier.eDerivedStructuralFeatureID(feature.getFeatureID(), feature.getContainerClass()); } return notifier.eBaseStructuralFeatureID(featureID, expectedClass); }
@Override public int getFeatureID(Class<?> expectedClass) { if (featureID == NO_FEATURE_ID && feature != null) { Class<?> containerClass = feature.getContainerClass(); featureID = containerClass == null ? notifier.eClass().getFeatureID(feature) : notifier.eDerivedStructuralFeatureID(feature.getFeatureID(), containerClass); } return notifier.eBaseStructuralFeatureID(featureID, expectedClass); }
/** * @generated This field/method will be replaced during code generation. */ public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature.getFeatureID(), eFeature.getContainerClass())) { case ModulemapPackage.MODULE_MAPPING__PROJECT_NAME : setProjectName((String) newValue); return; case ModulemapPackage.MODULE_MAPPING__MODULE : setModule((Module) newValue); return; } eDynamicSet(eFeature, newValue); }
@Override public int getFeatureID(Class<?> expectedClass) { if (featureID == NO_FEATURE_ID && feature != null) { Class<?> containerClass = feature.getContainerClass(); featureID = containerClass == null ? notifier.eClass().getFeatureID(feature) : notifier.eDerivedStructuralFeatureID(feature.getFeatureID(), containerClass); } return notifier.eBaseStructuralFeatureID(featureID, expectedClass); }
public int eDerivedStructuralFeatureID(EStructuralFeature eStructuralFeature) { Class<?> containerClass = eStructuralFeature.getContainerClass(); if (containerClass == null) { return eClass().getFeatureID(eStructuralFeature); } else { assert eClass().getEAllStructuralFeatures().contains(eStructuralFeature) : "The feature '" + eStructuralFeature.getName() + "' is not a valid feature"; return eDerivedStructuralFeatureID(eStructuralFeature.getFeatureID(), containerClass); } }