congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
EStructuralFeature.isTransient
Code IndexAdd Tabnine to your IDE (free)

How to use
isTransient
method
in
org.eclipse.emf.ecore.EStructuralFeature

Best Java code snippets using org.eclipse.emf.ecore.EStructuralFeature.isTransient (Showing top 20 results out of 315)

origin: org.wso2.wsdl.validator/wsdl-validator

protected boolean isIncluded(EStructuralFeature eStructuralFeature)
{
 EReference eReference = (EReference)eStructuralFeature;
 return !eReference.isTransient();
}
origin: org.wso2.wsdl.validator/wsdl-validator

 protected boolean isIncluded(EStructuralFeature eStructuralFeature)
 {
  EReference eReference = (EReference)eStructuralFeature;
  return !eReference.isTransient();
 }
}
origin: org.eclipse/xtext

public ListTransient isListTransient(EObject semanticObject, EStructuralFeature feature) {
  if (feature.isTransient() || isContainerReferenceInSameResource(semanticObject, feature))
    return ListTransient.YES;
  else
    return ListTransient.NO;
}
origin: org.eclipse/org.eclipse.emf.codegen.ecore

public String getTransientFlag()
{
 String result = !getEcoreFeature().isTransient() ? "!" : "";
 return result + "IS_TRANSIENT";
}
origin: org.eclipse.emf/org.eclipse.emf.codegen.ecore

public String getTransientFlag()
{
 String result = !getEcoreFeature().isTransient() ? "!" : "";
 return result + "IS_TRANSIENT";
}
origin: org.eclipse.emf/org.eclipse.emf.ecore

private static boolean isEffectivelyTransient(EStructuralFeature eStructuralFeature)
{
 if (eStructuralFeature.isTransient())
 {
  EStructuralFeature group = ExtendedMetaData.INSTANCE.getGroup(eStructuralFeature);
  return group == null || isEffectivelyTransient(group);
 }
 else
 {
  return false;
 }
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

private static boolean isEffectivelyTransient(EStructuralFeature eStructuralFeature)
{
 if (eStructuralFeature.isTransient())
 {
  EStructuralFeature group = ExtendedMetaData.INSTANCE.getGroup(eStructuralFeature);
  return group == null || isEffectivelyTransient(group);
 }
 else
 {
  return false;
 }
}
origin: org.eclipse.emf/org.eclipse.emf.ecore

@Override
public boolean eDynamicIsSet(EStructuralFeature eStructuralFeature)
{
 return 
  eStructuralFeature.isTransient() ?
   super.eDynamicIsSet(eStructuralFeature) :
   eStore().isSet(this, eStructuralFeature);
}
origin: org.eclipse.uml2/org.eclipse.uml2.uml

@Override
protected int featureKind(EStructuralFeature f) {
  return !f.isTransient()
    && ((EStructuralFeature.Internal) f).isContainer()
    ? (f.isUnsettable()
      ? OBJECT_HREF_SINGLE_UNSETTABLE
      : OBJECT_HREF_SINGLE)
    : ((f == UMLPackage.Literals.CONNECTABLE_ELEMENT__END
      || f == UMLPackage.Literals.VERTEX__INCOMING || f == UMLPackage.Literals.VERTEX__OUTGOING)
      ? OBJECT_HREF_MANY
      : super.featureKind(f));
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore.change

protected boolean shouldRecord(EStructuralFeature feature, EObject eObject)
{
 return isRecording() &&
  !feature.isDerived() &&
  (isRecordingTransientFeatures() || !feature.isTransient()) &&
  feature != EcorePackage.Literals.ECLASS__ESUPER_TYPES &&
  feature != EcorePackage.Literals.ETYPED_ELEMENT__ETYPE &&
  feature != EcorePackage.Literals.EOPERATION__EEXCEPTIONS &&
  feature != EcorePackage.Literals.ECLASSIFIER__INSTANCE_CLASS_NAME;
}
origin: org.eclipse.emf/org.eclipse.emf.ecore.change

protected boolean shouldRecord(EStructuralFeature feature, EObject eObject)
{
 return isRecording() &&
  !feature.isDerived() &&
  (isRecordingTransientFeatures() || !feature.isTransient()) &&
  feature != EcorePackage.Literals.ECLASS__ESUPER_TYPES &&
  feature != EcorePackage.Literals.ETYPED_ELEMENT__ETYPE &&
  feature != EcorePackage.Literals.EOPERATION__EEXCEPTIONS &&
  feature != EcorePackage.Literals.ECLASSIFIER__INSTANCE_CLASS_NAME;
}
origin: org.eclipse/xtext

@Override
public ValueTransient isValueTransient(EObject semanticObject, EStructuralFeature feature) {
  if (feature.isTransient())
    return ValueTransient.YES;
  boolean isSet = semanticObject.eIsSet(feature);
  if (defaultValueIsSerializeable(feature) && !isSet)
    return ValueTransient.PREFERABLY;
  if (legacy.isTransient(semanticObject, feature, 0))
    return ValueTransient.YES;
  return isSet ? ValueTransient.NO : ValueTransient.YES;
}
origin: org.eclipse/xtext

  public ValueTransient isValueTransient(EObject semanticObject, EStructuralFeature feature) {
    if (feature.isTransient() || !semanticObject.eIsSet(feature)
        || isContainerReferenceInSameResource(semanticObject, feature)) {
      if (defaultValueIsSerializeable(feature))
        return ValueTransient.PREFERABLY;
      else
        return ValueTransient.YES;
    } else
      return ValueTransient.NO;
  }
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

@Override
public boolean eDynamicIsSet(EStructuralFeature eStructuralFeature)
{
 return 
  eStructuralFeature.isTransient() ?
   super.eDynamicIsSet(eStructuralFeature) :
   eStore().isSet(this, eStructuralFeature);
}
origin: org.eclipse.emf/org.eclipse.emf.ecore

public void dynamicUnset(int dynamicFeatureID)
{
 EStructuralFeature eStructuralFeature = eDynamicFeature(dynamicFeatureID);
 if (eStructuralFeature.isTransient())
 {
  eSettings[dynamicFeatureID] = null;
 }
 else
 {
  eStore().unset(this, eStructuralFeature);
  eSettings[dynamicFeatureID] = null;
 }
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

public void dynamicUnset(int dynamicFeatureID)
{
 EStructuralFeature eStructuralFeature = eDynamicFeature(dynamicFeatureID);
 if (eStructuralFeature.isTransient())
 {
  eSettings[dynamicFeatureID] = null;
 }
 else
 {
  eStore().unset(this, eStructuralFeature);
  eSettings[dynamicFeatureID] = null;
 }
}
origin: org.eclipse.emf/org.eclipse.emf.ecore

@Override
protected boolean eDynamicIsSet(int dynamicFeatureID, EStructuralFeature eFeature)
{
 return
  dynamicFeatureID < 0 ?
   eOpenIsSet(eFeature) :
   eFeature.isTransient() ?
    eSettingDelegate(eFeature).dynamicIsSet(this, eSettings(), dynamicFeatureID) :
    eStore().isSet(this, eFeature);
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

@Override
protected boolean eDynamicIsSet(int dynamicFeatureID, EStructuralFeature eFeature)
{
 return
  dynamicFeatureID < 0 ?
   eOpenIsSet(eFeature) :
   eFeature.isTransient() ?
    eSettingDelegate(eFeature).dynamicIsSet(this, eSettings(), dynamicFeatureID) :
    eStore().isSet(this, eFeature);
}
origin: org.eclipse.emf/org.eclipse.emf.ecore

@Override
protected boolean eDynamicIsSet(int dynamicFeatureID, EStructuralFeature eFeature)
{
 return
  dynamicFeatureID < 0 ?
   eOpenIsSet(eFeature) :
   eFeature.isTransient() ?
    eSettingDelegate(eFeature).dynamicIsSet(this, eSettings(), dynamicFeatureID) :
    eStore().isSet(this, eFeature);
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

@Override
protected boolean eDynamicIsSet(int dynamicFeatureID, EStructuralFeature eFeature)
{
 return
  dynamicFeatureID < 0 ?
   eOpenIsSet(eFeature) :
   eFeature.isTransient() ?
    eSettingDelegate(eFeature).dynamicIsSet(this, eSettings(), dynamicFeatureID) :
    eStore().isSet(this, eFeature);
}
org.eclipse.emf.ecoreEStructuralFeatureisTransient

Javadoc

Returns the value of the 'Transient' attribute.

Popular methods of EStructuralFeature

  • getName
  • isMany
  • getEType
  • getEContainingClass
    Returns the value of the 'EContaining Class' container reference. It is bidirectional and its opposi
  • isUnsettable
    Returns the value of the 'Unsettable' attribute. An unsettable feature explicitly models the state o
  • isChangeable
    Returns the value of the 'Changeable' attribute. The default value is "true".
  • isDerived
    Returns the value of the 'Derived' attribute. A derived feature typically computes its value from th
  • getDefaultValue
    Returns the value of the 'Default Value' attribute. It represents the default value that feature mus
  • getUpperBound
  • getDefaultValueLiteral
    Returns the value of the 'Default Value Literal' attribute. It represents the serialized form of the
  • getEGenericType
  • isUnique
  • getEGenericType,
  • isUnique,
  • getFeatureID,
  • getEAnnotation,
  • getLowerBound,
  • isOrdered,
  • setChangeable,
  • eIsProxy,
  • setUpperBound

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • runOnUiThread (Activity)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JFileChooser (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now