Codota Logo
XSDSimpleTypeDefinition.isSetVariety
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain XSDSimpleTypeDefinition
private void myMethod () {
XSDSimpleTypeDefinition x =
  • Codota IconXSDFactory eINSTANCE;eINSTANCE.createXSDSimpleTypeDefinition()
  • Codota IconXSDAttributeDeclaration xSDAttributeDeclaration;xSDAttributeDeclaration.getTypeDefinition()
  • Codota IconXSDAttributeDeclaration xSDAttributeDeclaration;xSDAttributeDeclaration.getAnonymousTypeDefinition()
  • Smart code suggestions by Codota
}
origin: org.eclipse.emf/org.eclipse.xsd.edit

 @Override
public Object getPropertyValue(Object o)
 {
  if (((XSDSimpleTypeDefinition)o).isSetVariety())
  {
   return super.getPropertyValue(o);
  }
  else
  {
   return XSDEditPlugin.INSTANCE.getString("_UI_Absent_label");
  }
 }
});
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.xsd/org.eclipse.xsd

if (theBaseTypeDefinition == null || !theBaseTypeDefinition.isSetVariety() || theBaseTypeDefinition.getVariety() != getVariety())
origin: org.eclipse/org.eclipse.xsd

if (theBaseTypeDefinition == null || !theBaseTypeDefinition.isSetVariety() || theBaseTypeDefinition.getVariety() != getVariety())
org.eclipse.xsdXSDSimpleTypeDefinitionisSetVariety

Javadoc

Returns whether the value of the ' org.eclipse.xsd.XSDSimpleTypeDefinition#getVariety' attribute is set.

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,
  • setBaseTypeDefinition,
  • setItemTypeDefinition,
  • setName,
  • setVariety

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • notifyDataSetChanged (ArrayAdapter)
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now