/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public GetCapabilitiesType createGetCapabilitiesType() { GetCapabilitiesTypeImpl getCapabilitiesType = new GetCapabilitiesTypeImpl(); return getCapabilitiesType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case WfsPackage.GET_CAPABILITIES_TYPE__SERVICE: return getService(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public boolean eIsSet(int featureID) { switch (featureID) { case WfsPackage.GET_CAPABILITIES_TYPE__SERVICE: return isSetService(); } return super.eIsSet(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setService(String newService) { String oldService = service; service = newService; boolean oldServiceESet = serviceESet; serviceESet = true; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, WfsPackage.GET_CAPABILITIES_TYPE__SERVICE, oldService, service, !oldServiceESet)); }
/** * True if has "service" attribute */ public boolean isSetService() { synchronized (monitor()) { check_orphaned(); return get_store().find_attribute_user(SERVICE$0) != null; } }
/** * Gets (as xml) the "service" attribute */ public net.opengis.ows.ServiceType xgetService() { synchronized (monitor()) { check_orphaned(); net.opengis.ows.ServiceType target = null; target = (net.opengis.ows.ServiceType)get_store().find_attribute_user(SERVICE$0); if (target == null) { target = (net.opengis.ows.ServiceType)get_default_attribute_value(SERVICE$0); } return target; } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WfsPackage.GET_CAPABILITIES_TYPE__SERVICE: setService((String)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case WfsPackage.GET_CAPABILITIES_TYPE__SERVICE: unsetService(); return; } super.eUnset(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (service: "); if (serviceESet) result.append(service); else result.append("<unset>"); result.append(')'); return result.toString(); }
/** * Unsets the "service" attribute */ public void unsetService() { synchronized (monitor()) { check_orphaned(); get_store().remove_attribute(SERVICE$0); } } }
/** * Gets the "service" attribute */ public java.lang.String getService() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SERVICE$0); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(SERVICE$0); } if (target == null) { return null; } return target.getStringValue(); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void unsetService() { String oldService = service; boolean oldServiceESet = serviceESet; service = SERVICE_EDEFAULT; serviceESet = false; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.UNSET, WfsPackage.GET_CAPABILITIES_TYPE__SERVICE, oldService, SERVICE_EDEFAULT, oldServiceESet)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WfsPackage.GET_CAPABILITIES_TYPE__SERVICE: setService((String)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case WfsPackage.GET_CAPABILITIES_TYPE__SERVICE: unsetService(); return; } super.eUnset(featureID); }
/** * Sets (as xml) the "service" attribute */ public void xsetService(net.opengis.ows.ServiceType service) { synchronized (monitor()) { check_orphaned(); net.opengis.ows.ServiceType target = null; target = (net.opengis.ows.ServiceType)get_store().find_attribute_user(SERVICE$0); if (target == null) { target = (net.opengis.ows.ServiceType)get_store().add_attribute_user(SERVICE$0); } target.set(service); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public GetCapabilitiesType createGetCapabilitiesType() { GetCapabilitiesTypeImpl getCapabilitiesType = new GetCapabilitiesTypeImpl(); return getCapabilitiesType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public boolean eIsSet(int featureID) { switch (featureID) { case WfsPackage.GET_CAPABILITIES_TYPE__SERVICE: return isSetService(); } return super.eIsSet(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case WfsPackage.GET_CAPABILITIES_TYPE__SERVICE: return getService(); } return super.eGet(featureID, resolve, coreType); }
/** * Sets the "service" attribute */ public void setService(java.lang.String service) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SERVICE$0); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SERVICE$0); } target.setStringValue(service); } }