congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
EStructuralFeature.getLowerBound
Code IndexAdd Tabnine 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)

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

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • setContentView (Activity)
  • startActivity (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Top plugins for Android Studio
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