Tabnine Logo
XSDSimpleTypeDefinition.getVariety
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: geotools/geotools

if (type.getVariety() == XSDVariety.LIST_LITERAL) {
} else if (type.getVariety() == XSDVariety.UNION_LITERAL) {
origin: org.eclipse.emf/org.eclipse.xsd.edit

/**
 * This returns XSDSimpleTypeDefinition.gif.
 */
@Override
public Object getImage(Object object)
{
 XSDSimpleTypeDefinition xsdSimpleTypeDefinition = ((XSDSimpleTypeDefinition)object);
 return 
  XSDEditPlugin.INSTANCE.getImage
   (xsdSimpleTypeDefinition.getContainer() == null ?
     "full/obj16/XSDSimpleTypeDefinitionUnresolved" :
     XSDVariety.LIST_LITERAL == xsdSimpleTypeDefinition.getVariety() ? 
      "full/obj16/XSDSimpleTypeDefinitionList" :  
      XSDVariety.UNION_LITERAL == xsdSimpleTypeDefinition.getVariety() ? 
       "full/obj16/XSDSimpleTypeDefinitionUnion" :
        xsdSimpleTypeDefinition.isSetVariety() ?
         "full/obj16/XSDSimpleTypeDefinitionAtomic"  :
         "full/obj16/XSDSimpleTypeDefinition");
}
origin: org.eclipse/org.eclipse.wst.xsd.ui

if (baseTypeDefinition != null && XSDVariety.ATOMIC_LITERAL == xsdSimpleTypeDefinition.getVariety())
origin: org.eclipse/org.eclipse.wst.xsd.ui

XSDVariety variety = typeDefinition.getVariety();
int varietyType = variety.getValue();
origin: org.eclipse.emf/org.eclipse.xsd.edit

if (baseTypeDefinition != null && XSDVariety.ATOMIC_LITERAL == xsdSimpleTypeDefinition.getVariety())
origin: org.eclipse/org.eclipse.wst.xsd.ui

String variety = st.getVariety().getName();
int intVariety = st.getVariety().getValue();
origin: org.eclipse.xsd/org.eclipse.xsd

if (theBaseTypeDefinition == null || !theBaseTypeDefinition.isSetVariety() || theBaseTypeDefinition.getVariety() != getVariety())
origin: org.geotools/gt2-xml-core

if (type.getVariety() == XSDVariety.LIST_LITERAL) {
} else if (type.getVariety() == XSDVariety.UNION_LITERAL) {
origin: org.eclipse.emf/org.eclipse.xsd.edit

 ((XSDComplexTypeDefinition) std.eContainer()).getDerivationMethod() != XSDDerivationMethod.EXTENSION_LITERAL)
boolean isAtomic = std.getVariety() == XSDVariety.ATOMIC_LITERAL;
boolean isUnion = std.getVariety() == XSDVariety.UNION_LITERAL;
Collection<String> validFacets = std.getValidFacets();
origin: org.eclipse/org.eclipse.xsd

if (theBaseTypeDefinition == null || !theBaseTypeDefinition.isSetVariety() || theBaseTypeDefinition.getVariety() != getVariety())
origin: org.geotools.xsd/gt-core

if (type.getVariety() == XSDVariety.LIST_LITERAL) {
} else if (type.getVariety() == XSDVariety.UNION_LITERAL) {
origin: org.eclipse.xsd/org.eclipse.xsd

switch (xsdSimpleTypeDefinition.getVariety().getValue())
origin: org.eclipse/org.eclipse.xsd

switch (xsdSimpleTypeDefinition.getVariety().getValue())
origin: org.eclipse/org.eclipse.wst.xsd.ui

if (baseType instanceof XSDSimpleTypeDefinition)
 XSDVariety variety = simpleType.getVariety();
 if (variety.getValue() == XSDVariety.ATOMIC)
origin: org.eclipse.emf/org.eclipse.xsd.edit

qualifier = ((XSDSimpleTypeDefinition) child).getVariety().getName();
origin: org.eclipse.xsd/org.eclipse.xsd

if (xsdSimpleTypeDefinition.getVariety() == XSDVariety.UNION_LITERAL)
origin: org.eclipse/org.eclipse.xsd

if (xsdSimpleTypeDefinition.getVariety() == XSDVariety.UNION_LITERAL)
origin: org.eclipse.xsd/org.eclipse.xsd

if (attributeTypeDefinition.getVariety() == XSDVariety.LIST_LITERAL)
  attributeTypeDefinition.getVariety() == XSDVariety.LIST_LITERAL &&
  xsdComponent instanceof XSDAttributeUse &&
  "true".equals(getEcoreAttribute(xsdComponent, "many"));
origin: org.eclipse.xsd/org.eclipse.xsd

if (xsdSimpleTypeDefinition.getVariety() == XSDVariety.LIST_LITERAL)
origin: org.eclipse/org.eclipse.xsd

if (xsdSimpleTypeDefinition.getVariety() == XSDVariety.LIST_LITERAL)
org.eclipse.xsdXSDSimpleTypeDefinitiongetVariety

Javadoc

Returns the value of the 'Variety' attribute. The literals are from the enumeration org.eclipse.xsd.XSDVariety.

This represents the variety infoset property. It is computed based on the presence or absence of an #getItemTypeDefinition or of #getMemberTypeDefinitions, and should not be set directly.

Popular methods of XSDSimpleTypeDefinition

  • getItemTypeDefinition
    Returns the value of the 'Item Type Definition' reference. This represents theitem type definition [
  • 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
  • getMaxFacet
    Returns the value of the 'Max Facet' reference. This represents the org.eclipse.xsd.XSDMaxFacet of t
  • getContents,
  • getMaxFacet,
  • getMemberTypeDefinitions,
  • getTargetNamespace,
  • getValidFacets,
  • setBaseTypeDefinition,
  • setItemTypeDefinition,
  • setName,
  • setVariety

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • BoxLayout (javax.swing)
  • Github Copilot alternatives
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