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

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

Best Java code snippets using org.eclipse.emf.ecore.EStructuralFeature.getLowerBound (Showing top 14 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.openehealth.ipf.oht.mdht/ipf-oht-mdht-uml-cda

@Override
protected boolean shouldSaveFeature(EObject o, EStructuralFeature f) {
  return o.eIsSet(f) || (keepDefaults && f.getDefaultValueLiteral() != null && f.getLowerBound() > 0);
}
origin: org.eclipse.epsilon/epsilon-hutn

/**
 * <!-- begin-user-doc -->
 * Indicates whether the contents of this Slot can fit in the
 * specified EStructuralFeature.
 * <!-- end-user-doc -->
 * @model
 * @generated NOT
 */
public boolean multiplicityCompatibleWith(EStructuralFeature feature) {
  return getNumberOfValues() >= feature.getLowerBound() &&
      getNumberOfValues() <= feature.getUpperBound();
}
origin: org.eclipse/org.eclipse.emf.ecore.edit

images.add(imageToCompose);
String imageName = "full/obj16/EOccurrence";
int minOccurs = eStructuralFeature.getLowerBound();
int maxOccurs = eStructuralFeature.getUpperBound();
if (minOccurs >= 0 && (minOccurs <= maxOccurs || maxOccurs == -1))
origin: org.eclipse.emf/org.eclipse.emf.ecore

if (feature.isMany())
 int lowerBound = feature.getLowerBound();
 if (lowerBound > 0 && size < lowerBound)
origin: org.eclipse.xsd/org.eclipse.xsd

 xsdListTypeDefinition.setItemTypeDefinition(xsdSimpleTypeDefinition);
if (eStructuralFeature.getLowerBound() > 1 || eStructuralFeature.getUpperBound() > 1)
 if (eStructuralFeature.getLowerBound() == eStructuralFeature.getUpperBound())
  xsdLengthFacet.setLexicalValue(Integer.toString(eStructuralFeature.getLowerBound()));
  xsdRestrictedTypeDefinition.getFacetContents().add(xsdLengthFacet);
  if (eStructuralFeature.getLowerBound() > 1)
   xsdMinLengthFacet.setLexicalValue(Integer.toString(eStructuralFeature.getLowerBound()));
   xsdRestrictedTypeDefinition.getFacetContents().add(xsdMinLengthFacet);
origin: org.eclipse/org.eclipse.xsd

 xsdListTypeDefinition.setItemTypeDefinition(xsdSimpleTypeDefinition);
if (eStructuralFeature.getLowerBound() > 1 || eStructuralFeature.getUpperBound() > 1)
 if (eStructuralFeature.getLowerBound() == eStructuralFeature.getUpperBound())
  xsdLengthFacet.setLexicalValue(Integer.toString(eStructuralFeature.getLowerBound()));
  xsdRestrictedTypeDefinition.getFacetContents().add(xsdLengthFacet);
  if (eStructuralFeature.getLowerBound() > 1)
   xsdMinLengthFacet.setLexicalValue(Integer.toString(eStructuralFeature.getLowerBound()));
   xsdRestrictedTypeDefinition.getFacetContents().add(xsdMinLengthFacet);
origin: org.eclipse.xsd/org.eclipse.xsd

map(xsdParticle, eStructuralFeature);
if (eStructuralFeature.getLowerBound() != 1)
 xsdParticle.setMinOccurs(eStructuralFeature.getLowerBound());
origin: org.eclipse/org.eclipse.emf.codegen.ecore.ui

int minOccurs = eStructuralFeature.getLowerBound();
int maxOccurs = eStructuralFeature.getUpperBound();
if (minOccurs >= 0 && (minOccurs <= maxOccurs || maxOccurs == -1))
origin: org.eclipse/org.eclipse.xsd

 if (eStructuralFeature.getLowerBound() != 0)
  createEcoreAnnotation(xsdParticle, "lowerBound", Integer.toString(eStructuralFeature.getLowerBound()));
else if (eStructuralFeature.getLowerBound() != 1)
 xsdParticle.setMinOccurs(eStructuralFeature.getLowerBound());
 if (eStructuralFeature.getLowerBound() != 0)
  createEcoreAnnotation(xsdParticle, "lowerBound", Integer.toString(eStructuralFeature.getLowerBound()));
else if (eStructuralFeature.getLowerBound() != 1)
 createEcoreAnnotation(xsdParticle, "lowerBound", Integer.toString(eStructuralFeature.getLowerBound()));
origin: org.eclipse.xsd/org.eclipse.xsd

 if (eStructuralFeature.getLowerBound() != 0)
  createEcoreAnnotation(xsdParticle, "lowerBound", Integer.toString(eStructuralFeature.getLowerBound()));
else if (eStructuralFeature.getLowerBound() != 1)
 xsdParticle.setMinOccurs(eStructuralFeature.getLowerBound());
 if (eStructuralFeature.getLowerBound() != 0)
  createEcoreAnnotation(xsdParticle, "lowerBound", Integer.toString(eStructuralFeature.getLowerBound()));
else if (eStructuralFeature.getLowerBound() != 1)
 createEcoreAnnotation(xsdParticle, "lowerBound", Integer.toString(eStructuralFeature.getLowerBound()));
origin: org.eclipse.xsd/org.eclipse.xsd

createEcoreAnnotation(xsdComponent, "lowerBound", Integer.toString(eStructuralFeature.getLowerBound()));
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

int lowerBound = eStructuralFeature.getLowerBound();
if (lowerBound > 0)
origin: org.eclipse.emf/org.eclipse.emf.ecore

int lowerBound = eStructuralFeature.getLowerBound();
if (lowerBound > 0)
origin: org.eclipse/org.eclipse.xsd

createEcoreAnnotation(xsdComponent, "lowerBound", Integer.toString(eStructuralFeature.getLowerBound()));
org.eclipse.emf.ecoreEStructuralFeaturegetLowerBound

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,
  • isOrdered,
  • setChangeable,
  • eIsProxy,
  • setUpperBound

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • BoxLayout (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