congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
EStructuralFeature.eIsSet
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.eclipse/org.eclipse.xsd

protected XSDAttributeDeclaration buildGlobalAttribute(XSDSchema xsdSchema, EStructuralFeature eStructuralFeature)
{
 XSDAttributeDeclaration xsdAttributeDeclaration = XSDFactory.eINSTANCE.createXSDAttributeDeclaration();
 xsdAttributeDeclaration.setName(extendedMetaData.getName(eStructuralFeature));
 XSDSimpleTypeDefinition xsdSimpleTypeDefinition = xsdSchema.resolveSimpleTypeDefinitionURI(getURI(eStructuralFeature.getEType()));
 handleImport(xsdSchema, xsdSimpleTypeDefinition);
 xsdAttributeDeclaration.setTypeDefinition(xsdSimpleTypeDefinition);
 String defaultValue = eStructuralFeature.getDefaultValueLiteral();
 if (defaultValue != null)
 {
  xsdAttributeDeclaration.setConstraint(XSDConstraint.DEFAULT_LITERAL);
  xsdAttributeDeclaration.setLexicalValue(defaultValue);
 }
 xsdSchema.getContents().add(xsdAttributeDeclaration);
 map(xsdAttributeDeclaration, eStructuralFeature);
 if (eStructuralFeature.eIsSet(EcorePackage.Literals.ETYPED_ELEMENT__EGENERIC_TYPE))
 {
  createEcoreAnnotation(xsdAttributeDeclaration, "type", getGenericType(xsdSchema, eStructuralFeature.getEGenericType()));
 }
 buildAnnotations(xsdAttributeDeclaration, eStructuralFeature);
 return xsdAttributeDeclaration;
}
origin: org.eclipse/org.eclipse.xsd

protected XSDElementDeclaration buildGlobalElement(XSDSchema xsdSchema, EStructuralFeature eStructuralFeature)
{
 XSDElementDeclaration xsdElementDeclaration = XSDFactory.eINSTANCE.createXSDElementDeclaration();
 xsdElementDeclaration.setName(extendedMetaData.getName(eStructuralFeature));
 EClassifier eType = eStructuralFeature.getEType();
 XSDTypeDefinition xsdTypeDefinition = xsdSchema.resolveTypeDefinitionURI(getURI(eType));
 handleImport(xsdSchema, xsdTypeDefinition);
 xsdElementDeclaration.setTypeDefinition(xsdTypeDefinition);
 if (isWrapperType(eType))
 {
  xsdElementDeclaration.setNillable(true);
 }
 String defaultValue = eStructuralFeature.getDefaultValueLiteral();
 if (defaultValue != null)
 {
  xsdElementDeclaration.setConstraint(XSDConstraint.DEFAULT_LITERAL);
  xsdElementDeclaration.setLexicalValue(defaultValue);
 }
 xsdSchema.getContents().add(xsdElementDeclaration);
 map(xsdElementDeclaration, eStructuralFeature);
 if (eStructuralFeature.eIsSet(EcorePackage.Literals.ETYPED_ELEMENT__EGENERIC_TYPE))
 {
  createEcoreAnnotation(xsdElementDeclaration, "type", getGenericType(xsdSchema, eStructuralFeature.getEGenericType()));
 }
 buildAnnotations(xsdElementDeclaration, eStructuralFeature);
 return xsdElementDeclaration;
}
origin: org.eclipse.xsd/org.eclipse.xsd

protected XSDAttributeDeclaration buildGlobalAttribute(XSDSchema xsdSchema, EStructuralFeature eStructuralFeature)
{
 XSDAttributeDeclaration xsdAttributeDeclaration = XSDFactory.eINSTANCE.createXSDAttributeDeclaration();
 xsdAttributeDeclaration.setName(extendedMetaData.getName(eStructuralFeature));
 XSDSimpleTypeDefinition xsdSimpleTypeDefinition = xsdSchema.resolveSimpleTypeDefinitionURI(getURI(eStructuralFeature.getEType()));
 handleImport(xsdSchema, xsdSimpleTypeDefinition);
 xsdAttributeDeclaration.setTypeDefinition(xsdSimpleTypeDefinition);
 String defaultValue = eStructuralFeature.getDefaultValueLiteral();
 if (defaultValue != null)
 {
  xsdAttributeDeclaration.setConstraint(XSDConstraint.DEFAULT_LITERAL);
  xsdAttributeDeclaration.setLexicalValue(transformDefaultValue(xsdAttributeDeclaration.getTypeDefinition(), defaultValue));
 }
 xsdSchema.getContents().add(xsdAttributeDeclaration);
 map(xsdAttributeDeclaration, eStructuralFeature);
 if (eStructuralFeature.eIsSet(EcorePackage.Literals.ETYPED_ELEMENT__EGENERIC_TYPE))
 {
  createEcoreAnnotation(xsdAttributeDeclaration, "type", getGenericType(xsdSchema, eStructuralFeature.getEGenericType()));
 }
 buildAnnotations(xsdAttributeDeclaration, eStructuralFeature);
 return xsdAttributeDeclaration;
}
origin: org.eclipse.xsd/org.eclipse.xsd

if (eStructuralFeature.eIsSet(EcorePackage.Literals.ETYPED_ELEMENT__EGENERIC_TYPE))
origin: org.eclipse/org.eclipse.xsd

if (eStructuralFeature.eIsSet(EcorePackage.Literals.ETYPED_ELEMENT__EGENERIC_TYPE))
origin: org.eclipse/org.eclipse.xsd

if (eStructuralFeature.eIsSet(EcorePackage.Literals.ETYPED_ELEMENT__EGENERIC_TYPE))
origin: org.eclipse.xsd/org.eclipse.xsd

if (eStructuralFeature.eIsSet(EcorePackage.Literals.ETYPED_ELEMENT__EGENERIC_TYPE))
origin: org.eclipse.xsd/org.eclipse.xsd

map(xsdElementDeclaration, eStructuralFeature);
if (eStructuralFeature.eIsSet(EcorePackage.Literals.ETYPED_ELEMENT__EGENERIC_TYPE))
origin: org.eclipse/org.eclipse.xsd

if (eStructuralFeature.eIsSet(EcorePackage.Literals.ETYPED_ELEMENT__EGENERIC_TYPE))
origin: org.eclipse.xsd/org.eclipse.xsd

if (eStructuralFeature.eIsSet(EcorePackage.Literals.ETYPED_ELEMENT__EGENERIC_TYPE))
org.eclipse.emf.ecoreEStructuralFeatureeIsSet

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

  • 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
  • Top 17 PhpStorm Plugins
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