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

How to use
setBaseTypeDefinition
method
in
org.eclipse.xsd.XSDSimpleTypeDefinition

Best Java code snippets using org.eclipse.xsd.XSDSimpleTypeDefinition.setBaseTypeDefinition (Showing top 20 results out of 315)

origin: org.eclipse/org.eclipse.wst.xsd.ui

 public XSDSimpleTypeDefinition getAnonymousType()
 {
  if (anonymousSimpleType == null)
  {
   anonymousSimpleType = XSDFactory.eINSTANCE.createXSDSimpleTypeDefinition();
   anonymousSimpleType.setBaseTypeDefinition(currentType);
  }
  return anonymousSimpleType;
 }
}
origin: org.eclipse/org.eclipse.xsd

simpleType.setBaseTypeDefinition(schema.resolveSimpleTypeDefinition(type));
origin: org.eclipse.xsd/org.eclipse.xsd

simpleType.setBaseTypeDefinition(schema.resolveSimpleTypeDefinition(type));
origin: org.eclipse/org.eclipse.xsd

/**
 * Each EEnum is mapped to a schema simple type that restricts the string simple type;
 * the schema type has an enumeration facet for each EEnumLiteral.
 */
protected void processEnum(EEnum eEnum)
{
 XSDSimpleTypeDefinition enumType = XSDFactory.eINSTANCE.createXSDSimpleTypeDefinition();
 enumType.setName(getName(eEnum));
 enumType.setBaseTypeDefinition(xsdSchema.getSchemaForSchema().resolveSimpleTypeDefinition("NCName"));
 xsdSchema.getContents().add(enumType);
 map(enumType, eEnum);
 for (EEnumLiteral literal : eEnum.getELiterals())
 {
  XSDEnumerationFacet facet = XSDFactory.eINSTANCE.createXSDEnumerationFacet();
  facet.setLexicalValue(getName(literal));
  enumType.getFacetContents().add(facet);
  map(facet, literal);
 }
}
origin: org.eclipse/org.eclipse.wst.xsd.ui

anonymousSimpleType.setBaseTypeDefinition(xsdSimpleTypeDefinition);
origin: org.eclipse.xsd/org.eclipse.xsd

/**
 * Each EEnum is mapped to a schema simple type that restricts the string simple type;
 * the schema type has an enumeration facet for each EEnumLiteral.
 */
protected void processEnum(EEnum eEnum)
{
 XSDSimpleTypeDefinition enumType = XSDFactory.eINSTANCE.createXSDSimpleTypeDefinition();
 enumType.setName(getName(eEnum));
 enumType.setBaseTypeDefinition(xsdSchema.getSchemaForSchema().resolveSimpleTypeDefinition("NCName"));
 xsdSchema.getContents().add(enumType);
 map(enumType, eEnum);
 for (EEnumLiteral literal : eEnum.getELiterals())
 {
  XSDEnumerationFacet facet = XSDFactory.eINSTANCE.createXSDEnumerationFacet();
  facet.setLexicalValue(getName(literal));
  enumType.getFacetContents().add(facet);
  map(facet, literal);
 }
}
origin: org.eclipse.emf/org.eclipse.xsd.edit

xsdSimpleTypeDefinition.setBaseTypeDefinition(baseType);
newChildDescriptors.add(createChildParameter(feature, xsdSimpleTypeDefinition));
origin: org.eclipse/org.eclipse.xsd

simpleTypeDefinition./*{@link XSDSimpleTypeDefinition#setBaseTypeDefinition */setBaseTypeDefinition/*}*/
 (prototypeSchema./*{@link XSDSchema#getSchemaForSchema */getSchemaForSchema/*}*/()./*{@link XSDConcreteComponent#resolveSimpleTypeDefinition */resolveSimpleTypeDefinition/*}*/("positiveInteger"));
origin: org.eclipse.xsd/org.eclipse.xsd

firstMemberTypeDefinition./*{@link XSDSimpleTypeDefinition#setBaseTypeDefinition */setBaseTypeDefinition/*}*/
 (prototypeSchema./*{@link XSDSchema#getSchemaForSchema */getSchemaForSchema/*}*/()./*{@link XSDConcreteComponent#resolveSimpleTypeDefinition */resolveSimpleTypeDefinition/*}*/("string"));
secondMemberTypeDefinition.setBaseTypeDefinition
 (prototypeSchema.getSchemaForSchema().resolveSimpleTypeDefinition("decimal"));
fancyListTypeDefinition.setBaseTypeDefinition(listTypeDefinition);
origin: org.eclipse/org.eclipse.xsd

firstMemberTypeDefinition./*{@link XSDSimpleTypeDefinition#setBaseTypeDefinition */setBaseTypeDefinition/*}*/
 (prototypeSchema./*{@link XSDSchema#getSchemaForSchema */getSchemaForSchema/*}*/()./*{@link XSDConcreteComponent#resolveSimpleTypeDefinition */resolveSimpleTypeDefinition/*}*/("string"));
secondMemberTypeDefinition.setBaseTypeDefinition
 (prototypeSchema.getSchemaForSchema().resolveSimpleTypeDefinition("decimal"));
fancyListTypeDefinition.setBaseTypeDefinition(listTypeDefinition);
origin: org.eclipse.xsd/org.eclipse.xsd

 xsdRestrictedTypeDefinition.setBaseTypeDefinition(xsdListTypeDefinition);
  ((XSDSimpleTypeDefinition)xsdComponent).setBaseTypeDefinition(xsdListTypeDefinition);
((XSDSimpleTypeDefinition)xsdComponent).setBaseTypeDefinition(xsdSimpleTypeDefinition);
origin: org.eclipse.xsd/org.eclipse.xsd

simpleTypeDefinition./*{@link XSDSimpleTypeDefinition#setBaseTypeDefinition */setBaseTypeDefinition/*}*/
 (prototypeSchema./*{@link XSDSchema#getSchemaForSchema */getSchemaForSchema/*}*/()./*{@link XSDConcreteComponent#resolveSimpleTypeDefinition */resolveSimpleTypeDefinition/*}*/("positiveInteger"));
origin: org.eclipse/org.eclipse.xsd

 xsdRestrictedTypeDefinition.setBaseTypeDefinition(xsdListTypeDefinition);
  ((XSDSimpleTypeDefinition)xsdComponent).setBaseTypeDefinition(xsdListTypeDefinition);
((XSDSimpleTypeDefinition)xsdComponent).setBaseTypeDefinition(xsdSimpleTypeDefinition);
origin: org.eclipse/org.eclipse.wst.xsd.ui

typeDef.setBaseTypeDefinition(parent.getSchema().getSchemaForSchema().resolveSimpleTypeDefinition(XSDConstants.SCHEMA_FOR_SCHEMA_URI_2001, "string")); //$NON-NLS-1$
origin: org.eclipse/org.eclipse.xsd

xsdSimpleTypeDefinition.setBaseTypeDefinition(baseTypeDefinition);
  xsdSimpleTypeDefinition.setBaseTypeDefinition(xsdSchema.getSchemaForSchema().resolveSimpleTypeDefinition("string"));
  if (!(eDataType instanceof EEnum))
origin: org.eclipse/org.eclipse.xsd

anonymousSimpleTypeDefinition./*{@link XSDSimpleTypeDefinition#setBaseTypeDefinition */setBaseTypeDefinition/*}*/
 (prototypeSchema./*{@link XSDSchema#getSchemaForSchema */getSchemaForSchema/*}*/()./*{@link XSDConcreteComponent#resolveSimpleTypeDefinition */resolveSimpleTypeDefinition/*}*/("string"));
origin: org.eclipse.xsd/org.eclipse.xsd

anonymousSimpleTypeDefinition./*{@link XSDSimpleTypeDefinition#setBaseTypeDefinition */setBaseTypeDefinition/*}*/
 (prototypeSchema./*{@link XSDSchema#getSchemaForSchema */getSchemaForSchema/*}*/()./*{@link XSDConcreteComponent#resolveSimpleTypeDefinition */resolveSimpleTypeDefinition/*}*/("string"));
origin: org.eclipse/org.eclipse.wst.xsd.ui

if (variety.getValue() == XSDVariety.ATOMIC)
 simpleType.setBaseTypeDefinition((XSDSimpleTypeDefinition) baseType);
origin: org.eclipse/org.eclipse.wst.xsd.ui

anonymousSimpleType.setBaseTypeDefinition(input);
 anonymousSimpleType.setBaseTypeDefinition(input);
 anonymousSimpleType.setBaseTypeDefinition(input);
origin: org.eclipse/org.eclipse.wst.xsd.ui

simpleType.setBaseTypeDefinition(
    elementDeclaration.getSchema().getSchemaForSchema().resolveSimpleTypeDefinition(XSDConstants.SCHEMA_FOR_SCHEMA_URI_2001, "string") ); //$NON-NLS-1$
  elementDeclaration.setAnonymousTypeDefinition(simpleType);
org.eclipse.xsdXSDSimpleTypeDefinitionsetBaseTypeDefinition

Javadoc

Sets the value of the ' org.eclipse.xsd.XSDSimpleTypeDefinition#getBaseTypeDefinition' reference.

Popular methods of XSDSimpleTypeDefinition

  • getItemTypeDefinition
    Returns the value of the 'Item Type Definition' reference. This represents theitem type definition [
  • getVariety
    Returns the value of the 'Variety' attribute. The literals are from the enumeration org.eclipse.xsd.
  • getMaxLengthFacet
    Returns the value of the 'Max Length Facet' reference. This represents the org.eclipse.xsd.XSDMaxLen
  • getMinLengthFacet
    Returns the value of the 'Min Length Facet' reference. This represents the org.eclipse.xsd.XSDMinLen
  • getEnumerationFacets
    Returns the value of the 'Enumeration Facets' reference list. The list contents are of type org.ecli
  • getFacets
    Returns the value of the 'Facets' reference list. The list contents are of type org.eclipse.xsd.XSDC
  • getLengthFacet
    Returns the value of the 'Length Facet' reference. This represents the org.eclipse.xsd.XSDLengthFace
  • getName
  • getBaseType
  • getBaseTypeDefinition
    Returns the value of the 'Base Type Definition' reference. This represents thebase type definition [
  • getContainer
  • getContents
    Returns the value of the 'Contents' containment reference list. The list contents are of type org.ec
  • getContainer,
  • getContents,
  • getMaxFacet,
  • getMemberTypeDefinitions,
  • getTargetNamespace,
  • getValidFacets,
  • setItemTypeDefinition,
  • setName,
  • setVariety

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 17 Plugins for Android Studio
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