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

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

Best Java code snippets using org.eclipse.emf.ecore.EStructuralFeature.setDefaultValueLiteral (Showing top 4 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.jabylon/properties

private static void fixedDefaultValues(PropertiesPackageImpl thePropertiesPackage) {
  //fix the workaround spaces in the defaults
  EStructuralFeature excludes = thePropertiesPackage.scanConfigurationEClass.getEStructuralFeature(SCAN_CONFIGURATION__EXCLUDE);
  if(excludes.getDefaultValueLiteral()!=null)
  {
    String exclude = excludes.getDefaultValueLiteral().replace(" ", "");
    exclude = exclude.replace("\\\\", "\\");
    excludes.setDefaultValueLiteral(exclude);
  }
  EStructuralFeature includes = thePropertiesPackage.scanConfigurationEClass.getEStructuralFeature(SCAN_CONFIGURATION__INCLUDE);
  if(includes.getDefaultValueLiteral()!=null)
  {
    String include = includes.getDefaultValueLiteral().replace(" ", "");
    include = include.replace("\\\\", "\\");
    includes.setDefaultValueLiteral(include);
  }
}
origin: org.jresearch.flexess.models/org.jresearch.flexess.models.uam

public static void initEStructuralFeature(final EStructuralFeature s, final EClassifier type, final String name, final String defaultValue, final int lowerBound, final int upperBound, final Class containerClass, final boolean isTransient, final boolean isVolatile, final boolean isChangeable, final boolean isUnsettable, final boolean isUnique, final boolean isDerived, final boolean isOrdered) {
  s.setName(name);
  ((EStructuralFeatureImpl) s).setContainerClass(containerClass);
  s.setTransient(isTransient);
  s.setVolatile(isVolatile);
  s.setChangeable(isChangeable);
  s.setUnsettable(isUnsettable);
  s.setUnique(isUnique);
  s.setDerived(isDerived);
  s.setOrdered(isOrdered);
  s.setLowerBound(lowerBound);
  s.setUpperBound(upperBound);
  s.setEType(type);
  if (defaultValue != null) {
    s.setDefaultValueLiteral(defaultValue);
  }
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

if (defaultValue != null)
 s.setDefaultValueLiteral(defaultValue);
if (defaultValue != null)
 s.setDefaultValueLiteral(defaultValue);
origin: org.eclipse.emf/org.eclipse.emf.ecore

if (defaultValue != null)
 s.setDefaultValueLiteral(defaultValue);
if (defaultValue != null)
 s.setDefaultValueLiteral(defaultValue);
org.eclipse.emf.ecoreEStructuralFeaturesetDefaultValueLiteral

Javadoc

Sets the value of the ' org.eclipse.emf.ecore.EStructuralFeature#getDefaultValueLiteral' 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

  • Reactive rest calls using spring rest template
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • JButton (javax.swing)
  • JTextField (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
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