0001: /**
0002: * <copyright>
0003: * </copyright>
0004: *
0005: * $Id: DocumentRootImpl.java 7522 2007-09-12 22:00:10Z saul.farber $
0006: */package net.opengis.wfs.impl;
0007:
0008: import net.opengis.wfs.DeleteElementType;
0009: import net.opengis.wfs.DescribeFeatureTypeType;
0010: import net.opengis.wfs.DocumentRoot;
0011: import net.opengis.wfs.FeatureCollectionType;
0012: import net.opengis.wfs.FeatureTypeListType;
0013: import net.opengis.wfs.GMLObjectTypeListType;
0014: import net.opengis.wfs.GetCapabilitiesType;
0015: import net.opengis.wfs.GetFeatureType;
0016: import net.opengis.wfs.GetFeatureWithLockType;
0017: import net.opengis.wfs.GetGmlObjectType;
0018: import net.opengis.wfs.InsertElementType;
0019: import net.opengis.wfs.LockFeatureResponseType;
0020: import net.opengis.wfs.LockFeatureType;
0021: import net.opengis.wfs.NativeType;
0022: import net.opengis.wfs.PropertyType;
0023: import net.opengis.wfs.QueryType;
0024: import net.opengis.wfs.TransactionResponseType;
0025: import net.opengis.wfs.TransactionType;
0026: import net.opengis.wfs.UpdateElementType;
0027: import net.opengis.wfs.WFSCapabilitiesType;
0028: import net.opengis.wfs.WfsPackage;
0029: import net.opengis.wfs.XlinkPropertyNameType;
0030:
0031: import org.eclipse.emf.common.notify.NotificationChain;
0032:
0033: import org.eclipse.emf.common.util.EMap;
0034:
0035: import org.eclipse.emf.ecore.EClass;
0036: import org.eclipse.emf.ecore.EStructuralFeature;
0037: import org.eclipse.emf.ecore.EcorePackage;
0038: import org.eclipse.emf.ecore.InternalEObject;
0039:
0040: import org.eclipse.emf.ecore.impl.EObjectImpl;
0041: import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
0042:
0043: import org.eclipse.emf.ecore.util.BasicFeatureMap;
0044: import org.eclipse.emf.ecore.util.EcoreEMap;
0045: import org.eclipse.emf.ecore.util.FeatureMap;
0046: import org.eclipse.emf.ecore.util.InternalEList;
0047:
0048: /**
0049: * <!-- begin-user-doc -->
0050: * An implementation of the model object '<em><b>Document Root</b></em>'.
0051: * <!-- end-user-doc -->
0052: * <p>
0053: * The following features are implemented:
0054: * <ul>
0055: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
0056: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
0057: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
0058: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getDelete <em>Delete</em>}</li>
0059: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getDescribeFeatureType <em>Describe Feature Type</em>}</li>
0060: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getFeatureCollection <em>Feature Collection</em>}</li>
0061: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getFeatureTypeList <em>Feature Type List</em>}</li>
0062: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getGetCapabilities <em>Get Capabilities</em>}</li>
0063: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getGetFeature <em>Get Feature</em>}</li>
0064: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getGetFeatureWithLock <em>Get Feature With Lock</em>}</li>
0065: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getGetGmlObject <em>Get Gml Object</em>}</li>
0066: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getInsert <em>Insert</em>}</li>
0067: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getLockFeature <em>Lock Feature</em>}</li>
0068: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getLockFeatureResponse <em>Lock Feature Response</em>}</li>
0069: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getLockId <em>Lock Id</em>}</li>
0070: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getNative <em>Native</em>}</li>
0071: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getProperty <em>Property</em>}</li>
0072: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getPropertyName <em>Property Name</em>}</li>
0073: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getQuery <em>Query</em>}</li>
0074: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getServesGMLObjectTypeList <em>Serves GML Object Type List</em>}</li>
0075: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getSupportsGMLObjectTypeList <em>Supports GML Object Type List</em>}</li>
0076: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getTransaction <em>Transaction</em>}</li>
0077: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getTransactionResponse <em>Transaction Response</em>}</li>
0078: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getUpdate <em>Update</em>}</li>
0079: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getWfsCapabilities <em>Wfs Capabilities</em>}</li>
0080: * <li>{@link net.opengis.wfs.impl.DocumentRootImpl#getXlinkPropertyName <em>Xlink Property Name</em>}</li>
0081: * </ul>
0082: * </p>
0083: *
0084: * @generated
0085: */
0086: public class DocumentRootImpl extends EObjectImpl implements
0087: DocumentRoot {
0088: /**
0089: * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
0090: * <!-- begin-user-doc -->
0091: * <!-- end-user-doc -->
0092: * @see #getMixed()
0093: * @generated
0094: * @ordered
0095: */
0096: protected FeatureMap mixed;
0097:
0098: /**
0099: * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
0100: * <!-- begin-user-doc -->
0101: * <!-- end-user-doc -->
0102: * @see #getXMLNSPrefixMap()
0103: * @generated
0104: * @ordered
0105: */
0106: protected EMap xMLNSPrefixMap;
0107:
0108: /**
0109: * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
0110: * <!-- begin-user-doc -->
0111: * <!-- end-user-doc -->
0112: * @see #getXSISchemaLocation()
0113: * @generated
0114: * @ordered
0115: */
0116: protected EMap xSISchemaLocation;
0117:
0118: /**
0119: * The default value of the '{@link #getLockId() <em>Lock Id</em>}' attribute.
0120: * <!-- begin-user-doc -->
0121: * <!-- end-user-doc -->
0122: * @see #getLockId()
0123: * @generated
0124: * @ordered
0125: */
0126: protected static final String LOCK_ID_EDEFAULT = null;
0127:
0128: /**
0129: * The default value of the '{@link #getPropertyName() <em>Property Name</em>}' attribute.
0130: * <!-- begin-user-doc -->
0131: * <!-- end-user-doc -->
0132: * @see #getPropertyName()
0133: * @generated
0134: * @ordered
0135: */
0136: protected static final String PROPERTY_NAME_EDEFAULT = null;
0137:
0138: /**
0139: * <!-- begin-user-doc -->
0140: * <!-- end-user-doc -->
0141: * @generated
0142: */
0143: protected DocumentRootImpl() {
0144: super ();
0145: }
0146:
0147: /**
0148: * <!-- begin-user-doc -->
0149: * <!-- end-user-doc -->
0150: * @generated
0151: */
0152: protected EClass eStaticClass() {
0153: return WfsPackage.Literals.DOCUMENT_ROOT;
0154: }
0155:
0156: /**
0157: * <!-- begin-user-doc -->
0158: * <!-- end-user-doc -->
0159: * @generated
0160: */
0161: public FeatureMap getMixed() {
0162: if (mixed == null) {
0163: mixed = new BasicFeatureMap(this ,
0164: WfsPackage.DOCUMENT_ROOT__MIXED);
0165: }
0166: return mixed;
0167: }
0168:
0169: /**
0170: * <!-- begin-user-doc -->
0171: * <!-- end-user-doc -->
0172: * @generated
0173: */
0174: public EMap getXMLNSPrefixMap() {
0175: if (xMLNSPrefixMap == null) {
0176: xMLNSPrefixMap = new EcoreEMap(
0177: EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
0178: EStringToStringMapEntryImpl.class, this ,
0179: WfsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
0180: }
0181: return xMLNSPrefixMap;
0182: }
0183:
0184: /**
0185: * <!-- begin-user-doc -->
0186: * <!-- end-user-doc -->
0187: * @generated
0188: */
0189: public EMap getXSISchemaLocation() {
0190: if (xSISchemaLocation == null) {
0191: xSISchemaLocation = new EcoreEMap(
0192: EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
0193: EStringToStringMapEntryImpl.class, this ,
0194: WfsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
0195: }
0196: return xSISchemaLocation;
0197: }
0198:
0199: /**
0200: * <!-- begin-user-doc -->
0201: * <!-- end-user-doc -->
0202: * @generated
0203: */
0204: public DeleteElementType getDelete() {
0205: return (DeleteElementType) getMixed().get(
0206: WfsPackage.Literals.DOCUMENT_ROOT__DELETE, true);
0207: }
0208:
0209: /**
0210: * <!-- begin-user-doc -->
0211: * <!-- end-user-doc -->
0212: * @generated
0213: */
0214: public NotificationChain basicSetDelete(
0215: DeleteElementType newDelete, NotificationChain msgs) {
0216: return ((FeatureMap.Internal) getMixed()).basicAdd(
0217: WfsPackage.Literals.DOCUMENT_ROOT__DELETE, newDelete,
0218: msgs);
0219: }
0220:
0221: /**
0222: * <!-- begin-user-doc -->
0223: * <!-- end-user-doc -->
0224: * @generated
0225: */
0226: public void setDelete(DeleteElementType newDelete) {
0227: ((FeatureMap.Internal) getMixed()).set(
0228: WfsPackage.Literals.DOCUMENT_ROOT__DELETE, newDelete);
0229: }
0230:
0231: /**
0232: * <!-- begin-user-doc -->
0233: * <!-- end-user-doc -->
0234: * @generated
0235: */
0236: public DescribeFeatureTypeType getDescribeFeatureType() {
0237: return (DescribeFeatureTypeType) getMixed()
0238: .get(
0239: WfsPackage.Literals.DOCUMENT_ROOT__DESCRIBE_FEATURE_TYPE,
0240: true);
0241: }
0242:
0243: /**
0244: * <!-- begin-user-doc -->
0245: * <!-- end-user-doc -->
0246: * @generated
0247: */
0248: public NotificationChain basicSetDescribeFeatureType(
0249: DescribeFeatureTypeType newDescribeFeatureType,
0250: NotificationChain msgs) {
0251: return ((FeatureMap.Internal) getMixed())
0252: .basicAdd(
0253: WfsPackage.Literals.DOCUMENT_ROOT__DESCRIBE_FEATURE_TYPE,
0254: newDescribeFeatureType, msgs);
0255: }
0256:
0257: /**
0258: * <!-- begin-user-doc -->
0259: * <!-- end-user-doc -->
0260: * @generated
0261: */
0262: public void setDescribeFeatureType(
0263: DescribeFeatureTypeType newDescribeFeatureType) {
0264: ((FeatureMap.Internal) getMixed())
0265: .set(
0266: WfsPackage.Literals.DOCUMENT_ROOT__DESCRIBE_FEATURE_TYPE,
0267: newDescribeFeatureType);
0268: }
0269:
0270: /**
0271: * <!-- begin-user-doc -->
0272: * <!-- end-user-doc -->
0273: * @generated
0274: */
0275: public FeatureCollectionType getFeatureCollection() {
0276: return (FeatureCollectionType) getMixed().get(
0277: WfsPackage.Literals.DOCUMENT_ROOT__FEATURE_COLLECTION,
0278: true);
0279: }
0280:
0281: /**
0282: * <!-- begin-user-doc -->
0283: * <!-- end-user-doc -->
0284: * @generated
0285: */
0286: public NotificationChain basicSetFeatureCollection(
0287: FeatureCollectionType newFeatureCollection,
0288: NotificationChain msgs) {
0289: return ((FeatureMap.Internal) getMixed()).basicAdd(
0290: WfsPackage.Literals.DOCUMENT_ROOT__FEATURE_COLLECTION,
0291: newFeatureCollection, msgs);
0292: }
0293:
0294: /**
0295: * <!-- begin-user-doc -->
0296: * <!-- end-user-doc -->
0297: * @generated
0298: */
0299: public void setFeatureCollection(
0300: FeatureCollectionType newFeatureCollection) {
0301: ((FeatureMap.Internal) getMixed()).set(
0302: WfsPackage.Literals.DOCUMENT_ROOT__FEATURE_COLLECTION,
0303: newFeatureCollection);
0304: }
0305:
0306: /**
0307: * <!-- begin-user-doc -->
0308: * <!-- end-user-doc -->
0309: * @generated
0310: */
0311: public FeatureTypeListType getFeatureTypeList() {
0312: return (FeatureTypeListType) getMixed().get(
0313: WfsPackage.Literals.DOCUMENT_ROOT__FEATURE_TYPE_LIST,
0314: true);
0315: }
0316:
0317: /**
0318: * <!-- begin-user-doc -->
0319: * <!-- end-user-doc -->
0320: * @generated
0321: */
0322: public NotificationChain basicSetFeatureTypeList(
0323: FeatureTypeListType newFeatureTypeList,
0324: NotificationChain msgs) {
0325: return ((FeatureMap.Internal) getMixed()).basicAdd(
0326: WfsPackage.Literals.DOCUMENT_ROOT__FEATURE_TYPE_LIST,
0327: newFeatureTypeList, msgs);
0328: }
0329:
0330: /**
0331: * <!-- begin-user-doc -->
0332: * <!-- end-user-doc -->
0333: * @generated
0334: */
0335: public void setFeatureTypeList(
0336: FeatureTypeListType newFeatureTypeList) {
0337: ((FeatureMap.Internal) getMixed()).set(
0338: WfsPackage.Literals.DOCUMENT_ROOT__FEATURE_TYPE_LIST,
0339: newFeatureTypeList);
0340: }
0341:
0342: /**
0343: * <!-- begin-user-doc -->
0344: * <!-- end-user-doc -->
0345: * @generated
0346: */
0347: public GetCapabilitiesType getGetCapabilities() {
0348: return (GetCapabilitiesType) getMixed().get(
0349: WfsPackage.Literals.DOCUMENT_ROOT__GET_CAPABILITIES,
0350: true);
0351: }
0352:
0353: /**
0354: * <!-- begin-user-doc -->
0355: * <!-- end-user-doc -->
0356: * @generated
0357: */
0358: public NotificationChain basicSetGetCapabilities(
0359: GetCapabilitiesType newGetCapabilities,
0360: NotificationChain msgs) {
0361: return ((FeatureMap.Internal) getMixed()).basicAdd(
0362: WfsPackage.Literals.DOCUMENT_ROOT__GET_CAPABILITIES,
0363: newGetCapabilities, msgs);
0364: }
0365:
0366: /**
0367: * <!-- begin-user-doc -->
0368: * <!-- end-user-doc -->
0369: * @generated
0370: */
0371: public void setGetCapabilities(
0372: GetCapabilitiesType newGetCapabilities) {
0373: ((FeatureMap.Internal) getMixed()).set(
0374: WfsPackage.Literals.DOCUMENT_ROOT__GET_CAPABILITIES,
0375: newGetCapabilities);
0376: }
0377:
0378: /**
0379: * <!-- begin-user-doc -->
0380: * <!-- end-user-doc -->
0381: * @generated
0382: */
0383: public GetFeatureType getGetFeature() {
0384: return (GetFeatureType) getMixed().get(
0385: WfsPackage.Literals.DOCUMENT_ROOT__GET_FEATURE, true);
0386: }
0387:
0388: /**
0389: * <!-- begin-user-doc -->
0390: * <!-- end-user-doc -->
0391: * @generated
0392: */
0393: public NotificationChain basicSetGetFeature(
0394: GetFeatureType newGetFeature, NotificationChain msgs) {
0395: return ((FeatureMap.Internal) getMixed()).basicAdd(
0396: WfsPackage.Literals.DOCUMENT_ROOT__GET_FEATURE,
0397: newGetFeature, msgs);
0398: }
0399:
0400: /**
0401: * <!-- begin-user-doc -->
0402: * <!-- end-user-doc -->
0403: * @generated
0404: */
0405: public void setGetFeature(GetFeatureType newGetFeature) {
0406: ((FeatureMap.Internal) getMixed()).set(
0407: WfsPackage.Literals.DOCUMENT_ROOT__GET_FEATURE,
0408: newGetFeature);
0409: }
0410:
0411: /**
0412: * <!-- begin-user-doc -->
0413: * <!-- end-user-doc -->
0414: * @generated
0415: */
0416: public GetFeatureWithLockType getGetFeatureWithLock() {
0417: return (GetFeatureWithLockType) getMixed()
0418: .get(
0419: WfsPackage.Literals.DOCUMENT_ROOT__GET_FEATURE_WITH_LOCK,
0420: true);
0421: }
0422:
0423: /**
0424: * <!-- begin-user-doc -->
0425: * <!-- end-user-doc -->
0426: * @generated
0427: */
0428: public NotificationChain basicSetGetFeatureWithLock(
0429: GetFeatureWithLockType newGetFeatureWithLock,
0430: NotificationChain msgs) {
0431: return ((FeatureMap.Internal) getMixed())
0432: .basicAdd(
0433: WfsPackage.Literals.DOCUMENT_ROOT__GET_FEATURE_WITH_LOCK,
0434: newGetFeatureWithLock, msgs);
0435: }
0436:
0437: /**
0438: * <!-- begin-user-doc -->
0439: * <!-- end-user-doc -->
0440: * @generated
0441: */
0442: public void setGetFeatureWithLock(
0443: GetFeatureWithLockType newGetFeatureWithLock) {
0444: ((FeatureMap.Internal) getMixed())
0445: .set(
0446: WfsPackage.Literals.DOCUMENT_ROOT__GET_FEATURE_WITH_LOCK,
0447: newGetFeatureWithLock);
0448: }
0449:
0450: /**
0451: * <!-- begin-user-doc -->
0452: * <!-- end-user-doc -->
0453: * @generated
0454: */
0455: public GetGmlObjectType getGetGmlObject() {
0456: return (GetGmlObjectType) getMixed()
0457: .get(WfsPackage.Literals.DOCUMENT_ROOT__GET_GML_OBJECT,
0458: true);
0459: }
0460:
0461: /**
0462: * <!-- begin-user-doc -->
0463: * <!-- end-user-doc -->
0464: * @generated
0465: */
0466: public NotificationChain basicSetGetGmlObject(
0467: GetGmlObjectType newGetGmlObject, NotificationChain msgs) {
0468: return ((FeatureMap.Internal) getMixed()).basicAdd(
0469: WfsPackage.Literals.DOCUMENT_ROOT__GET_GML_OBJECT,
0470: newGetGmlObject, msgs);
0471: }
0472:
0473: /**
0474: * <!-- begin-user-doc -->
0475: * <!-- end-user-doc -->
0476: * @generated
0477: */
0478: public void setGetGmlObject(GetGmlObjectType newGetGmlObject) {
0479: ((FeatureMap.Internal) getMixed()).set(
0480: WfsPackage.Literals.DOCUMENT_ROOT__GET_GML_OBJECT,
0481: newGetGmlObject);
0482: }
0483:
0484: /**
0485: * <!-- begin-user-doc -->
0486: * <!-- end-user-doc -->
0487: * @generated
0488: */
0489: public InsertElementType getInsert() {
0490: return (InsertElementType) getMixed().get(
0491: WfsPackage.Literals.DOCUMENT_ROOT__INSERT, true);
0492: }
0493:
0494: /**
0495: * <!-- begin-user-doc -->
0496: * <!-- end-user-doc -->
0497: * @generated
0498: */
0499: public NotificationChain basicSetInsert(
0500: InsertElementType newInsert, NotificationChain msgs) {
0501: return ((FeatureMap.Internal) getMixed()).basicAdd(
0502: WfsPackage.Literals.DOCUMENT_ROOT__INSERT, newInsert,
0503: msgs);
0504: }
0505:
0506: /**
0507: * <!-- begin-user-doc -->
0508: * <!-- end-user-doc -->
0509: * @generated
0510: */
0511: public void setInsert(InsertElementType newInsert) {
0512: ((FeatureMap.Internal) getMixed()).set(
0513: WfsPackage.Literals.DOCUMENT_ROOT__INSERT, newInsert);
0514: }
0515:
0516: /**
0517: * <!-- begin-user-doc -->
0518: * <!-- end-user-doc -->
0519: * @generated
0520: */
0521: public LockFeatureType getLockFeature() {
0522: return (LockFeatureType) getMixed().get(
0523: WfsPackage.Literals.DOCUMENT_ROOT__LOCK_FEATURE, true);
0524: }
0525:
0526: /**
0527: * <!-- begin-user-doc -->
0528: * <!-- end-user-doc -->
0529: * @generated
0530: */
0531: public NotificationChain basicSetLockFeature(
0532: LockFeatureType newLockFeature, NotificationChain msgs) {
0533: return ((FeatureMap.Internal) getMixed()).basicAdd(
0534: WfsPackage.Literals.DOCUMENT_ROOT__LOCK_FEATURE,
0535: newLockFeature, msgs);
0536: }
0537:
0538: /**
0539: * <!-- begin-user-doc -->
0540: * <!-- end-user-doc -->
0541: * @generated
0542: */
0543: public void setLockFeature(LockFeatureType newLockFeature) {
0544: ((FeatureMap.Internal) getMixed()).set(
0545: WfsPackage.Literals.DOCUMENT_ROOT__LOCK_FEATURE,
0546: newLockFeature);
0547: }
0548:
0549: /**
0550: * <!-- begin-user-doc -->
0551: * <!-- end-user-doc -->
0552: * @generated
0553: */
0554: public LockFeatureResponseType getLockFeatureResponse() {
0555: return (LockFeatureResponseType) getMixed()
0556: .get(
0557: WfsPackage.Literals.DOCUMENT_ROOT__LOCK_FEATURE_RESPONSE,
0558: true);
0559: }
0560:
0561: /**
0562: * <!-- begin-user-doc -->
0563: * <!-- end-user-doc -->
0564: * @generated
0565: */
0566: public NotificationChain basicSetLockFeatureResponse(
0567: LockFeatureResponseType newLockFeatureResponse,
0568: NotificationChain msgs) {
0569: return ((FeatureMap.Internal) getMixed())
0570: .basicAdd(
0571: WfsPackage.Literals.DOCUMENT_ROOT__LOCK_FEATURE_RESPONSE,
0572: newLockFeatureResponse, msgs);
0573: }
0574:
0575: /**
0576: * <!-- begin-user-doc -->
0577: * <!-- end-user-doc -->
0578: * @generated
0579: */
0580: public void setLockFeatureResponse(
0581: LockFeatureResponseType newLockFeatureResponse) {
0582: ((FeatureMap.Internal) getMixed())
0583: .set(
0584: WfsPackage.Literals.DOCUMENT_ROOT__LOCK_FEATURE_RESPONSE,
0585: newLockFeatureResponse);
0586: }
0587:
0588: /**
0589: * <!-- begin-user-doc -->
0590: * <!-- end-user-doc -->
0591: * @generated
0592: */
0593: public String getLockId() {
0594: return (String) getMixed().get(
0595: WfsPackage.Literals.DOCUMENT_ROOT__LOCK_ID, true);
0596: }
0597:
0598: /**
0599: * <!-- begin-user-doc -->
0600: * <!-- end-user-doc -->
0601: * @generated
0602: */
0603: public void setLockId(String newLockId) {
0604: ((FeatureMap.Internal) getMixed()).set(
0605: WfsPackage.Literals.DOCUMENT_ROOT__LOCK_ID, newLockId);
0606: }
0607:
0608: /**
0609: * <!-- begin-user-doc -->
0610: * <!-- end-user-doc -->
0611: * @generated
0612: */
0613: public NativeType getNative() {
0614: return (NativeType) getMixed().get(
0615: WfsPackage.Literals.DOCUMENT_ROOT__NATIVE, true);
0616: }
0617:
0618: /**
0619: * <!-- begin-user-doc -->
0620: * <!-- end-user-doc -->
0621: * @generated
0622: */
0623: public NotificationChain basicSetNative(NativeType newNative,
0624: NotificationChain msgs) {
0625: return ((FeatureMap.Internal) getMixed()).basicAdd(
0626: WfsPackage.Literals.DOCUMENT_ROOT__NATIVE, newNative,
0627: msgs);
0628: }
0629:
0630: /**
0631: * <!-- begin-user-doc -->
0632: * <!-- end-user-doc -->
0633: * @generated
0634: */
0635: public void setNative(NativeType newNative) {
0636: ((FeatureMap.Internal) getMixed()).set(
0637: WfsPackage.Literals.DOCUMENT_ROOT__NATIVE, newNative);
0638: }
0639:
0640: /**
0641: * <!-- begin-user-doc -->
0642: * <!-- end-user-doc -->
0643: * @generated
0644: */
0645: public PropertyType getProperty() {
0646: return (PropertyType) getMixed().get(
0647: WfsPackage.Literals.DOCUMENT_ROOT__PROPERTY, true);
0648: }
0649:
0650: /**
0651: * <!-- begin-user-doc -->
0652: * <!-- end-user-doc -->
0653: * @generated
0654: */
0655: public NotificationChain basicSetProperty(PropertyType newProperty,
0656: NotificationChain msgs) {
0657: return ((FeatureMap.Internal) getMixed()).basicAdd(
0658: WfsPackage.Literals.DOCUMENT_ROOT__PROPERTY,
0659: newProperty, msgs);
0660: }
0661:
0662: /**
0663: * <!-- begin-user-doc -->
0664: * <!-- end-user-doc -->
0665: * @generated
0666: */
0667: public void setProperty(PropertyType newProperty) {
0668: ((FeatureMap.Internal) getMixed()).set(
0669: WfsPackage.Literals.DOCUMENT_ROOT__PROPERTY,
0670: newProperty);
0671: }
0672:
0673: /**
0674: * <!-- begin-user-doc -->
0675: * <!-- end-user-doc -->
0676: * @generated
0677: */
0678: public String getPropertyName() {
0679: return (String) getMixed().get(
0680: WfsPackage.Literals.DOCUMENT_ROOT__PROPERTY_NAME, true);
0681: }
0682:
0683: /**
0684: * <!-- begin-user-doc -->
0685: * <!-- end-user-doc -->
0686: * @generated
0687: */
0688: public void setPropertyName(String newPropertyName) {
0689: ((FeatureMap.Internal) getMixed()).set(
0690: WfsPackage.Literals.DOCUMENT_ROOT__PROPERTY_NAME,
0691: newPropertyName);
0692: }
0693:
0694: /**
0695: * <!-- begin-user-doc -->
0696: * <!-- end-user-doc -->
0697: * @generated
0698: */
0699: public QueryType getQuery() {
0700: return (QueryType) getMixed().get(
0701: WfsPackage.Literals.DOCUMENT_ROOT__QUERY, true);
0702: }
0703:
0704: /**
0705: * <!-- begin-user-doc -->
0706: * <!-- end-user-doc -->
0707: * @generated
0708: */
0709: public NotificationChain basicSetQuery(QueryType newQuery,
0710: NotificationChain msgs) {
0711: return ((FeatureMap.Internal) getMixed()).basicAdd(
0712: WfsPackage.Literals.DOCUMENT_ROOT__QUERY, newQuery,
0713: msgs);
0714: }
0715:
0716: /**
0717: * <!-- begin-user-doc -->
0718: * <!-- end-user-doc -->
0719: * @generated
0720: */
0721: public void setQuery(QueryType newQuery) {
0722: ((FeatureMap.Internal) getMixed()).set(
0723: WfsPackage.Literals.DOCUMENT_ROOT__QUERY, newQuery);
0724: }
0725:
0726: /**
0727: * <!-- begin-user-doc -->
0728: * <!-- end-user-doc -->
0729: * @generated
0730: */
0731: public GMLObjectTypeListType getServesGMLObjectTypeList() {
0732: return (GMLObjectTypeListType) getMixed()
0733: .get(
0734: WfsPackage.Literals.DOCUMENT_ROOT__SERVES_GML_OBJECT_TYPE_LIST,
0735: true);
0736: }
0737:
0738: /**
0739: * <!-- begin-user-doc -->
0740: * <!-- end-user-doc -->
0741: * @generated
0742: */
0743: public NotificationChain basicSetServesGMLObjectTypeList(
0744: GMLObjectTypeListType newServesGMLObjectTypeList,
0745: NotificationChain msgs) {
0746: return ((FeatureMap.Internal) getMixed())
0747: .basicAdd(
0748: WfsPackage.Literals.DOCUMENT_ROOT__SERVES_GML_OBJECT_TYPE_LIST,
0749: newServesGMLObjectTypeList, msgs);
0750: }
0751:
0752: /**
0753: * <!-- begin-user-doc -->
0754: * <!-- end-user-doc -->
0755: * @generated
0756: */
0757: public void setServesGMLObjectTypeList(
0758: GMLObjectTypeListType newServesGMLObjectTypeList) {
0759: ((FeatureMap.Internal) getMixed())
0760: .set(
0761: WfsPackage.Literals.DOCUMENT_ROOT__SERVES_GML_OBJECT_TYPE_LIST,
0762: newServesGMLObjectTypeList);
0763: }
0764:
0765: /**
0766: * <!-- begin-user-doc -->
0767: * <!-- end-user-doc -->
0768: * @generated
0769: */
0770: public GMLObjectTypeListType getSupportsGMLObjectTypeList() {
0771: return (GMLObjectTypeListType) getMixed()
0772: .get(
0773: WfsPackage.Literals.DOCUMENT_ROOT__SUPPORTS_GML_OBJECT_TYPE_LIST,
0774: true);
0775: }
0776:
0777: /**
0778: * <!-- begin-user-doc -->
0779: * <!-- end-user-doc -->
0780: * @generated
0781: */
0782: public NotificationChain basicSetSupportsGMLObjectTypeList(
0783: GMLObjectTypeListType newSupportsGMLObjectTypeList,
0784: NotificationChain msgs) {
0785: return ((FeatureMap.Internal) getMixed())
0786: .basicAdd(
0787: WfsPackage.Literals.DOCUMENT_ROOT__SUPPORTS_GML_OBJECT_TYPE_LIST,
0788: newSupportsGMLObjectTypeList, msgs);
0789: }
0790:
0791: /**
0792: * <!-- begin-user-doc -->
0793: * <!-- end-user-doc -->
0794: * @generated
0795: */
0796: public void setSupportsGMLObjectTypeList(
0797: GMLObjectTypeListType newSupportsGMLObjectTypeList) {
0798: ((FeatureMap.Internal) getMixed())
0799: .set(
0800: WfsPackage.Literals.DOCUMENT_ROOT__SUPPORTS_GML_OBJECT_TYPE_LIST,
0801: newSupportsGMLObjectTypeList);
0802: }
0803:
0804: /**
0805: * <!-- begin-user-doc -->
0806: * <!-- end-user-doc -->
0807: * @generated
0808: */
0809: public TransactionType getTransaction() {
0810: return (TransactionType) getMixed().get(
0811: WfsPackage.Literals.DOCUMENT_ROOT__TRANSACTION, true);
0812: }
0813:
0814: /**
0815: * <!-- begin-user-doc -->
0816: * <!-- end-user-doc -->
0817: * @generated
0818: */
0819: public NotificationChain basicSetTransaction(
0820: TransactionType newTransaction, NotificationChain msgs) {
0821: return ((FeatureMap.Internal) getMixed()).basicAdd(
0822: WfsPackage.Literals.DOCUMENT_ROOT__TRANSACTION,
0823: newTransaction, msgs);
0824: }
0825:
0826: /**
0827: * <!-- begin-user-doc -->
0828: * <!-- end-user-doc -->
0829: * @generated
0830: */
0831: public void setTransaction(TransactionType newTransaction) {
0832: ((FeatureMap.Internal) getMixed()).set(
0833: WfsPackage.Literals.DOCUMENT_ROOT__TRANSACTION,
0834: newTransaction);
0835: }
0836:
0837: /**
0838: * <!-- begin-user-doc -->
0839: * <!-- end-user-doc -->
0840: * @generated
0841: */
0842: public TransactionResponseType getTransactionResponse() {
0843: return (TransactionResponseType) getMixed()
0844: .get(
0845: WfsPackage.Literals.DOCUMENT_ROOT__TRANSACTION_RESPONSE,
0846: true);
0847: }
0848:
0849: /**
0850: * <!-- begin-user-doc -->
0851: * <!-- end-user-doc -->
0852: * @generated
0853: */
0854: public NotificationChain basicSetTransactionResponse(
0855: TransactionResponseType newTransactionResponse,
0856: NotificationChain msgs) {
0857: return ((FeatureMap.Internal) getMixed())
0858: .basicAdd(
0859: WfsPackage.Literals.DOCUMENT_ROOT__TRANSACTION_RESPONSE,
0860: newTransactionResponse, msgs);
0861: }
0862:
0863: /**
0864: * <!-- begin-user-doc -->
0865: * <!-- end-user-doc -->
0866: * @generated
0867: */
0868: public void setTransactionResponse(
0869: TransactionResponseType newTransactionResponse) {
0870: ((FeatureMap.Internal) getMixed())
0871: .set(
0872: WfsPackage.Literals.DOCUMENT_ROOT__TRANSACTION_RESPONSE,
0873: newTransactionResponse);
0874: }
0875:
0876: /**
0877: * <!-- begin-user-doc -->
0878: * <!-- end-user-doc -->
0879: * @generated
0880: */
0881: public UpdateElementType getUpdate() {
0882: return (UpdateElementType) getMixed().get(
0883: WfsPackage.Literals.DOCUMENT_ROOT__UPDATE, true);
0884: }
0885:
0886: /**
0887: * <!-- begin-user-doc -->
0888: * <!-- end-user-doc -->
0889: * @generated
0890: */
0891: public NotificationChain basicSetUpdate(
0892: UpdateElementType newUpdate, NotificationChain msgs) {
0893: return ((FeatureMap.Internal) getMixed()).basicAdd(
0894: WfsPackage.Literals.DOCUMENT_ROOT__UPDATE, newUpdate,
0895: msgs);
0896: }
0897:
0898: /**
0899: * <!-- begin-user-doc -->
0900: * <!-- end-user-doc -->
0901: * @generated
0902: */
0903: public void setUpdate(UpdateElementType newUpdate) {
0904: ((FeatureMap.Internal) getMixed()).set(
0905: WfsPackage.Literals.DOCUMENT_ROOT__UPDATE, newUpdate);
0906: }
0907:
0908: /**
0909: * <!-- begin-user-doc -->
0910: * <!-- end-user-doc -->
0911: * @generated
0912: */
0913: public WFSCapabilitiesType getWfsCapabilities() {
0914: return (WFSCapabilitiesType) getMixed().get(
0915: WfsPackage.Literals.DOCUMENT_ROOT__WFS_CAPABILITIES,
0916: true);
0917: }
0918:
0919: /**
0920: * <!-- begin-user-doc -->
0921: * <!-- end-user-doc -->
0922: * @generated
0923: */
0924: public NotificationChain basicSetWfsCapabilities(
0925: WFSCapabilitiesType newWfsCapabilities,
0926: NotificationChain msgs) {
0927: return ((FeatureMap.Internal) getMixed()).basicAdd(
0928: WfsPackage.Literals.DOCUMENT_ROOT__WFS_CAPABILITIES,
0929: newWfsCapabilities, msgs);
0930: }
0931:
0932: /**
0933: * <!-- begin-user-doc -->
0934: * <!-- end-user-doc -->
0935: * @generated
0936: */
0937: public void setWfsCapabilities(
0938: WFSCapabilitiesType newWfsCapabilities) {
0939: ((FeatureMap.Internal) getMixed()).set(
0940: WfsPackage.Literals.DOCUMENT_ROOT__WFS_CAPABILITIES,
0941: newWfsCapabilities);
0942: }
0943:
0944: /**
0945: * <!-- begin-user-doc -->
0946: * <!-- end-user-doc -->
0947: * @generated
0948: */
0949: public XlinkPropertyNameType getXlinkPropertyName() {
0950: return (XlinkPropertyNameType) getMixed().get(
0951: WfsPackage.Literals.DOCUMENT_ROOT__XLINK_PROPERTY_NAME,
0952: true);
0953: }
0954:
0955: /**
0956: * <!-- begin-user-doc -->
0957: * <!-- end-user-doc -->
0958: * @generated
0959: */
0960: public NotificationChain basicSetXlinkPropertyName(
0961: XlinkPropertyNameType newXlinkPropertyName,
0962: NotificationChain msgs) {
0963: return ((FeatureMap.Internal) getMixed()).basicAdd(
0964: WfsPackage.Literals.DOCUMENT_ROOT__XLINK_PROPERTY_NAME,
0965: newXlinkPropertyName, msgs);
0966: }
0967:
0968: /**
0969: * <!-- begin-user-doc -->
0970: * <!-- end-user-doc -->
0971: * @generated
0972: */
0973: public void setXlinkPropertyName(
0974: XlinkPropertyNameType newXlinkPropertyName) {
0975: ((FeatureMap.Internal) getMixed()).set(
0976: WfsPackage.Literals.DOCUMENT_ROOT__XLINK_PROPERTY_NAME,
0977: newXlinkPropertyName);
0978: }
0979:
0980: /**
0981: * <!-- begin-user-doc -->
0982: * <!-- end-user-doc -->
0983: * @generated
0984: */
0985: public NotificationChain eInverseRemove(InternalEObject otherEnd,
0986: int featureID, NotificationChain msgs) {
0987: switch (featureID) {
0988: case WfsPackage.DOCUMENT_ROOT__MIXED:
0989: return ((InternalEList) getMixed()).basicRemove(otherEnd,
0990: msgs);
0991: case WfsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
0992: return ((InternalEList) getXMLNSPrefixMap()).basicRemove(
0993: otherEnd, msgs);
0994: case WfsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
0995: return ((InternalEList) getXSISchemaLocation())
0996: .basicRemove(otherEnd, msgs);
0997: case WfsPackage.DOCUMENT_ROOT__DELETE:
0998: return basicSetDelete(null, msgs);
0999: case WfsPackage.DOCUMENT_ROOT__DESCRIBE_FEATURE_TYPE:
1000: return basicSetDescribeFeatureType(null, msgs);
1001: case WfsPackage.DOCUMENT_ROOT__FEATURE_COLLECTION:
1002: return basicSetFeatureCollection(null, msgs);
1003: case WfsPackage.DOCUMENT_ROOT__FEATURE_TYPE_LIST:
1004: return basicSetFeatureTypeList(null, msgs);
1005: case WfsPackage.DOCUMENT_ROOT__GET_CAPABILITIES:
1006: return basicSetGetCapabilities(null, msgs);
1007: case WfsPackage.DOCUMENT_ROOT__GET_FEATURE:
1008: return basicSetGetFeature(null, msgs);
1009: case WfsPackage.DOCUMENT_ROOT__GET_FEATURE_WITH_LOCK:
1010: return basicSetGetFeatureWithLock(null, msgs);
1011: case WfsPackage.DOCUMENT_ROOT__GET_GML_OBJECT:
1012: return basicSetGetGmlObject(null, msgs);
1013: case WfsPackage.DOCUMENT_ROOT__INSERT:
1014: return basicSetInsert(null, msgs);
1015: case WfsPackage.DOCUMENT_ROOT__LOCK_FEATURE:
1016: return basicSetLockFeature(null, msgs);
1017: case WfsPackage.DOCUMENT_ROOT__LOCK_FEATURE_RESPONSE:
1018: return basicSetLockFeatureResponse(null, msgs);
1019: case WfsPackage.DOCUMENT_ROOT__NATIVE:
1020: return basicSetNative(null, msgs);
1021: case WfsPackage.DOCUMENT_ROOT__PROPERTY:
1022: return basicSetProperty(null, msgs);
1023: case WfsPackage.DOCUMENT_ROOT__QUERY:
1024: return basicSetQuery(null, msgs);
1025: case WfsPackage.DOCUMENT_ROOT__SERVES_GML_OBJECT_TYPE_LIST:
1026: return basicSetServesGMLObjectTypeList(null, msgs);
1027: case WfsPackage.DOCUMENT_ROOT__SUPPORTS_GML_OBJECT_TYPE_LIST:
1028: return basicSetSupportsGMLObjectTypeList(null, msgs);
1029: case WfsPackage.DOCUMENT_ROOT__TRANSACTION:
1030: return basicSetTransaction(null, msgs);
1031: case WfsPackage.DOCUMENT_ROOT__TRANSACTION_RESPONSE:
1032: return basicSetTransactionResponse(null, msgs);
1033: case WfsPackage.DOCUMENT_ROOT__UPDATE:
1034: return basicSetUpdate(null, msgs);
1035: case WfsPackage.DOCUMENT_ROOT__WFS_CAPABILITIES:
1036: return basicSetWfsCapabilities(null, msgs);
1037: case WfsPackage.DOCUMENT_ROOT__XLINK_PROPERTY_NAME:
1038: return basicSetXlinkPropertyName(null, msgs);
1039: }
1040: return super .eInverseRemove(otherEnd, featureID, msgs);
1041: }
1042:
1043: /**
1044: * <!-- begin-user-doc -->
1045: * <!-- end-user-doc -->
1046: * @generated
1047: */
1048: public Object eGet(int featureID, boolean resolve, boolean coreType) {
1049: switch (featureID) {
1050: case WfsPackage.DOCUMENT_ROOT__MIXED:
1051: if (coreType)
1052: return getMixed();
1053: return ((FeatureMap.Internal) getMixed()).getWrapper();
1054: case WfsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
1055: if (coreType)
1056: return getXMLNSPrefixMap();
1057: else
1058: return getXMLNSPrefixMap().map();
1059: case WfsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
1060: if (coreType)
1061: return getXSISchemaLocation();
1062: else
1063: return getXSISchemaLocation().map();
1064: case WfsPackage.DOCUMENT_ROOT__DELETE:
1065: return getDelete();
1066: case WfsPackage.DOCUMENT_ROOT__DESCRIBE_FEATURE_TYPE:
1067: return getDescribeFeatureType();
1068: case WfsPackage.DOCUMENT_ROOT__FEATURE_COLLECTION:
1069: return getFeatureCollection();
1070: case WfsPackage.DOCUMENT_ROOT__FEATURE_TYPE_LIST:
1071: return getFeatureTypeList();
1072: case WfsPackage.DOCUMENT_ROOT__GET_CAPABILITIES:
1073: return getGetCapabilities();
1074: case WfsPackage.DOCUMENT_ROOT__GET_FEATURE:
1075: return getGetFeature();
1076: case WfsPackage.DOCUMENT_ROOT__GET_FEATURE_WITH_LOCK:
1077: return getGetFeatureWithLock();
1078: case WfsPackage.DOCUMENT_ROOT__GET_GML_OBJECT:
1079: return getGetGmlObject();
1080: case WfsPackage.DOCUMENT_ROOT__INSERT:
1081: return getInsert();
1082: case WfsPackage.DOCUMENT_ROOT__LOCK_FEATURE:
1083: return getLockFeature();
1084: case WfsPackage.DOCUMENT_ROOT__LOCK_FEATURE_RESPONSE:
1085: return getLockFeatureResponse();
1086: case WfsPackage.DOCUMENT_ROOT__LOCK_ID:
1087: return getLockId();
1088: case WfsPackage.DOCUMENT_ROOT__NATIVE:
1089: return getNative();
1090: case WfsPackage.DOCUMENT_ROOT__PROPERTY:
1091: return getProperty();
1092: case WfsPackage.DOCUMENT_ROOT__PROPERTY_NAME:
1093: return getPropertyName();
1094: case WfsPackage.DOCUMENT_ROOT__QUERY:
1095: return getQuery();
1096: case WfsPackage.DOCUMENT_ROOT__SERVES_GML_OBJECT_TYPE_LIST:
1097: return getServesGMLObjectTypeList();
1098: case WfsPackage.DOCUMENT_ROOT__SUPPORTS_GML_OBJECT_TYPE_LIST:
1099: return getSupportsGMLObjectTypeList();
1100: case WfsPackage.DOCUMENT_ROOT__TRANSACTION:
1101: return getTransaction();
1102: case WfsPackage.DOCUMENT_ROOT__TRANSACTION_RESPONSE:
1103: return getTransactionResponse();
1104: case WfsPackage.DOCUMENT_ROOT__UPDATE:
1105: return getUpdate();
1106: case WfsPackage.DOCUMENT_ROOT__WFS_CAPABILITIES:
1107: return getWfsCapabilities();
1108: case WfsPackage.DOCUMENT_ROOT__XLINK_PROPERTY_NAME:
1109: return getXlinkPropertyName();
1110: }
1111: return super .eGet(featureID, resolve, coreType);
1112: }
1113:
1114: /**
1115: * <!-- begin-user-doc -->
1116: * <!-- end-user-doc -->
1117: * @generated
1118: */
1119: public void eSet(int featureID, Object newValue) {
1120: switch (featureID) {
1121: case WfsPackage.DOCUMENT_ROOT__MIXED:
1122: ((FeatureMap.Internal) getMixed()).set(newValue);
1123: return;
1124: case WfsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
1125: ((EStructuralFeature.Setting) getXMLNSPrefixMap())
1126: .set(newValue);
1127: return;
1128: case WfsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
1129: ((EStructuralFeature.Setting) getXSISchemaLocation())
1130: .set(newValue);
1131: return;
1132: case WfsPackage.DOCUMENT_ROOT__DELETE:
1133: setDelete((DeleteElementType) newValue);
1134: return;
1135: case WfsPackage.DOCUMENT_ROOT__DESCRIBE_FEATURE_TYPE:
1136: setDescribeFeatureType((DescribeFeatureTypeType) newValue);
1137: return;
1138: case WfsPackage.DOCUMENT_ROOT__FEATURE_COLLECTION:
1139: setFeatureCollection((FeatureCollectionType) newValue);
1140: return;
1141: case WfsPackage.DOCUMENT_ROOT__FEATURE_TYPE_LIST:
1142: setFeatureTypeList((FeatureTypeListType) newValue);
1143: return;
1144: case WfsPackage.DOCUMENT_ROOT__GET_CAPABILITIES:
1145: setGetCapabilities((GetCapabilitiesType) newValue);
1146: return;
1147: case WfsPackage.DOCUMENT_ROOT__GET_FEATURE:
1148: setGetFeature((GetFeatureType) newValue);
1149: return;
1150: case WfsPackage.DOCUMENT_ROOT__GET_FEATURE_WITH_LOCK:
1151: setGetFeatureWithLock((GetFeatureWithLockType) newValue);
1152: return;
1153: case WfsPackage.DOCUMENT_ROOT__GET_GML_OBJECT:
1154: setGetGmlObject((GetGmlObjectType) newValue);
1155: return;
1156: case WfsPackage.DOCUMENT_ROOT__INSERT:
1157: setInsert((InsertElementType) newValue);
1158: return;
1159: case WfsPackage.DOCUMENT_ROOT__LOCK_FEATURE:
1160: setLockFeature((LockFeatureType) newValue);
1161: return;
1162: case WfsPackage.DOCUMENT_ROOT__LOCK_FEATURE_RESPONSE:
1163: setLockFeatureResponse((LockFeatureResponseType) newValue);
1164: return;
1165: case WfsPackage.DOCUMENT_ROOT__LOCK_ID:
1166: setLockId((String) newValue);
1167: return;
1168: case WfsPackage.DOCUMENT_ROOT__NATIVE:
1169: setNative((NativeType) newValue);
1170: return;
1171: case WfsPackage.DOCUMENT_ROOT__PROPERTY:
1172: setProperty((PropertyType) newValue);
1173: return;
1174: case WfsPackage.DOCUMENT_ROOT__PROPERTY_NAME:
1175: setPropertyName((String) newValue);
1176: return;
1177: case WfsPackage.DOCUMENT_ROOT__QUERY:
1178: setQuery((QueryType) newValue);
1179: return;
1180: case WfsPackage.DOCUMENT_ROOT__SERVES_GML_OBJECT_TYPE_LIST:
1181: setServesGMLObjectTypeList((GMLObjectTypeListType) newValue);
1182: return;
1183: case WfsPackage.DOCUMENT_ROOT__SUPPORTS_GML_OBJECT_TYPE_LIST:
1184: setSupportsGMLObjectTypeList((GMLObjectTypeListType) newValue);
1185: return;
1186: case WfsPackage.DOCUMENT_ROOT__TRANSACTION:
1187: setTransaction((TransactionType) newValue);
1188: return;
1189: case WfsPackage.DOCUMENT_ROOT__TRANSACTION_RESPONSE:
1190: setTransactionResponse((TransactionResponseType) newValue);
1191: return;
1192: case WfsPackage.DOCUMENT_ROOT__UPDATE:
1193: setUpdate((UpdateElementType) newValue);
1194: return;
1195: case WfsPackage.DOCUMENT_ROOT__WFS_CAPABILITIES:
1196: setWfsCapabilities((WFSCapabilitiesType) newValue);
1197: return;
1198: case WfsPackage.DOCUMENT_ROOT__XLINK_PROPERTY_NAME:
1199: setXlinkPropertyName((XlinkPropertyNameType) newValue);
1200: return;
1201: }
1202: super .eSet(featureID, newValue);
1203: }
1204:
1205: /**
1206: * <!-- begin-user-doc -->
1207: * <!-- end-user-doc -->
1208: * @generated
1209: */
1210: public void eUnset(int featureID) {
1211: switch (featureID) {
1212: case WfsPackage.DOCUMENT_ROOT__MIXED:
1213: getMixed().clear();
1214: return;
1215: case WfsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
1216: getXMLNSPrefixMap().clear();
1217: return;
1218: case WfsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
1219: getXSISchemaLocation().clear();
1220: return;
1221: case WfsPackage.DOCUMENT_ROOT__DELETE:
1222: setDelete((DeleteElementType) null);
1223: return;
1224: case WfsPackage.DOCUMENT_ROOT__DESCRIBE_FEATURE_TYPE:
1225: setDescribeFeatureType((DescribeFeatureTypeType) null);
1226: return;
1227: case WfsPackage.DOCUMENT_ROOT__FEATURE_COLLECTION:
1228: setFeatureCollection((FeatureCollectionType) null);
1229: return;
1230: case WfsPackage.DOCUMENT_ROOT__FEATURE_TYPE_LIST:
1231: setFeatureTypeList((FeatureTypeListType) null);
1232: return;
1233: case WfsPackage.DOCUMENT_ROOT__GET_CAPABILITIES:
1234: setGetCapabilities((GetCapabilitiesType) null);
1235: return;
1236: case WfsPackage.DOCUMENT_ROOT__GET_FEATURE:
1237: setGetFeature((GetFeatureType) null);
1238: return;
1239: case WfsPackage.DOCUMENT_ROOT__GET_FEATURE_WITH_LOCK:
1240: setGetFeatureWithLock((GetFeatureWithLockType) null);
1241: return;
1242: case WfsPackage.DOCUMENT_ROOT__GET_GML_OBJECT:
1243: setGetGmlObject((GetGmlObjectType) null);
1244: return;
1245: case WfsPackage.DOCUMENT_ROOT__INSERT:
1246: setInsert((InsertElementType) null);
1247: return;
1248: case WfsPackage.DOCUMENT_ROOT__LOCK_FEATURE:
1249: setLockFeature((LockFeatureType) null);
1250: return;
1251: case WfsPackage.DOCUMENT_ROOT__LOCK_FEATURE_RESPONSE:
1252: setLockFeatureResponse((LockFeatureResponseType) null);
1253: return;
1254: case WfsPackage.DOCUMENT_ROOT__LOCK_ID:
1255: setLockId(LOCK_ID_EDEFAULT);
1256: return;
1257: case WfsPackage.DOCUMENT_ROOT__NATIVE:
1258: setNative((NativeType) null);
1259: return;
1260: case WfsPackage.DOCUMENT_ROOT__PROPERTY:
1261: setProperty((PropertyType) null);
1262: return;
1263: case WfsPackage.DOCUMENT_ROOT__PROPERTY_NAME:
1264: setPropertyName(PROPERTY_NAME_EDEFAULT);
1265: return;
1266: case WfsPackage.DOCUMENT_ROOT__QUERY:
1267: setQuery((QueryType) null);
1268: return;
1269: case WfsPackage.DOCUMENT_ROOT__SERVES_GML_OBJECT_TYPE_LIST:
1270: setServesGMLObjectTypeList((GMLObjectTypeListType) null);
1271: return;
1272: case WfsPackage.DOCUMENT_ROOT__SUPPORTS_GML_OBJECT_TYPE_LIST:
1273: setSupportsGMLObjectTypeList((GMLObjectTypeListType) null);
1274: return;
1275: case WfsPackage.DOCUMENT_ROOT__TRANSACTION:
1276: setTransaction((TransactionType) null);
1277: return;
1278: case WfsPackage.DOCUMENT_ROOT__TRANSACTION_RESPONSE:
1279: setTransactionResponse((TransactionResponseType) null);
1280: return;
1281: case WfsPackage.DOCUMENT_ROOT__UPDATE:
1282: setUpdate((UpdateElementType) null);
1283: return;
1284: case WfsPackage.DOCUMENT_ROOT__WFS_CAPABILITIES:
1285: setWfsCapabilities((WFSCapabilitiesType) null);
1286: return;
1287: case WfsPackage.DOCUMENT_ROOT__XLINK_PROPERTY_NAME:
1288: setXlinkPropertyName((XlinkPropertyNameType) null);
1289: return;
1290: }
1291: super .eUnset(featureID);
1292: }
1293:
1294: /**
1295: * <!-- begin-user-doc -->
1296: * <!-- end-user-doc -->
1297: * @generated
1298: */
1299: public boolean eIsSet(int featureID) {
1300: switch (featureID) {
1301: case WfsPackage.DOCUMENT_ROOT__MIXED:
1302: return mixed != null && !mixed.isEmpty();
1303: case WfsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
1304: return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
1305: case WfsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
1306: return xSISchemaLocation != null
1307: && !xSISchemaLocation.isEmpty();
1308: case WfsPackage.DOCUMENT_ROOT__DELETE:
1309: return getDelete() != null;
1310: case WfsPackage.DOCUMENT_ROOT__DESCRIBE_FEATURE_TYPE:
1311: return getDescribeFeatureType() != null;
1312: case WfsPackage.DOCUMENT_ROOT__FEATURE_COLLECTION:
1313: return getFeatureCollection() != null;
1314: case WfsPackage.DOCUMENT_ROOT__FEATURE_TYPE_LIST:
1315: return getFeatureTypeList() != null;
1316: case WfsPackage.DOCUMENT_ROOT__GET_CAPABILITIES:
1317: return getGetCapabilities() != null;
1318: case WfsPackage.DOCUMENT_ROOT__GET_FEATURE:
1319: return getGetFeature() != null;
1320: case WfsPackage.DOCUMENT_ROOT__GET_FEATURE_WITH_LOCK:
1321: return getGetFeatureWithLock() != null;
1322: case WfsPackage.DOCUMENT_ROOT__GET_GML_OBJECT:
1323: return getGetGmlObject() != null;
1324: case WfsPackage.DOCUMENT_ROOT__INSERT:
1325: return getInsert() != null;
1326: case WfsPackage.DOCUMENT_ROOT__LOCK_FEATURE:
1327: return getLockFeature() != null;
1328: case WfsPackage.DOCUMENT_ROOT__LOCK_FEATURE_RESPONSE:
1329: return getLockFeatureResponse() != null;
1330: case WfsPackage.DOCUMENT_ROOT__LOCK_ID:
1331: return LOCK_ID_EDEFAULT == null ? getLockId() != null
1332: : !LOCK_ID_EDEFAULT.equals(getLockId());
1333: case WfsPackage.DOCUMENT_ROOT__NATIVE:
1334: return getNative() != null;
1335: case WfsPackage.DOCUMENT_ROOT__PROPERTY:
1336: return getProperty() != null;
1337: case WfsPackage.DOCUMENT_ROOT__PROPERTY_NAME:
1338: return PROPERTY_NAME_EDEFAULT == null ? getPropertyName() != null
1339: : !PROPERTY_NAME_EDEFAULT.equals(getPropertyName());
1340: case WfsPackage.DOCUMENT_ROOT__QUERY:
1341: return getQuery() != null;
1342: case WfsPackage.DOCUMENT_ROOT__SERVES_GML_OBJECT_TYPE_LIST:
1343: return getServesGMLObjectTypeList() != null;
1344: case WfsPackage.DOCUMENT_ROOT__SUPPORTS_GML_OBJECT_TYPE_LIST:
1345: return getSupportsGMLObjectTypeList() != null;
1346: case WfsPackage.DOCUMENT_ROOT__TRANSACTION:
1347: return getTransaction() != null;
1348: case WfsPackage.DOCUMENT_ROOT__TRANSACTION_RESPONSE:
1349: return getTransactionResponse() != null;
1350: case WfsPackage.DOCUMENT_ROOT__UPDATE:
1351: return getUpdate() != null;
1352: case WfsPackage.DOCUMENT_ROOT__WFS_CAPABILITIES:
1353: return getWfsCapabilities() != null;
1354: case WfsPackage.DOCUMENT_ROOT__XLINK_PROPERTY_NAME:
1355: return getXlinkPropertyName() != null;
1356: }
1357: return super .eIsSet(featureID);
1358: }
1359:
1360: /**
1361: * <!-- begin-user-doc -->
1362: * <!-- end-user-doc -->
1363: * @generated
1364: */
1365: public String toString() {
1366: if (eIsProxy())
1367: return super .toString();
1368:
1369: StringBuffer result = new StringBuffer(super .toString());
1370: result.append(" (mixed: ");
1371: result.append(mixed);
1372: result.append(')');
1373: return result.toString();
1374: }
1375:
1376: } //DocumentRootImpl
|