Codota Logo
EStructuralFeature.isVolatile
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain EStructuralFeature
private void myMethod () {
EStructuralFeature e =
  • Codota IconItemProviderAdapter zuper;zuper.getChildFeature(object, child)
  • Codota IconEClass eClass;String featureName;eClass.getEStructuralFeature(featureName)
  • Codota IconFeatureMap.Entry entry;entry.getEStructuralFeature()
  • Smart code suggestions by Codota
}
origin: org.eclipse/org.eclipse.emf.codegen.ecore

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

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

public boolean isVolatile()
{
 // We treat the feature as volatile if it is volatile itself or if it is 
 // a reference whose opposite end is volatile, 
 // unless that opposite volatile reference delegates to a feature map,
 // in which case, a full implementation of the references can be generated.
 //
 EReference eReverseFeature = isReferenceType() ?
  ((EReference)getEcoreFeature()).getEOpposite() : null;
 return (getEcoreFeature().isVolatile() ||
     (eReverseFeature != null && eReverseFeature.isVolatile() && !getReverse().hasDelegateFeature()));
}
origin: org.eclipse/org.eclipse.emf.codegen.ecore

public boolean isVolatile()
{
 // We treat the feature as volatile if it is volatile itself or if it is 
 // a reference whose opposite end is volatile, 
 // unless that opposite volatile reference delegates to a feature map,
 // in which case, a full implementation of the references can be generated.
 //
 EReference eReverseFeature = isReferenceType() ?
  ((EReference)getEcoreFeature()).getEOpposite() : null;
 return (getEcoreFeature().isVolatile() ||
     (eReverseFeature != null && eReverseFeature.isVolatile() && !getReverse().hasDelegateFeature()));
}
origin: org.eclipse.viatra/org.eclipse.viatra.addon.querybasedfeatures.runtime.validation

  featureError = true;
if(!feature.isVolatile()) {
  validator.error(String.format("Feature %s is not volatile.",featureName),
      contextForFeature, contextESFForFeature, METAMODEL_ISSUE_CODE);
origin: org.eclipse.viatra/org.eclipse.viatra.addon.querybasedfeatures.runtime.validation

  featureError = true;
if(!feature.isVolatile()) {
  validator.error(String.format("Feature %s is not volatile.",featureName),
      contextForFeature, contextESFForFeature, METAMODEL_ISSUE_CODE);
origin: org.eclipse.xsd/org.eclipse.xsd

if (eStructuralFeature.isVolatile())
origin: org.eclipse.emf/org.eclipse.emf.codegen.ecore

if (eStructuralFeature.isVolatile())
origin: org.eclipse/org.eclipse.emf.codegen.ecore

if (eStructuralFeature.isVolatile())
origin: org.eclipse/org.eclipse.xsd

if (eStructuralFeature.isVolatile())
origin: org.eclipse/org.eclipse.xsd

if (eStructuralFeature.isVolatile())
origin: org.eclipse.xsd/org.eclipse.xsd

if (eStructuralFeature.isVolatile())
org.eclipse.emf.ecoreEStructuralFeatureisVolatile

Javadoc

Returns the value of the 'Volatile' 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
  • isTransient
    Returns the value of the 'Transient' attribute.
  • 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
  • getDefaultValueLiteral,
  • getEGenericType,
  • isUnique,
  • getFeatureID,
  • getEAnnotation,
  • getLowerBound,
  • isOrdered,
  • setChangeable,
  • eIsProxy,
  • setUpperBound

Popular in Java

  • Reading from database using SQL prepared statement
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JCheckBox (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now