if (type.getVariety() == XSDVariety.LIST_LITERAL) { } else if (type.getVariety() == XSDVariety.UNION_LITERAL) {
/** * 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"); }
if (baseTypeDefinition != null && XSDVariety.ATOMIC_LITERAL == xsdSimpleTypeDefinition.getVariety())
XSDVariety variety = typeDefinition.getVariety(); int varietyType = variety.getValue();
if (baseTypeDefinition != null && XSDVariety.ATOMIC_LITERAL == xsdSimpleTypeDefinition.getVariety())
String variety = st.getVariety().getName(); int intVariety = st.getVariety().getValue();
if (theBaseTypeDefinition == null || !theBaseTypeDefinition.isSetVariety() || theBaseTypeDefinition.getVariety() != getVariety())
if (type.getVariety() == XSDVariety.LIST_LITERAL) { } else if (type.getVariety() == XSDVariety.UNION_LITERAL) {
((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();
if (theBaseTypeDefinition == null || !theBaseTypeDefinition.isSetVariety() || theBaseTypeDefinition.getVariety() != getVariety())
if (type.getVariety() == XSDVariety.LIST_LITERAL) { } else if (type.getVariety() == XSDVariety.UNION_LITERAL) {
switch (xsdSimpleTypeDefinition.getVariety().getValue())
switch (xsdSimpleTypeDefinition.getVariety().getValue())
if (baseType instanceof XSDSimpleTypeDefinition) XSDVariety variety = simpleType.getVariety(); if (variety.getValue() == XSDVariety.ATOMIC)
qualifier = ((XSDSimpleTypeDefinition) child).getVariety().getName();
if (xsdSimpleTypeDefinition.getVariety() == XSDVariety.UNION_LITERAL)
if (xsdSimpleTypeDefinition.getVariety() == XSDVariety.UNION_LITERAL)
if (attributeTypeDefinition.getVariety() == XSDVariety.LIST_LITERAL) attributeTypeDefinition.getVariety() == XSDVariety.LIST_LITERAL && xsdComponent instanceof XSDAttributeUse && "true".equals(getEcoreAttribute(xsdComponent, "many"));
if (xsdSimpleTypeDefinition.getVariety() == XSDVariety.LIST_LITERAL)
if (xsdSimpleTypeDefinition.getVariety() == XSDVariety.LIST_LITERAL)