congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Finding current android device location
  • getContentResolver (Context)
  • getSystemService (Context)
  • setScale (BigDecimal)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Permission (java.security)
    Legacy security code; do not use.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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