@Override public String getAbstract() { return eType.getAbstract(); } }
/** @see WFSServiceInfo#getVersion() */ public String getVersion() { return capabilities.getVersion(); } }
/** * Simply returns an instance of {@link DescribeFeatureTypeType} and lets the framework to * reflectively set the object properties. */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { return wfsFactory.createDescribeFeatureTypeType(); } }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { DeleteElementType deleteElement = wfsfactory.createDeleteElementType(); // <xsd:element maxOccurs="1" minOccurs="1" ref="ogc:Filter"> deleteElement.setFilter((Filter) node.getChildValue(Filter.class)); // <xsd:attribute name="handle" type="xsd:string" use="optional"/> if (node.hasAttribute("handle")) { deleteElement.setHandle((String) node.getAttributeValue("handle")); } // <xsd:attribute name="typeName" type="xsd:QName" use="required"/> deleteElement.setTypeName((QName) node.getAttributeValue(QName.class)); return deleteElement; } }
protected DeleteElementType createDelete(WfsFactory factory, Delete elem) throws Exception { DeleteElementType delete = factory.createDeleteElementType(); QName typeName = elem.getTypeName(); delete.setTypeName(typeName); Filter filter = elem.getFilter(); delete.setFilter(filter); return delete; }
public Object parse(ElementInstance instance, Node node, Object value) { InsertResultsType resultType = wfsfactory.createInsertResultsType(); for (Object featureid : node.getChildValues("FeatureId")) { if (!"none".equals(featureid.toString())) { InsertedFeatureType feature = wfsfactory.createInsertedFeatureType(); feature.getFeatureId().add(featureid); resultType.getFeature().add(feature); } } return resultType; }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { OperationsType om = factory.createOperationsType(); for (Object ob : OperationType.VALUES) { if (node.getChild(((OperationType) ob).getName()) != null) { om.getOperation().add(ob); } } return om; } }
@Override public Set<String> getOutputFormats() { final OutputFormatListType outputFormats = eType.getOutputFormats(); if (null == outputFormats) { return Collections.emptySet(); } @SuppressWarnings("unchecked") List<String> ftypeDeclaredFormats = outputFormats.getFormat(); if (null == ftypeDeclaredFormats || ftypeDeclaredFormats.isEmpty()) { return Collections.emptySet(); } return new HashSet<String>(ftypeDeclaredFormats); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(InstanceComponent instance, Object value) throws Exception { AttributeImpl att = (AttributeImpl) instance; String text = att.getText(); AllSomeType allSomeType = AllSomeType.get(text); return allSomeType; } }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(InstanceComponent instance, Object value) throws Exception { assert value instanceof String; String literal = (String) value; ResultTypeType resultTypeType = ResultTypeType.get(literal); return resultTypeType; } }
/** * Maps to the capabilities' service identification abstract * * @see ServiceInfo#getDescription() */ public String getDescription() { ServiceIdentificationType serviceIdentification = capabilities.getServiceIdentification(); return serviceIdentification == null ? null : serviceIdentification.getAbstract(); }
@SuppressWarnings("unchecked") @Override public List<String> getOtherSRS() { return eType.getOtherSRS(); }
/** @see WFSStrategy#getFilterCapabilities() */ @Override public FilterCapabilities getFilterCapabilities() { FilterCapabilities wfsFilterCapabilities; wfsFilterCapabilities = capabilities.getFilterCapabilities(); return wfsFilterCapabilities; }
@Override public String getTitle() { return eType.getTitle(); }
@Override public String getDefaultSRS() { return eType.getDefaultSRS(); }
@Override public String getName() { return config.localTypeName(eType.getName()); }
/** * Returns the '<em><b>Identifier Generation Option Type</b></em>' literal with the specified name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param name the name. * @return the matching enumerator or <code>null</code>. * @generated */ public static IdentifierGenerationOptionType getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IdentifierGenerationOptionType result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public AllSomeType createAllSomeTypeFromString(EDataType eDataType, String initialValue) { AllSomeType result = AllSomeType.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
@Override public String getDescription() { return eType.getAbstract(); }
/** @see ServiceInfo#getTitle() */ public String getTitle() { ServiceIdentificationType serviceIdentification = capabilities.getServiceIdentification(); return serviceIdentification == null ? null : serviceIdentification.getTitle(); }