public static XSDMaxExclusiveFacet createMaxExclusiveFacet(Node node) { if (XSDConstants.nodeType(node) == XSDConstants.MAXEXCLUSIVE_ELEMENT) { XSDMaxExclusiveFacet xsdMaxExclusiveFacet = XSDFactory.eINSTANCE.createXSDMaxExclusiveFacet(); xsdMaxExclusiveFacet.setElement((Element)node); return xsdMaxExclusiveFacet; } return null; }
public static XSDMaxExclusiveFacet createMaxExclusiveFacet(Node node) { if (XSDConstants.nodeType(node) == XSDConstants.MAXEXCLUSIVE_ELEMENT) { XSDMaxExclusiveFacet xsdMaxExclusiveFacet = XSDFactory.eINSTANCE.createXSDMaxExclusiveFacet(); xsdMaxExclusiveFacet.setElement((Element)node); return xsdMaxExclusiveFacet; } return null; }
if (maxExclusive != null) XSDMaxExclusiveFacet xsdMaxExclusiveFacet = XSDFactory.eINSTANCE.createXSDMaxExclusiveFacet(); xsdMaxExclusiveFacet.setLexicalValue(maxExclusive); xsdSimpleTypeDefinition.getFacetContents().add(xsdMaxExclusiveFacet);
if (maxExclusive != null) XSDMaxExclusiveFacet xsdMaxExclusiveFacet = XSDFactory.eINSTANCE.createXSDMaxExclusiveFacet(); xsdMaxExclusiveFacet.setLexicalValue(maxExclusive); xsdSimpleTypeDefinition.getFacetContents().add(xsdMaxExclusiveFacet);
(XSDMaxExclusiveFacetImpl)getXSDFactory().createXSDMaxExclusiveFacet(); clonedMaxExclusiveFacet.isReconciling = true;
(XSDMaxExclusiveFacetImpl)getXSDFactory().createXSDMaxExclusiveFacet(); clonedMaxExclusiveFacet.isReconciling = true;
maxExclusiveFacet = XSDFactory.eINSTANCE.createXSDMaxExclusiveFacet(); maxExclusiveFacet.setLexicalValue(max); xsdSimpleType.getFacetContents().add(maxExclusiveFacet);
XSDMaxExclusiveFacet quantityMaxExclusiveFacet = xsdFactory.createXSDMaxExclusiveFacet(); quantityMaxExclusiveFacet.setLexicalValue("100"); anonymousSimpleTypeDefinition.getFacetContents().add(quantityMaxExclusiveFacet);
XSDMaxExclusiveFacet quantityMaxExclusiveFacet = xsdFactory.createXSDMaxExclusiveFacet(); quantityMaxExclusiveFacet.setLexicalValue("100"); anonymousSimpleTypeDefinition.getFacetContents().add(quantityMaxExclusiveFacet);