Java 类org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder 实例源码

项目:CooperateModelingEnvironment    文件:DuplicatedSetFilteringSettingDelegateFactory.java   
@Override
public boolean dynamicIsSet(InternalEObject owner, DynamicValueHolder settings, int index) {
    if (settings == null) {
        return owner.eGet(feature, false) != null;
    }
    return super.dynamicIsSet(owner, settings, index);
}
项目:CooperateModelingEnvironment    文件:DuplicatedSetFilteringSettingDelegateFactory.java   
@Override
public void dynamicSet(InternalEObject owner, DynamicValueHolder settings, int index, Object newValue) {
    Object oldValue = settings.dynamicGet(index);
    if (newValue == oldValue) {
        return;
    }
    super.dynamicSet(owner, settings, index, newValue);
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
public Setting dynamicSetting(final InternalEObject owner, final DynamicValueHolder settings, final int dynamicFeatureID)
{
  return 
    new EStructuralFeature.Setting()
    {
      public EObject getEObject()
      {
        return owner;
      }

      public EStructuralFeature getEStructuralFeature()
      {
        return eStructuralFeature;
      }

      public Object get(boolean resolve)
      {
        return BasicSettingDelegate.this.dynamicGet(owner, settings, dynamicFeatureID, resolve, true);
      }

      public boolean isSet()
      {
        return BasicSettingDelegate.this.dynamicIsSet(owner, settings, dynamicFeatureID);
      }

      public void set(Object newValue)
      {
        BasicSettingDelegate.this.dynamicSet(owner, settings, dynamicFeatureID, newValue);
      }

      public void unset()
      {
        BasicSettingDelegate.this.dynamicUnset(owner, settings, dynamicFeatureID);
      }
    };
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
public NotificationChain dynamicInverseAdd
 (InternalEObject owner,
  DynamicValueHolder settings,
  int dynamicFeatureID,
  InternalEObject otherEnd,
  NotificationChain notifications)
{
  throw new UnsupportedOperationException();
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
public NotificationChain dynamicInverseRemove
 (InternalEObject owner,
  DynamicValueHolder settings,
  int dynamicFeatureID,
  InternalEObject otherEnd,
  NotificationChain notifications)
{
  throw new UnsupportedOperationException();
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
@Override
public final NotificationChain dynamicInverseAdd
 (InternalEObject owner,
  DynamicValueHolder settings,
  int dynamicFeatureID,
  InternalEObject otherEnd,
  NotificationChain notifications)
{
  return inverseAdd(owner, otherEnd, notifications);
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
@Override
public final NotificationChain dynamicInverseRemove
 (InternalEObject owner,
  DynamicValueHolder settings,
  int dynamicFeatureID,
  InternalEObject otherEnd,
  NotificationChain notifications)
{
  return inverseRemove(owner, otherEnd, notifications);
}
项目:clickwatch    文件:BasicSettingDelegate.java   
public Setting dynamicSetting(final InternalEObject owner, final DynamicValueHolder settings, final int dynamicFeatureID)
{
  return 
    new EStructuralFeature.Setting()
    {
      public EObject getEObject()
      {
        return owner;
      }

      public EStructuralFeature getEStructuralFeature()
      {
        return eStructuralFeature;
      }

      public Object get(boolean resolve)
      {
        return BasicSettingDelegate.this.dynamicGet(owner, settings, dynamicFeatureID, resolve, true);
      }

      public boolean isSet()
      {
        return BasicSettingDelegate.this.dynamicIsSet(owner, settings, dynamicFeatureID);
      }

      public void set(Object newValue)
      {
        BasicSettingDelegate.this.dynamicSet(owner, settings, dynamicFeatureID, newValue);
      }

      public void unset()
      {
        BasicSettingDelegate.this.dynamicUnset(owner, settings, dynamicFeatureID);
      }
    };
}
项目:clickwatch    文件:BasicSettingDelegate.java   
public NotificationChain dynamicInverseAdd
 (InternalEObject owner,
  DynamicValueHolder settings,
  int dynamicFeatureID,
  InternalEObject otherEnd,
  NotificationChain notifications)
{
  throw new UnsupportedOperationException();
}
项目:clickwatch    文件:BasicSettingDelegate.java   
public NotificationChain dynamicInverseRemove
 (InternalEObject owner,
  DynamicValueHolder settings,
  int dynamicFeatureID,
  InternalEObject otherEnd,
  NotificationChain notifications)
{
  throw new UnsupportedOperationException();
}
项目:clickwatch    文件:BasicSettingDelegate.java   
@Override
public final NotificationChain dynamicInverseAdd
 (InternalEObject owner,
  DynamicValueHolder settings,
  int dynamicFeatureID,
  InternalEObject otherEnd,
  NotificationChain notifications)
{
  return inverseAdd(owner, otherEnd, notifications);
}
项目:clickwatch    文件:BasicSettingDelegate.java   
@Override
public final NotificationChain dynamicInverseRemove
 (InternalEObject owner,
  DynamicValueHolder settings,
  int dynamicFeatureID,
  InternalEObject otherEnd,
  NotificationChain notifications)
{
  return inverseRemove(owner, otherEnd, notifications);
}
项目:emfviews    文件:VirtualEObject.java   
@Override
protected DynamicValueHolder eSettings() {
  // Override to avoid creating the eSettings array we do not use
  // (We do not use the array because it has a static size, as it assumes
  //  the eClass features never change)
  return this;
}
项目:CooperateModelingEnvironment    文件:NilFixingCDOMerger.java   
private static void fixNIL(CDOSetFeatureDeltaImpl delta) {
    if (delta.getValue() == DynamicValueHolder.NIL) {
        delta.setValue(null);
    }
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
public void dynamicSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, Object newValue)
{
  throw new UnsupportedOperationException();
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
public void dynamicUnset(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
{
  throw new UnsupportedOperationException();
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
@Override
public final Setting dynamicSetting(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
{
  return setting(owner);
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
@Override
public final Object dynamicGet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, boolean resolve, boolean coreType)
{
  return get(owner, resolve, coreType);
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
@Override
public final boolean dynamicIsSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
{
  return isSet(owner);
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
@Override
public final void dynamicSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, Object newValue)
{
  set(owner, newValue);
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
@Override
public final void dynamicUnset(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
{
  unset(owner);
}
项目:clickwatch    文件:BasicSettingDelegate.java   
public void dynamicSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, Object newValue)
{
  throw new UnsupportedOperationException();
}
项目:clickwatch    文件:BasicSettingDelegate.java   
public void dynamicUnset(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
{
  throw new UnsupportedOperationException();
}
项目:clickwatch    文件:BasicSettingDelegate.java   
@Override
public final Setting dynamicSetting(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
{
  return setting(owner);
}
项目:clickwatch    文件:BasicSettingDelegate.java   
@Override
public final Object dynamicGet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, boolean resolve, boolean coreType)
{
  return get(owner, resolve, coreType);
}
项目:clickwatch    文件:BasicSettingDelegate.java   
@Override
public final boolean dynamicIsSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
{
  return isSet(owner);
}
项目:clickwatch    文件:BasicSettingDelegate.java   
@Override
public final void dynamicSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, Object newValue)
{
  set(owner, newValue);
}
项目:clickwatch    文件:BasicSettingDelegate.java   
@Override
public final void dynamicUnset(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID)
{
  unset(owner);
}
项目:eclipse-avro    文件:BasicSettingDelegate.java   
public abstract Object dynamicGet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, boolean resolve, boolean coreType);
项目:eclipse-avro    文件:BasicSettingDelegate.java   
public abstract boolean dynamicIsSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID);
项目:clickwatch    文件:BasicSettingDelegate.java   
public abstract Object dynamicGet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID, boolean resolve, boolean coreType);
项目:clickwatch    文件:BasicSettingDelegate.java   
public abstract boolean dynamicIsSet(InternalEObject owner, DynamicValueHolder settings, int dynamicFeatureID);