0001: /**
0002: * <copyright>
0003: * </copyright>
0004: *
0005: * $Id: DocumentRootImpl.java 7522 2007-09-12 22:00:10Z saul.farber $
0006: */package net.opengis.ows.impl;
0007:
0008: import net.opengis.ows.BoundingBoxType;
0009: import net.opengis.ows.CodeType;
0010: import net.opengis.ows.ContactType;
0011: import net.opengis.ows.DCPType;
0012: import net.opengis.ows.DocumentRoot;
0013: import net.opengis.ows.ExceptionReportType;
0014: import net.opengis.ows.ExceptionType;
0015: import net.opengis.ows.GetCapabilitiesType;
0016: import net.opengis.ows.HTTPType;
0017: import net.opengis.ows.KeywordsType;
0018: import net.opengis.ows.MetadataType;
0019: import net.opengis.ows.OperationType;
0020: import net.opengis.ows.OperationsMetadataType;
0021: import net.opengis.ows.OwsPackage;
0022: import net.opengis.ows.ResponsiblePartyType;
0023: import net.opengis.ows.ServiceIdentificationType;
0024: import net.opengis.ows.ServiceProviderType;
0025: import net.opengis.ows.WGS84BoundingBoxType;
0026:
0027: import org.eclipse.emf.common.notify.NotificationChain;
0028:
0029: import org.eclipse.emf.common.util.EMap;
0030:
0031: import org.eclipse.emf.ecore.EClass;
0032: import org.eclipse.emf.ecore.EObject;
0033: import org.eclipse.emf.ecore.EStructuralFeature;
0034: import org.eclipse.emf.ecore.EcorePackage;
0035: import org.eclipse.emf.ecore.InternalEObject;
0036:
0037: import org.eclipse.emf.ecore.impl.EObjectImpl;
0038: import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
0039:
0040: import org.eclipse.emf.ecore.util.BasicFeatureMap;
0041: import org.eclipse.emf.ecore.util.EcoreEMap;
0042: import org.eclipse.emf.ecore.util.FeatureMap;
0043: import org.eclipse.emf.ecore.util.InternalEList;
0044:
0045: /**
0046: * <!-- begin-user-doc -->
0047: * An implementation of the model object '<em><b>Document Root</b></em>'.
0048: * <!-- end-user-doc -->
0049: * <p>
0050: * The following features are implemented:
0051: * <ul>
0052: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
0053: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
0054: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
0055: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getAbstract <em>Abstract</em>}</li>
0056: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getContactInfo <em>Contact Info</em>}</li>
0057: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getIndividualName <em>Individual Name</em>}</li>
0058: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getKeywords <em>Keywords</em>}</li>
0059: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getOrganisationName <em>Organisation Name</em>}</li>
0060: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getPointOfContact <em>Point Of Contact</em>}</li>
0061: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getPositionName <em>Position Name</em>}</li>
0062: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getRole <em>Role</em>}</li>
0063: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getTitle <em>Title</em>}</li>
0064: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getAbstractMetaData <em>Abstract Meta Data</em>}</li>
0065: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getAccessConstraints <em>Access Constraints</em>}</li>
0066: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getAvailableCRS <em>Available CRS</em>}</li>
0067: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getBoundingBox <em>Bounding Box</em>}</li>
0068: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getDcp <em>Dcp</em>}</li>
0069: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getException <em>Exception</em>}</li>
0070: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getExceptionReport <em>Exception Report</em>}</li>
0071: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getExtendedCapabilities <em>Extended Capabilities</em>}</li>
0072: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getFees <em>Fees</em>}</li>
0073: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getGetCapabilities <em>Get Capabilities</em>}</li>
0074: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getHttp <em>Http</em>}</li>
0075: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getIdentifier <em>Identifier</em>}</li>
0076: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getLanguage <em>Language</em>}</li>
0077: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getMetadata <em>Metadata</em>}</li>
0078: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getOperation <em>Operation</em>}</li>
0079: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getOperationsMetadata <em>Operations Metadata</em>}</li>
0080: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getOutputFormat <em>Output Format</em>}</li>
0081: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getServiceIdentification <em>Service Identification</em>}</li>
0082: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getServiceProvider <em>Service Provider</em>}</li>
0083: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getSupportedCRS <em>Supported CRS</em>}</li>
0084: * <li>{@link net.opengis.ows.impl.DocumentRootImpl#getWgS84BoundingBox <em>Wg S84 Bounding Box</em>}</li>
0085: * </ul>
0086: * </p>
0087: *
0088: * @generated
0089: */
0090: public class DocumentRootImpl extends EObjectImpl implements
0091: DocumentRoot {
0092: /**
0093: * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
0094: * <!-- begin-user-doc -->
0095: * <!-- end-user-doc -->
0096: * @see #getMixed()
0097: * @generated
0098: * @ordered
0099: */
0100: protected FeatureMap mixed;
0101:
0102: /**
0103: * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
0104: * <!-- begin-user-doc -->
0105: * <!-- end-user-doc -->
0106: * @see #getXMLNSPrefixMap()
0107: * @generated
0108: * @ordered
0109: */
0110: protected EMap xMLNSPrefixMap;
0111:
0112: /**
0113: * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
0114: * <!-- begin-user-doc -->
0115: * <!-- end-user-doc -->
0116: * @see #getXSISchemaLocation()
0117: * @generated
0118: * @ordered
0119: */
0120: protected EMap xSISchemaLocation;
0121:
0122: /**
0123: * The default value of the '{@link #getAbstract() <em>Abstract</em>}' attribute.
0124: * <!-- begin-user-doc -->
0125: * <!-- end-user-doc -->
0126: * @see #getAbstract()
0127: * @generated
0128: * @ordered
0129: */
0130: protected static final String ABSTRACT_EDEFAULT = null;
0131:
0132: /**
0133: * The default value of the '{@link #getIndividualName() <em>Individual Name</em>}' attribute.
0134: * <!-- begin-user-doc -->
0135: * <!-- end-user-doc -->
0136: * @see #getIndividualName()
0137: * @generated
0138: * @ordered
0139: */
0140: protected static final String INDIVIDUAL_NAME_EDEFAULT = null;
0141:
0142: /**
0143: * The default value of the '{@link #getOrganisationName() <em>Organisation Name</em>}' attribute.
0144: * <!-- begin-user-doc -->
0145: * <!-- end-user-doc -->
0146: * @see #getOrganisationName()
0147: * @generated
0148: * @ordered
0149: */
0150: protected static final String ORGANISATION_NAME_EDEFAULT = null;
0151:
0152: /**
0153: * The default value of the '{@link #getPositionName() <em>Position Name</em>}' attribute.
0154: * <!-- begin-user-doc -->
0155: * <!-- end-user-doc -->
0156: * @see #getPositionName()
0157: * @generated
0158: * @ordered
0159: */
0160: protected static final String POSITION_NAME_EDEFAULT = null;
0161:
0162: /**
0163: * The default value of the '{@link #getTitle() <em>Title</em>}' attribute.
0164: * <!-- begin-user-doc -->
0165: * <!-- end-user-doc -->
0166: * @see #getTitle()
0167: * @generated
0168: * @ordered
0169: */
0170: protected static final String TITLE_EDEFAULT = null;
0171:
0172: /**
0173: * The default value of the '{@link #getAccessConstraints() <em>Access Constraints</em>}' attribute.
0174: * <!-- begin-user-doc -->
0175: * <!-- end-user-doc -->
0176: * @see #getAccessConstraints()
0177: * @generated
0178: * @ordered
0179: */
0180: protected static final String ACCESS_CONSTRAINTS_EDEFAULT = null;
0181:
0182: /**
0183: * The default value of the '{@link #getAvailableCRS() <em>Available CRS</em>}' attribute.
0184: * <!-- begin-user-doc -->
0185: * <!-- end-user-doc -->
0186: * @see #getAvailableCRS()
0187: * @generated
0188: * @ordered
0189: */
0190: protected static final String AVAILABLE_CRS_EDEFAULT = null;
0191:
0192: /**
0193: * The default value of the '{@link #getFees() <em>Fees</em>}' attribute.
0194: * <!-- begin-user-doc -->
0195: * <!-- end-user-doc -->
0196: * @see #getFees()
0197: * @generated
0198: * @ordered
0199: */
0200: protected static final String FEES_EDEFAULT = null;
0201:
0202: /**
0203: * The default value of the '{@link #getLanguage() <em>Language</em>}' attribute.
0204: * <!-- begin-user-doc -->
0205: * <!-- end-user-doc -->
0206: * @see #getLanguage()
0207: * @generated
0208: * @ordered
0209: */
0210: protected static final String LANGUAGE_EDEFAULT = null;
0211:
0212: /**
0213: * The default value of the '{@link #getOutputFormat() <em>Output Format</em>}' attribute.
0214: * <!-- begin-user-doc -->
0215: * <!-- end-user-doc -->
0216: * @see #getOutputFormat()
0217: * @generated
0218: * @ordered
0219: */
0220: protected static final String OUTPUT_FORMAT_EDEFAULT = null;
0221:
0222: /**
0223: * The default value of the '{@link #getSupportedCRS() <em>Supported CRS</em>}' attribute.
0224: * <!-- begin-user-doc -->
0225: * <!-- end-user-doc -->
0226: * @see #getSupportedCRS()
0227: * @generated
0228: * @ordered
0229: */
0230: protected static final String SUPPORTED_CRS_EDEFAULT = null;
0231:
0232: /**
0233: * <!-- begin-user-doc -->
0234: * <!-- end-user-doc -->
0235: * @generated
0236: */
0237: protected DocumentRootImpl() {
0238: super ();
0239: }
0240:
0241: /**
0242: * <!-- begin-user-doc -->
0243: * <!-- end-user-doc -->
0244: * @generated
0245: */
0246: protected EClass eStaticClass() {
0247: return OwsPackage.Literals.DOCUMENT_ROOT;
0248: }
0249:
0250: /**
0251: * <!-- begin-user-doc -->
0252: * <!-- end-user-doc -->
0253: * @generated
0254: */
0255: public FeatureMap getMixed() {
0256: if (mixed == null) {
0257: mixed = new BasicFeatureMap(this ,
0258: OwsPackage.DOCUMENT_ROOT__MIXED);
0259: }
0260: return mixed;
0261: }
0262:
0263: /**
0264: * <!-- begin-user-doc -->
0265: * <!-- end-user-doc -->
0266: * @generated
0267: */
0268: public EMap getXMLNSPrefixMap() {
0269: if (xMLNSPrefixMap == null) {
0270: xMLNSPrefixMap = new EcoreEMap(
0271: EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
0272: EStringToStringMapEntryImpl.class, this ,
0273: OwsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
0274: }
0275: return xMLNSPrefixMap;
0276: }
0277:
0278: /**
0279: * <!-- begin-user-doc -->
0280: * <!-- end-user-doc -->
0281: * @generated
0282: */
0283: public EMap getXSISchemaLocation() {
0284: if (xSISchemaLocation == null) {
0285: xSISchemaLocation = new EcoreEMap(
0286: EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY,
0287: EStringToStringMapEntryImpl.class, this ,
0288: OwsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
0289: }
0290: return xSISchemaLocation;
0291: }
0292:
0293: /**
0294: * <!-- begin-user-doc -->
0295: * <!-- end-user-doc -->
0296: * @generated
0297: */
0298: public String getAbstract() {
0299: return (String) getMixed().get(
0300: OwsPackage.Literals.DOCUMENT_ROOT__ABSTRACT, true);
0301: }
0302:
0303: /**
0304: * <!-- begin-user-doc -->
0305: * <!-- end-user-doc -->
0306: * @generated
0307: */
0308: public void setAbstract(String newAbstract) {
0309: ((FeatureMap.Internal) getMixed()).set(
0310: OwsPackage.Literals.DOCUMENT_ROOT__ABSTRACT,
0311: newAbstract);
0312: }
0313:
0314: /**
0315: * <!-- begin-user-doc -->
0316: * <!-- end-user-doc -->
0317: * @generated
0318: */
0319: public ContactType getContactInfo() {
0320: return (ContactType) getMixed().get(
0321: OwsPackage.Literals.DOCUMENT_ROOT__CONTACT_INFO, true);
0322: }
0323:
0324: /**
0325: * <!-- begin-user-doc -->
0326: * <!-- end-user-doc -->
0327: * @generated
0328: */
0329: public NotificationChain basicSetContactInfo(
0330: ContactType newContactInfo, NotificationChain msgs) {
0331: return ((FeatureMap.Internal) getMixed()).basicAdd(
0332: OwsPackage.Literals.DOCUMENT_ROOT__CONTACT_INFO,
0333: newContactInfo, msgs);
0334: }
0335:
0336: /**
0337: * <!-- begin-user-doc -->
0338: * <!-- end-user-doc -->
0339: * @generated
0340: */
0341: public void setContactInfo(ContactType newContactInfo) {
0342: ((FeatureMap.Internal) getMixed()).set(
0343: OwsPackage.Literals.DOCUMENT_ROOT__CONTACT_INFO,
0344: newContactInfo);
0345: }
0346:
0347: /**
0348: * <!-- begin-user-doc -->
0349: * <!-- end-user-doc -->
0350: * @generated
0351: */
0352: public String getIndividualName() {
0353: return (String) getMixed().get(
0354: OwsPackage.Literals.DOCUMENT_ROOT__INDIVIDUAL_NAME,
0355: true);
0356: }
0357:
0358: /**
0359: * <!-- begin-user-doc -->
0360: * <!-- end-user-doc -->
0361: * @generated
0362: */
0363: public void setIndividualName(String newIndividualName) {
0364: ((FeatureMap.Internal) getMixed()).set(
0365: OwsPackage.Literals.DOCUMENT_ROOT__INDIVIDUAL_NAME,
0366: newIndividualName);
0367: }
0368:
0369: /**
0370: * <!-- begin-user-doc -->
0371: * <!-- end-user-doc -->
0372: * @generated
0373: */
0374: public KeywordsType getKeywords() {
0375: return (KeywordsType) getMixed().get(
0376: OwsPackage.Literals.DOCUMENT_ROOT__KEYWORDS, true);
0377: }
0378:
0379: /**
0380: * <!-- begin-user-doc -->
0381: * <!-- end-user-doc -->
0382: * @generated
0383: */
0384: public NotificationChain basicSetKeywords(KeywordsType newKeywords,
0385: NotificationChain msgs) {
0386: return ((FeatureMap.Internal) getMixed()).basicAdd(
0387: OwsPackage.Literals.DOCUMENT_ROOT__KEYWORDS,
0388: newKeywords, msgs);
0389: }
0390:
0391: /**
0392: * <!-- begin-user-doc -->
0393: * <!-- end-user-doc -->
0394: * @generated
0395: */
0396: public void setKeywords(KeywordsType newKeywords) {
0397: ((FeatureMap.Internal) getMixed()).set(
0398: OwsPackage.Literals.DOCUMENT_ROOT__KEYWORDS,
0399: newKeywords);
0400: }
0401:
0402: /**
0403: * <!-- begin-user-doc -->
0404: * <!-- end-user-doc -->
0405: * @generated
0406: */
0407: public String getOrganisationName() {
0408: return (String) getMixed().get(
0409: OwsPackage.Literals.DOCUMENT_ROOT__ORGANISATION_NAME,
0410: true);
0411: }
0412:
0413: /**
0414: * <!-- begin-user-doc -->
0415: * <!-- end-user-doc -->
0416: * @generated
0417: */
0418: public void setOrganisationName(String newOrganisationName) {
0419: ((FeatureMap.Internal) getMixed()).set(
0420: OwsPackage.Literals.DOCUMENT_ROOT__ORGANISATION_NAME,
0421: newOrganisationName);
0422: }
0423:
0424: /**
0425: * <!-- begin-user-doc -->
0426: * <!-- end-user-doc -->
0427: * @generated
0428: */
0429: public ResponsiblePartyType getPointOfContact() {
0430: return (ResponsiblePartyType) getMixed().get(
0431: OwsPackage.Literals.DOCUMENT_ROOT__POINT_OF_CONTACT,
0432: true);
0433: }
0434:
0435: /**
0436: * <!-- begin-user-doc -->
0437: * <!-- end-user-doc -->
0438: * @generated
0439: */
0440: public NotificationChain basicSetPointOfContact(
0441: ResponsiblePartyType newPointOfContact,
0442: NotificationChain msgs) {
0443: return ((FeatureMap.Internal) getMixed()).basicAdd(
0444: OwsPackage.Literals.DOCUMENT_ROOT__POINT_OF_CONTACT,
0445: newPointOfContact, msgs);
0446: }
0447:
0448: /**
0449: * <!-- begin-user-doc -->
0450: * <!-- end-user-doc -->
0451: * @generated
0452: */
0453: public void setPointOfContact(ResponsiblePartyType newPointOfContact) {
0454: ((FeatureMap.Internal) getMixed()).set(
0455: OwsPackage.Literals.DOCUMENT_ROOT__POINT_OF_CONTACT,
0456: newPointOfContact);
0457: }
0458:
0459: /**
0460: * <!-- begin-user-doc -->
0461: * <!-- end-user-doc -->
0462: * @generated
0463: */
0464: public String getPositionName() {
0465: return (String) getMixed().get(
0466: OwsPackage.Literals.DOCUMENT_ROOT__POSITION_NAME, true);
0467: }
0468:
0469: /**
0470: * <!-- begin-user-doc -->
0471: * <!-- end-user-doc -->
0472: * @generated
0473: */
0474: public void setPositionName(String newPositionName) {
0475: ((FeatureMap.Internal) getMixed()).set(
0476: OwsPackage.Literals.DOCUMENT_ROOT__POSITION_NAME,
0477: newPositionName);
0478: }
0479:
0480: /**
0481: * <!-- begin-user-doc -->
0482: * <!-- end-user-doc -->
0483: * @generated
0484: */
0485: public CodeType getRole() {
0486: return (CodeType) getMixed().get(
0487: OwsPackage.Literals.DOCUMENT_ROOT__ROLE, true);
0488: }
0489:
0490: /**
0491: * <!-- begin-user-doc -->
0492: * <!-- end-user-doc -->
0493: * @generated
0494: */
0495: public NotificationChain basicSetRole(CodeType newRole,
0496: NotificationChain msgs) {
0497: return ((FeatureMap.Internal) getMixed()).basicAdd(
0498: OwsPackage.Literals.DOCUMENT_ROOT__ROLE, newRole, msgs);
0499: }
0500:
0501: /**
0502: * <!-- begin-user-doc -->
0503: * <!-- end-user-doc -->
0504: * @generated
0505: */
0506: public void setRole(CodeType newRole) {
0507: ((FeatureMap.Internal) getMixed()).set(
0508: OwsPackage.Literals.DOCUMENT_ROOT__ROLE, newRole);
0509: }
0510:
0511: /**
0512: * <!-- begin-user-doc -->
0513: * <!-- end-user-doc -->
0514: * @generated
0515: */
0516: public String getTitle() {
0517: return (String) getMixed().get(
0518: OwsPackage.Literals.DOCUMENT_ROOT__TITLE, true);
0519: }
0520:
0521: /**
0522: * <!-- begin-user-doc -->
0523: * <!-- end-user-doc -->
0524: * @generated
0525: */
0526: public void setTitle(String newTitle) {
0527: ((FeatureMap.Internal) getMixed()).set(
0528: OwsPackage.Literals.DOCUMENT_ROOT__TITLE, newTitle);
0529: }
0530:
0531: /**
0532: * <!-- begin-user-doc -->
0533: * <!-- end-user-doc -->
0534: * @generated
0535: */
0536: public EObject getAbstractMetaData() {
0537: return (EObject) getMixed().get(
0538: OwsPackage.Literals.DOCUMENT_ROOT__ABSTRACT_META_DATA,
0539: true);
0540: }
0541:
0542: /**
0543: * <!-- begin-user-doc -->
0544: * <!-- end-user-doc -->
0545: * @generated
0546: */
0547: public NotificationChain basicSetAbstractMetaData(
0548: EObject newAbstractMetaData, NotificationChain msgs) {
0549: return ((FeatureMap.Internal) getMixed()).basicAdd(
0550: OwsPackage.Literals.DOCUMENT_ROOT__ABSTRACT_META_DATA,
0551: newAbstractMetaData, msgs);
0552: }
0553:
0554: /**
0555: * <!-- begin-user-doc -->
0556: * <!-- end-user-doc -->
0557: * @generated
0558: */
0559: public String getAccessConstraints() {
0560: return (String) getMixed().get(
0561: OwsPackage.Literals.DOCUMENT_ROOT__ACCESS_CONSTRAINTS,
0562: true);
0563: }
0564:
0565: /**
0566: * <!-- begin-user-doc -->
0567: * <!-- end-user-doc -->
0568: * @generated
0569: */
0570: public void setAccessConstraints(String newAccessConstraints) {
0571: ((FeatureMap.Internal) getMixed()).set(
0572: OwsPackage.Literals.DOCUMENT_ROOT__ACCESS_CONSTRAINTS,
0573: newAccessConstraints);
0574: }
0575:
0576: /**
0577: * <!-- begin-user-doc -->
0578: * <!-- end-user-doc -->
0579: * @generated
0580: */
0581: public String getAvailableCRS() {
0582: return (String) getMixed().get(
0583: OwsPackage.Literals.DOCUMENT_ROOT__AVAILABLE_CRS, true);
0584: }
0585:
0586: /**
0587: * <!-- begin-user-doc -->
0588: * <!-- end-user-doc -->
0589: * @generated
0590: */
0591: public void setAvailableCRS(String newAvailableCRS) {
0592: ((FeatureMap.Internal) getMixed()).set(
0593: OwsPackage.Literals.DOCUMENT_ROOT__AVAILABLE_CRS,
0594: newAvailableCRS);
0595: }
0596:
0597: /**
0598: * <!-- begin-user-doc -->
0599: * <!-- end-user-doc -->
0600: * @generated
0601: */
0602: public BoundingBoxType getBoundingBox() {
0603: return (BoundingBoxType) getMixed().get(
0604: OwsPackage.Literals.DOCUMENT_ROOT__BOUNDING_BOX, true);
0605: }
0606:
0607: /**
0608: * <!-- begin-user-doc -->
0609: * <!-- end-user-doc -->
0610: * @generated
0611: */
0612: public NotificationChain basicSetBoundingBox(
0613: BoundingBoxType newBoundingBox, NotificationChain msgs) {
0614: return ((FeatureMap.Internal) getMixed()).basicAdd(
0615: OwsPackage.Literals.DOCUMENT_ROOT__BOUNDING_BOX,
0616: newBoundingBox, msgs);
0617: }
0618:
0619: /**
0620: * <!-- begin-user-doc -->
0621: * <!-- end-user-doc -->
0622: * @generated
0623: */
0624: public void setBoundingBox(BoundingBoxType newBoundingBox) {
0625: ((FeatureMap.Internal) getMixed()).set(
0626: OwsPackage.Literals.DOCUMENT_ROOT__BOUNDING_BOX,
0627: newBoundingBox);
0628: }
0629:
0630: /**
0631: * <!-- begin-user-doc -->
0632: * <!-- end-user-doc -->
0633: * @generated
0634: */
0635: public DCPType getDcp() {
0636: return (DCPType) getMixed().get(
0637: OwsPackage.Literals.DOCUMENT_ROOT__DCP, true);
0638: }
0639:
0640: /**
0641: * <!-- begin-user-doc -->
0642: * <!-- end-user-doc -->
0643: * @generated
0644: */
0645: public NotificationChain basicSetDcp(DCPType newDcp,
0646: NotificationChain msgs) {
0647: return ((FeatureMap.Internal) getMixed()).basicAdd(
0648: OwsPackage.Literals.DOCUMENT_ROOT__DCP, newDcp, msgs);
0649: }
0650:
0651: /**
0652: * <!-- begin-user-doc -->
0653: * <!-- end-user-doc -->
0654: * @generated
0655: */
0656: public void setDcp(DCPType newDcp) {
0657: ((FeatureMap.Internal) getMixed()).set(
0658: OwsPackage.Literals.DOCUMENT_ROOT__DCP, newDcp);
0659: }
0660:
0661: /**
0662: * <!-- begin-user-doc -->
0663: * <!-- end-user-doc -->
0664: * @generated
0665: */
0666: public ExceptionType getException() {
0667: return (ExceptionType) getMixed().get(
0668: OwsPackage.Literals.DOCUMENT_ROOT__EXCEPTION, true);
0669: }
0670:
0671: /**
0672: * <!-- begin-user-doc -->
0673: * <!-- end-user-doc -->
0674: * @generated
0675: */
0676: public NotificationChain basicSetException(
0677: ExceptionType newException, NotificationChain msgs) {
0678: return ((FeatureMap.Internal) getMixed()).basicAdd(
0679: OwsPackage.Literals.DOCUMENT_ROOT__EXCEPTION,
0680: newException, msgs);
0681: }
0682:
0683: /**
0684: * <!-- begin-user-doc -->
0685: * <!-- end-user-doc -->
0686: * @generated
0687: */
0688: public void setException(ExceptionType newException) {
0689: ((FeatureMap.Internal) getMixed()).set(
0690: OwsPackage.Literals.DOCUMENT_ROOT__EXCEPTION,
0691: newException);
0692: }
0693:
0694: /**
0695: * <!-- begin-user-doc -->
0696: * <!-- end-user-doc -->
0697: * @generated
0698: */
0699: public ExceptionReportType getExceptionReport() {
0700: return (ExceptionReportType) getMixed().get(
0701: OwsPackage.Literals.DOCUMENT_ROOT__EXCEPTION_REPORT,
0702: true);
0703: }
0704:
0705: /**
0706: * <!-- begin-user-doc -->
0707: * <!-- end-user-doc -->
0708: * @generated
0709: */
0710: public NotificationChain basicSetExceptionReport(
0711: ExceptionReportType newExceptionReport,
0712: NotificationChain msgs) {
0713: return ((FeatureMap.Internal) getMixed()).basicAdd(
0714: OwsPackage.Literals.DOCUMENT_ROOT__EXCEPTION_REPORT,
0715: newExceptionReport, msgs);
0716: }
0717:
0718: /**
0719: * <!-- begin-user-doc -->
0720: * <!-- end-user-doc -->
0721: * @generated
0722: */
0723: public void setExceptionReport(
0724: ExceptionReportType newExceptionReport) {
0725: ((FeatureMap.Internal) getMixed()).set(
0726: OwsPackage.Literals.DOCUMENT_ROOT__EXCEPTION_REPORT,
0727: newExceptionReport);
0728: }
0729:
0730: /**
0731: * <!-- begin-user-doc -->
0732: * <!-- end-user-doc -->
0733: * @generated
0734: */
0735: public EObject getExtendedCapabilities() {
0736: return (EObject) getMixed()
0737: .get(
0738: OwsPackage.Literals.DOCUMENT_ROOT__EXTENDED_CAPABILITIES,
0739: true);
0740: }
0741:
0742: /**
0743: * <!-- begin-user-doc -->
0744: * <!-- end-user-doc -->
0745: * @generated
0746: */
0747: public NotificationChain basicSetExtendedCapabilities(
0748: EObject newExtendedCapabilities, NotificationChain msgs) {
0749: return ((FeatureMap.Internal) getMixed())
0750: .basicAdd(
0751: OwsPackage.Literals.DOCUMENT_ROOT__EXTENDED_CAPABILITIES,
0752: newExtendedCapabilities, msgs);
0753: }
0754:
0755: /**
0756: * <!-- begin-user-doc -->
0757: * <!-- end-user-doc -->
0758: * @generated
0759: */
0760: public void setExtendedCapabilities(EObject newExtendedCapabilities) {
0761: ((FeatureMap.Internal) getMixed())
0762: .set(
0763: OwsPackage.Literals.DOCUMENT_ROOT__EXTENDED_CAPABILITIES,
0764: newExtendedCapabilities);
0765: }
0766:
0767: /**
0768: * <!-- begin-user-doc -->
0769: * <!-- end-user-doc -->
0770: * @generated
0771: */
0772: public String getFees() {
0773: return (String) getMixed().get(
0774: OwsPackage.Literals.DOCUMENT_ROOT__FEES, true);
0775: }
0776:
0777: /**
0778: * <!-- begin-user-doc -->
0779: * <!-- end-user-doc -->
0780: * @generated
0781: */
0782: public void setFees(String newFees) {
0783: ((FeatureMap.Internal) getMixed()).set(
0784: OwsPackage.Literals.DOCUMENT_ROOT__FEES, newFees);
0785: }
0786:
0787: /**
0788: * <!-- begin-user-doc -->
0789: * <!-- end-user-doc -->
0790: * @generated
0791: */
0792: public GetCapabilitiesType getGetCapabilities() {
0793: return (GetCapabilitiesType) getMixed().get(
0794: OwsPackage.Literals.DOCUMENT_ROOT__GET_CAPABILITIES,
0795: true);
0796: }
0797:
0798: /**
0799: * <!-- begin-user-doc -->
0800: * <!-- end-user-doc -->
0801: * @generated
0802: */
0803: public NotificationChain basicSetGetCapabilities(
0804: GetCapabilitiesType newGetCapabilities,
0805: NotificationChain msgs) {
0806: return ((FeatureMap.Internal) getMixed()).basicAdd(
0807: OwsPackage.Literals.DOCUMENT_ROOT__GET_CAPABILITIES,
0808: newGetCapabilities, msgs);
0809: }
0810:
0811: /**
0812: * <!-- begin-user-doc -->
0813: * <!-- end-user-doc -->
0814: * @generated
0815: */
0816: public void setGetCapabilities(
0817: GetCapabilitiesType newGetCapabilities) {
0818: ((FeatureMap.Internal) getMixed()).set(
0819: OwsPackage.Literals.DOCUMENT_ROOT__GET_CAPABILITIES,
0820: newGetCapabilities);
0821: }
0822:
0823: /**
0824: * <!-- begin-user-doc -->
0825: * <!-- end-user-doc -->
0826: * @generated
0827: */
0828: public HTTPType getHttp() {
0829: return (HTTPType) getMixed().get(
0830: OwsPackage.Literals.DOCUMENT_ROOT__HTTP, true);
0831: }
0832:
0833: /**
0834: * <!-- begin-user-doc -->
0835: * <!-- end-user-doc -->
0836: * @generated
0837: */
0838: public NotificationChain basicSetHttp(HTTPType newHttp,
0839: NotificationChain msgs) {
0840: return ((FeatureMap.Internal) getMixed()).basicAdd(
0841: OwsPackage.Literals.DOCUMENT_ROOT__HTTP, newHttp, msgs);
0842: }
0843:
0844: /**
0845: * <!-- begin-user-doc -->
0846: * <!-- end-user-doc -->
0847: * @generated
0848: */
0849: public void setHttp(HTTPType newHttp) {
0850: ((FeatureMap.Internal) getMixed()).set(
0851: OwsPackage.Literals.DOCUMENT_ROOT__HTTP, newHttp);
0852: }
0853:
0854: /**
0855: * <!-- begin-user-doc -->
0856: * <!-- end-user-doc -->
0857: * @generated
0858: */
0859: public CodeType getIdentifier() {
0860: return (CodeType) getMixed().get(
0861: OwsPackage.Literals.DOCUMENT_ROOT__IDENTIFIER, true);
0862: }
0863:
0864: /**
0865: * <!-- begin-user-doc -->
0866: * <!-- end-user-doc -->
0867: * @generated
0868: */
0869: public NotificationChain basicSetIdentifier(CodeType newIdentifier,
0870: NotificationChain msgs) {
0871: return ((FeatureMap.Internal) getMixed()).basicAdd(
0872: OwsPackage.Literals.DOCUMENT_ROOT__IDENTIFIER,
0873: newIdentifier, msgs);
0874: }
0875:
0876: /**
0877: * <!-- begin-user-doc -->
0878: * <!-- end-user-doc -->
0879: * @generated
0880: */
0881: public void setIdentifier(CodeType newIdentifier) {
0882: ((FeatureMap.Internal) getMixed()).set(
0883: OwsPackage.Literals.DOCUMENT_ROOT__IDENTIFIER,
0884: newIdentifier);
0885: }
0886:
0887: /**
0888: * <!-- begin-user-doc -->
0889: * <!-- end-user-doc -->
0890: * @generated
0891: */
0892: public String getLanguage() {
0893: return (String) getMixed().get(
0894: OwsPackage.Literals.DOCUMENT_ROOT__LANGUAGE, true);
0895: }
0896:
0897: /**
0898: * <!-- begin-user-doc -->
0899: * <!-- end-user-doc -->
0900: * @generated
0901: */
0902: public void setLanguage(String newLanguage) {
0903: ((FeatureMap.Internal) getMixed()).set(
0904: OwsPackage.Literals.DOCUMENT_ROOT__LANGUAGE,
0905: newLanguage);
0906: }
0907:
0908: /**
0909: * <!-- begin-user-doc -->
0910: * <!-- end-user-doc -->
0911: * @generated
0912: */
0913: public MetadataType getMetadata() {
0914: return (MetadataType) getMixed().get(
0915: OwsPackage.Literals.DOCUMENT_ROOT__METADATA, true);
0916: }
0917:
0918: /**
0919: * <!-- begin-user-doc -->
0920: * <!-- end-user-doc -->
0921: * @generated
0922: */
0923: public NotificationChain basicSetMetadata(MetadataType newMetadata,
0924: NotificationChain msgs) {
0925: return ((FeatureMap.Internal) getMixed()).basicAdd(
0926: OwsPackage.Literals.DOCUMENT_ROOT__METADATA,
0927: newMetadata, msgs);
0928: }
0929:
0930: /**
0931: * <!-- begin-user-doc -->
0932: * <!-- end-user-doc -->
0933: * @generated
0934: */
0935: public void setMetadata(MetadataType newMetadata) {
0936: ((FeatureMap.Internal) getMixed()).set(
0937: OwsPackage.Literals.DOCUMENT_ROOT__METADATA,
0938: newMetadata);
0939: }
0940:
0941: /**
0942: * <!-- begin-user-doc -->
0943: * <!-- end-user-doc -->
0944: * @generated
0945: */
0946: public OperationType getOperation() {
0947: return (OperationType) getMixed().get(
0948: OwsPackage.Literals.DOCUMENT_ROOT__OPERATION, true);
0949: }
0950:
0951: /**
0952: * <!-- begin-user-doc -->
0953: * <!-- end-user-doc -->
0954: * @generated
0955: */
0956: public NotificationChain basicSetOperation(
0957: OperationType newOperation, NotificationChain msgs) {
0958: return ((FeatureMap.Internal) getMixed()).basicAdd(
0959: OwsPackage.Literals.DOCUMENT_ROOT__OPERATION,
0960: newOperation, msgs);
0961: }
0962:
0963: /**
0964: * <!-- begin-user-doc -->
0965: * <!-- end-user-doc -->
0966: * @generated
0967: */
0968: public void setOperation(OperationType newOperation) {
0969: ((FeatureMap.Internal) getMixed()).set(
0970: OwsPackage.Literals.DOCUMENT_ROOT__OPERATION,
0971: newOperation);
0972: }
0973:
0974: /**
0975: * <!-- begin-user-doc -->
0976: * <!-- end-user-doc -->
0977: * @generated
0978: */
0979: public OperationsMetadataType getOperationsMetadata() {
0980: return (OperationsMetadataType) getMixed().get(
0981: OwsPackage.Literals.DOCUMENT_ROOT__OPERATIONS_METADATA,
0982: true);
0983: }
0984:
0985: /**
0986: * <!-- begin-user-doc -->
0987: * <!-- end-user-doc -->
0988: * @generated
0989: */
0990: public NotificationChain basicSetOperationsMetadata(
0991: OperationsMetadataType newOperationsMetadata,
0992: NotificationChain msgs) {
0993: return ((FeatureMap.Internal) getMixed()).basicAdd(
0994: OwsPackage.Literals.DOCUMENT_ROOT__OPERATIONS_METADATA,
0995: newOperationsMetadata, msgs);
0996: }
0997:
0998: /**
0999: * <!-- begin-user-doc -->
1000: * <!-- end-user-doc -->
1001: * @generated
1002: */
1003: public void setOperationsMetadata(
1004: OperationsMetadataType newOperationsMetadata) {
1005: ((FeatureMap.Internal) getMixed()).set(
1006: OwsPackage.Literals.DOCUMENT_ROOT__OPERATIONS_METADATA,
1007: newOperationsMetadata);
1008: }
1009:
1010: /**
1011: * <!-- begin-user-doc -->
1012: * <!-- end-user-doc -->
1013: * @generated
1014: */
1015: public String getOutputFormat() {
1016: return (String) getMixed().get(
1017: OwsPackage.Literals.DOCUMENT_ROOT__OUTPUT_FORMAT, true);
1018: }
1019:
1020: /**
1021: * <!-- begin-user-doc -->
1022: * <!-- end-user-doc -->
1023: * @generated
1024: */
1025: public void setOutputFormat(String newOutputFormat) {
1026: ((FeatureMap.Internal) getMixed()).set(
1027: OwsPackage.Literals.DOCUMENT_ROOT__OUTPUT_FORMAT,
1028: newOutputFormat);
1029: }
1030:
1031: /**
1032: * <!-- begin-user-doc -->
1033: * <!-- end-user-doc -->
1034: * @generated
1035: */
1036: public ServiceIdentificationType getServiceIdentification() {
1037: return (ServiceIdentificationType) getMixed()
1038: .get(
1039: OwsPackage.Literals.DOCUMENT_ROOT__SERVICE_IDENTIFICATION,
1040: true);
1041: }
1042:
1043: /**
1044: * <!-- begin-user-doc -->
1045: * <!-- end-user-doc -->
1046: * @generated
1047: */
1048: public NotificationChain basicSetServiceIdentification(
1049: ServiceIdentificationType newServiceIdentification,
1050: NotificationChain msgs) {
1051: return ((FeatureMap.Internal) getMixed())
1052: .basicAdd(
1053: OwsPackage.Literals.DOCUMENT_ROOT__SERVICE_IDENTIFICATION,
1054: newServiceIdentification, msgs);
1055: }
1056:
1057: /**
1058: * <!-- begin-user-doc -->
1059: * <!-- end-user-doc -->
1060: * @generated
1061: */
1062: public void setServiceIdentification(
1063: ServiceIdentificationType newServiceIdentification) {
1064: ((FeatureMap.Internal) getMixed())
1065: .set(
1066: OwsPackage.Literals.DOCUMENT_ROOT__SERVICE_IDENTIFICATION,
1067: newServiceIdentification);
1068: }
1069:
1070: /**
1071: * <!-- begin-user-doc -->
1072: * <!-- end-user-doc -->
1073: * @generated
1074: */
1075: public ServiceProviderType getServiceProvider() {
1076: return (ServiceProviderType) getMixed().get(
1077: OwsPackage.Literals.DOCUMENT_ROOT__SERVICE_PROVIDER,
1078: true);
1079: }
1080:
1081: /**
1082: * <!-- begin-user-doc -->
1083: * <!-- end-user-doc -->
1084: * @generated
1085: */
1086: public NotificationChain basicSetServiceProvider(
1087: ServiceProviderType newServiceProvider,
1088: NotificationChain msgs) {
1089: return ((FeatureMap.Internal) getMixed()).basicAdd(
1090: OwsPackage.Literals.DOCUMENT_ROOT__SERVICE_PROVIDER,
1091: newServiceProvider, msgs);
1092: }
1093:
1094: /**
1095: * <!-- begin-user-doc -->
1096: * <!-- end-user-doc -->
1097: * @generated
1098: */
1099: public void setServiceProvider(
1100: ServiceProviderType newServiceProvider) {
1101: ((FeatureMap.Internal) getMixed()).set(
1102: OwsPackage.Literals.DOCUMENT_ROOT__SERVICE_PROVIDER,
1103: newServiceProvider);
1104: }
1105:
1106: /**
1107: * <!-- begin-user-doc -->
1108: * <!-- end-user-doc -->
1109: * @generated
1110: */
1111: public String getSupportedCRS() {
1112: return (String) getMixed().get(
1113: OwsPackage.Literals.DOCUMENT_ROOT__SUPPORTED_CRS, true);
1114: }
1115:
1116: /**
1117: * <!-- begin-user-doc -->
1118: * <!-- end-user-doc -->
1119: * @generated
1120: */
1121: public void setSupportedCRS(String newSupportedCRS) {
1122: ((FeatureMap.Internal) getMixed()).set(
1123: OwsPackage.Literals.DOCUMENT_ROOT__SUPPORTED_CRS,
1124: newSupportedCRS);
1125: }
1126:
1127: /**
1128: * <!-- begin-user-doc -->
1129: * <!-- end-user-doc -->
1130: * @generated
1131: */
1132: public WGS84BoundingBoxType getWgS84BoundingBox() {
1133: return (WGS84BoundingBoxType) getMixed().get(
1134: OwsPackage.Literals.DOCUMENT_ROOT__WG_S84_BOUNDING_BOX,
1135: true);
1136: }
1137:
1138: /**
1139: * <!-- begin-user-doc -->
1140: * <!-- end-user-doc -->
1141: * @generated
1142: */
1143: public NotificationChain basicSetWgS84BoundingBox(
1144: WGS84BoundingBoxType newWgS84BoundingBox,
1145: NotificationChain msgs) {
1146: return ((FeatureMap.Internal) getMixed()).basicAdd(
1147: OwsPackage.Literals.DOCUMENT_ROOT__WG_S84_BOUNDING_BOX,
1148: newWgS84BoundingBox, msgs);
1149: }
1150:
1151: /**
1152: * <!-- begin-user-doc -->
1153: * <!-- end-user-doc -->
1154: * @generated
1155: */
1156: public void setWgS84BoundingBox(
1157: WGS84BoundingBoxType newWgS84BoundingBox) {
1158: ((FeatureMap.Internal) getMixed()).set(
1159: OwsPackage.Literals.DOCUMENT_ROOT__WG_S84_BOUNDING_BOX,
1160: newWgS84BoundingBox);
1161: }
1162:
1163: /**
1164: * <!-- begin-user-doc -->
1165: * <!-- end-user-doc -->
1166: * @generated
1167: */
1168: public NotificationChain eInverseRemove(InternalEObject otherEnd,
1169: int featureID, NotificationChain msgs) {
1170: switch (featureID) {
1171: case OwsPackage.DOCUMENT_ROOT__MIXED:
1172: return ((InternalEList) getMixed()).basicRemove(otherEnd,
1173: msgs);
1174: case OwsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
1175: return ((InternalEList) getXMLNSPrefixMap()).basicRemove(
1176: otherEnd, msgs);
1177: case OwsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
1178: return ((InternalEList) getXSISchemaLocation())
1179: .basicRemove(otherEnd, msgs);
1180: case OwsPackage.DOCUMENT_ROOT__CONTACT_INFO:
1181: return basicSetContactInfo(null, msgs);
1182: case OwsPackage.DOCUMENT_ROOT__KEYWORDS:
1183: return basicSetKeywords(null, msgs);
1184: case OwsPackage.DOCUMENT_ROOT__POINT_OF_CONTACT:
1185: return basicSetPointOfContact(null, msgs);
1186: case OwsPackage.DOCUMENT_ROOT__ROLE:
1187: return basicSetRole(null, msgs);
1188: case OwsPackage.DOCUMENT_ROOT__ABSTRACT_META_DATA:
1189: return basicSetAbstractMetaData(null, msgs);
1190: case OwsPackage.DOCUMENT_ROOT__BOUNDING_BOX:
1191: return basicSetBoundingBox(null, msgs);
1192: case OwsPackage.DOCUMENT_ROOT__DCP:
1193: return basicSetDcp(null, msgs);
1194: case OwsPackage.DOCUMENT_ROOT__EXCEPTION:
1195: return basicSetException(null, msgs);
1196: case OwsPackage.DOCUMENT_ROOT__EXCEPTION_REPORT:
1197: return basicSetExceptionReport(null, msgs);
1198: case OwsPackage.DOCUMENT_ROOT__EXTENDED_CAPABILITIES:
1199: return basicSetExtendedCapabilities(null, msgs);
1200: case OwsPackage.DOCUMENT_ROOT__GET_CAPABILITIES:
1201: return basicSetGetCapabilities(null, msgs);
1202: case OwsPackage.DOCUMENT_ROOT__HTTP:
1203: return basicSetHttp(null, msgs);
1204: case OwsPackage.DOCUMENT_ROOT__IDENTIFIER:
1205: return basicSetIdentifier(null, msgs);
1206: case OwsPackage.DOCUMENT_ROOT__METADATA:
1207: return basicSetMetadata(null, msgs);
1208: case OwsPackage.DOCUMENT_ROOT__OPERATION:
1209: return basicSetOperation(null, msgs);
1210: case OwsPackage.DOCUMENT_ROOT__OPERATIONS_METADATA:
1211: return basicSetOperationsMetadata(null, msgs);
1212: case OwsPackage.DOCUMENT_ROOT__SERVICE_IDENTIFICATION:
1213: return basicSetServiceIdentification(null, msgs);
1214: case OwsPackage.DOCUMENT_ROOT__SERVICE_PROVIDER:
1215: return basicSetServiceProvider(null, msgs);
1216: case OwsPackage.DOCUMENT_ROOT__WG_S84_BOUNDING_BOX:
1217: return basicSetWgS84BoundingBox(null, msgs);
1218: }
1219: return super .eInverseRemove(otherEnd, featureID, msgs);
1220: }
1221:
1222: /**
1223: * <!-- begin-user-doc -->
1224: * <!-- end-user-doc -->
1225: * @generated
1226: */
1227: public Object eGet(int featureID, boolean resolve, boolean coreType) {
1228: switch (featureID) {
1229: case OwsPackage.DOCUMENT_ROOT__MIXED:
1230: if (coreType)
1231: return getMixed();
1232: return ((FeatureMap.Internal) getMixed()).getWrapper();
1233: case OwsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
1234: if (coreType)
1235: return getXMLNSPrefixMap();
1236: else
1237: return getXMLNSPrefixMap().map();
1238: case OwsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
1239: if (coreType)
1240: return getXSISchemaLocation();
1241: else
1242: return getXSISchemaLocation().map();
1243: case OwsPackage.DOCUMENT_ROOT__ABSTRACT:
1244: return getAbstract();
1245: case OwsPackage.DOCUMENT_ROOT__CONTACT_INFO:
1246: return getContactInfo();
1247: case OwsPackage.DOCUMENT_ROOT__INDIVIDUAL_NAME:
1248: return getIndividualName();
1249: case OwsPackage.DOCUMENT_ROOT__KEYWORDS:
1250: return getKeywords();
1251: case OwsPackage.DOCUMENT_ROOT__ORGANISATION_NAME:
1252: return getOrganisationName();
1253: case OwsPackage.DOCUMENT_ROOT__POINT_OF_CONTACT:
1254: return getPointOfContact();
1255: case OwsPackage.DOCUMENT_ROOT__POSITION_NAME:
1256: return getPositionName();
1257: case OwsPackage.DOCUMENT_ROOT__ROLE:
1258: return getRole();
1259: case OwsPackage.DOCUMENT_ROOT__TITLE:
1260: return getTitle();
1261: case OwsPackage.DOCUMENT_ROOT__ABSTRACT_META_DATA:
1262: return getAbstractMetaData();
1263: case OwsPackage.DOCUMENT_ROOT__ACCESS_CONSTRAINTS:
1264: return getAccessConstraints();
1265: case OwsPackage.DOCUMENT_ROOT__AVAILABLE_CRS:
1266: return getAvailableCRS();
1267: case OwsPackage.DOCUMENT_ROOT__BOUNDING_BOX:
1268: return getBoundingBox();
1269: case OwsPackage.DOCUMENT_ROOT__DCP:
1270: return getDcp();
1271: case OwsPackage.DOCUMENT_ROOT__EXCEPTION:
1272: return getException();
1273: case OwsPackage.DOCUMENT_ROOT__EXCEPTION_REPORT:
1274: return getExceptionReport();
1275: case OwsPackage.DOCUMENT_ROOT__EXTENDED_CAPABILITIES:
1276: return getExtendedCapabilities();
1277: case OwsPackage.DOCUMENT_ROOT__FEES:
1278: return getFees();
1279: case OwsPackage.DOCUMENT_ROOT__GET_CAPABILITIES:
1280: return getGetCapabilities();
1281: case OwsPackage.DOCUMENT_ROOT__HTTP:
1282: return getHttp();
1283: case OwsPackage.DOCUMENT_ROOT__IDENTIFIER:
1284: return getIdentifier();
1285: case OwsPackage.DOCUMENT_ROOT__LANGUAGE:
1286: return getLanguage();
1287: case OwsPackage.DOCUMENT_ROOT__METADATA:
1288: return getMetadata();
1289: case OwsPackage.DOCUMENT_ROOT__OPERATION:
1290: return getOperation();
1291: case OwsPackage.DOCUMENT_ROOT__OPERATIONS_METADATA:
1292: return getOperationsMetadata();
1293: case OwsPackage.DOCUMENT_ROOT__OUTPUT_FORMAT:
1294: return getOutputFormat();
1295: case OwsPackage.DOCUMENT_ROOT__SERVICE_IDENTIFICATION:
1296: return getServiceIdentification();
1297: case OwsPackage.DOCUMENT_ROOT__SERVICE_PROVIDER:
1298: return getServiceProvider();
1299: case OwsPackage.DOCUMENT_ROOT__SUPPORTED_CRS:
1300: return getSupportedCRS();
1301: case OwsPackage.DOCUMENT_ROOT__WG_S84_BOUNDING_BOX:
1302: return getWgS84BoundingBox();
1303: }
1304: return super .eGet(featureID, resolve, coreType);
1305: }
1306:
1307: /**
1308: * <!-- begin-user-doc -->
1309: * <!-- end-user-doc -->
1310: * @generated
1311: */
1312: public void eSet(int featureID, Object newValue) {
1313: switch (featureID) {
1314: case OwsPackage.DOCUMENT_ROOT__MIXED:
1315: ((FeatureMap.Internal) getMixed()).set(newValue);
1316: return;
1317: case OwsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
1318: ((EStructuralFeature.Setting) getXMLNSPrefixMap())
1319: .set(newValue);
1320: return;
1321: case OwsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
1322: ((EStructuralFeature.Setting) getXSISchemaLocation())
1323: .set(newValue);
1324: return;
1325: case OwsPackage.DOCUMENT_ROOT__ABSTRACT:
1326: setAbstract((String) newValue);
1327: return;
1328: case OwsPackage.DOCUMENT_ROOT__CONTACT_INFO:
1329: setContactInfo((ContactType) newValue);
1330: return;
1331: case OwsPackage.DOCUMENT_ROOT__INDIVIDUAL_NAME:
1332: setIndividualName((String) newValue);
1333: return;
1334: case OwsPackage.DOCUMENT_ROOT__KEYWORDS:
1335: setKeywords((KeywordsType) newValue);
1336: return;
1337: case OwsPackage.DOCUMENT_ROOT__ORGANISATION_NAME:
1338: setOrganisationName((String) newValue);
1339: return;
1340: case OwsPackage.DOCUMENT_ROOT__POINT_OF_CONTACT:
1341: setPointOfContact((ResponsiblePartyType) newValue);
1342: return;
1343: case OwsPackage.DOCUMENT_ROOT__POSITION_NAME:
1344: setPositionName((String) newValue);
1345: return;
1346: case OwsPackage.DOCUMENT_ROOT__ROLE:
1347: setRole((CodeType) newValue);
1348: return;
1349: case OwsPackage.DOCUMENT_ROOT__TITLE:
1350: setTitle((String) newValue);
1351: return;
1352: case OwsPackage.DOCUMENT_ROOT__ACCESS_CONSTRAINTS:
1353: setAccessConstraints((String) newValue);
1354: return;
1355: case OwsPackage.DOCUMENT_ROOT__AVAILABLE_CRS:
1356: setAvailableCRS((String) newValue);
1357: return;
1358: case OwsPackage.DOCUMENT_ROOT__BOUNDING_BOX:
1359: setBoundingBox((BoundingBoxType) newValue);
1360: return;
1361: case OwsPackage.DOCUMENT_ROOT__DCP:
1362: setDcp((DCPType) newValue);
1363: return;
1364: case OwsPackage.DOCUMENT_ROOT__EXCEPTION:
1365: setException((ExceptionType) newValue);
1366: return;
1367: case OwsPackage.DOCUMENT_ROOT__EXCEPTION_REPORT:
1368: setExceptionReport((ExceptionReportType) newValue);
1369: return;
1370: case OwsPackage.DOCUMENT_ROOT__EXTENDED_CAPABILITIES:
1371: setExtendedCapabilities((EObject) newValue);
1372: return;
1373: case OwsPackage.DOCUMENT_ROOT__FEES:
1374: setFees((String) newValue);
1375: return;
1376: case OwsPackage.DOCUMENT_ROOT__GET_CAPABILITIES:
1377: setGetCapabilities((GetCapabilitiesType) newValue);
1378: return;
1379: case OwsPackage.DOCUMENT_ROOT__HTTP:
1380: setHttp((HTTPType) newValue);
1381: return;
1382: case OwsPackage.DOCUMENT_ROOT__IDENTIFIER:
1383: setIdentifier((CodeType) newValue);
1384: return;
1385: case OwsPackage.DOCUMENT_ROOT__LANGUAGE:
1386: setLanguage((String) newValue);
1387: return;
1388: case OwsPackage.DOCUMENT_ROOT__METADATA:
1389: setMetadata((MetadataType) newValue);
1390: return;
1391: case OwsPackage.DOCUMENT_ROOT__OPERATION:
1392: setOperation((OperationType) newValue);
1393: return;
1394: case OwsPackage.DOCUMENT_ROOT__OPERATIONS_METADATA:
1395: setOperationsMetadata((OperationsMetadataType) newValue);
1396: return;
1397: case OwsPackage.DOCUMENT_ROOT__OUTPUT_FORMAT:
1398: setOutputFormat((String) newValue);
1399: return;
1400: case OwsPackage.DOCUMENT_ROOT__SERVICE_IDENTIFICATION:
1401: setServiceIdentification((ServiceIdentificationType) newValue);
1402: return;
1403: case OwsPackage.DOCUMENT_ROOT__SERVICE_PROVIDER:
1404: setServiceProvider((ServiceProviderType) newValue);
1405: return;
1406: case OwsPackage.DOCUMENT_ROOT__SUPPORTED_CRS:
1407: setSupportedCRS((String) newValue);
1408: return;
1409: case OwsPackage.DOCUMENT_ROOT__WG_S84_BOUNDING_BOX:
1410: setWgS84BoundingBox((WGS84BoundingBoxType) newValue);
1411: return;
1412: }
1413: super .eSet(featureID, newValue);
1414: }
1415:
1416: /**
1417: * <!-- begin-user-doc -->
1418: * <!-- end-user-doc -->
1419: * @generated
1420: */
1421: public void eUnset(int featureID) {
1422: switch (featureID) {
1423: case OwsPackage.DOCUMENT_ROOT__MIXED:
1424: getMixed().clear();
1425: return;
1426: case OwsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
1427: getXMLNSPrefixMap().clear();
1428: return;
1429: case OwsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
1430: getXSISchemaLocation().clear();
1431: return;
1432: case OwsPackage.DOCUMENT_ROOT__ABSTRACT:
1433: setAbstract(ABSTRACT_EDEFAULT);
1434: return;
1435: case OwsPackage.DOCUMENT_ROOT__CONTACT_INFO:
1436: setContactInfo((ContactType) null);
1437: return;
1438: case OwsPackage.DOCUMENT_ROOT__INDIVIDUAL_NAME:
1439: setIndividualName(INDIVIDUAL_NAME_EDEFAULT);
1440: return;
1441: case OwsPackage.DOCUMENT_ROOT__KEYWORDS:
1442: setKeywords((KeywordsType) null);
1443: return;
1444: case OwsPackage.DOCUMENT_ROOT__ORGANISATION_NAME:
1445: setOrganisationName(ORGANISATION_NAME_EDEFAULT);
1446: return;
1447: case OwsPackage.DOCUMENT_ROOT__POINT_OF_CONTACT:
1448: setPointOfContact((ResponsiblePartyType) null);
1449: return;
1450: case OwsPackage.DOCUMENT_ROOT__POSITION_NAME:
1451: setPositionName(POSITION_NAME_EDEFAULT);
1452: return;
1453: case OwsPackage.DOCUMENT_ROOT__ROLE:
1454: setRole((CodeType) null);
1455: return;
1456: case OwsPackage.DOCUMENT_ROOT__TITLE:
1457: setTitle(TITLE_EDEFAULT);
1458: return;
1459: case OwsPackage.DOCUMENT_ROOT__ACCESS_CONSTRAINTS:
1460: setAccessConstraints(ACCESS_CONSTRAINTS_EDEFAULT);
1461: return;
1462: case OwsPackage.DOCUMENT_ROOT__AVAILABLE_CRS:
1463: setAvailableCRS(AVAILABLE_CRS_EDEFAULT);
1464: return;
1465: case OwsPackage.DOCUMENT_ROOT__BOUNDING_BOX:
1466: setBoundingBox((BoundingBoxType) null);
1467: return;
1468: case OwsPackage.DOCUMENT_ROOT__DCP:
1469: setDcp((DCPType) null);
1470: return;
1471: case OwsPackage.DOCUMENT_ROOT__EXCEPTION:
1472: setException((ExceptionType) null);
1473: return;
1474: case OwsPackage.DOCUMENT_ROOT__EXCEPTION_REPORT:
1475: setExceptionReport((ExceptionReportType) null);
1476: return;
1477: case OwsPackage.DOCUMENT_ROOT__EXTENDED_CAPABILITIES:
1478: setExtendedCapabilities((EObject) null);
1479: return;
1480: case OwsPackage.DOCUMENT_ROOT__FEES:
1481: setFees(FEES_EDEFAULT);
1482: return;
1483: case OwsPackage.DOCUMENT_ROOT__GET_CAPABILITIES:
1484: setGetCapabilities((GetCapabilitiesType) null);
1485: return;
1486: case OwsPackage.DOCUMENT_ROOT__HTTP:
1487: setHttp((HTTPType) null);
1488: return;
1489: case OwsPackage.DOCUMENT_ROOT__IDENTIFIER:
1490: setIdentifier((CodeType) null);
1491: return;
1492: case OwsPackage.DOCUMENT_ROOT__LANGUAGE:
1493: setLanguage(LANGUAGE_EDEFAULT);
1494: return;
1495: case OwsPackage.DOCUMENT_ROOT__METADATA:
1496: setMetadata((MetadataType) null);
1497: return;
1498: case OwsPackage.DOCUMENT_ROOT__OPERATION:
1499: setOperation((OperationType) null);
1500: return;
1501: case OwsPackage.DOCUMENT_ROOT__OPERATIONS_METADATA:
1502: setOperationsMetadata((OperationsMetadataType) null);
1503: return;
1504: case OwsPackage.DOCUMENT_ROOT__OUTPUT_FORMAT:
1505: setOutputFormat(OUTPUT_FORMAT_EDEFAULT);
1506: return;
1507: case OwsPackage.DOCUMENT_ROOT__SERVICE_IDENTIFICATION:
1508: setServiceIdentification((ServiceIdentificationType) null);
1509: return;
1510: case OwsPackage.DOCUMENT_ROOT__SERVICE_PROVIDER:
1511: setServiceProvider((ServiceProviderType) null);
1512: return;
1513: case OwsPackage.DOCUMENT_ROOT__SUPPORTED_CRS:
1514: setSupportedCRS(SUPPORTED_CRS_EDEFAULT);
1515: return;
1516: case OwsPackage.DOCUMENT_ROOT__WG_S84_BOUNDING_BOX:
1517: setWgS84BoundingBox((WGS84BoundingBoxType) null);
1518: return;
1519: }
1520: super .eUnset(featureID);
1521: }
1522:
1523: /**
1524: * <!-- begin-user-doc -->
1525: * <!-- end-user-doc -->
1526: * @generated
1527: */
1528: public boolean eIsSet(int featureID) {
1529: switch (featureID) {
1530: case OwsPackage.DOCUMENT_ROOT__MIXED:
1531: return mixed != null && !mixed.isEmpty();
1532: case OwsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
1533: return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
1534: case OwsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
1535: return xSISchemaLocation != null
1536: && !xSISchemaLocation.isEmpty();
1537: case OwsPackage.DOCUMENT_ROOT__ABSTRACT:
1538: return ABSTRACT_EDEFAULT == null ? getAbstract() != null
1539: : !ABSTRACT_EDEFAULT.equals(getAbstract());
1540: case OwsPackage.DOCUMENT_ROOT__CONTACT_INFO:
1541: return getContactInfo() != null;
1542: case OwsPackage.DOCUMENT_ROOT__INDIVIDUAL_NAME:
1543: return INDIVIDUAL_NAME_EDEFAULT == null ? getIndividualName() != null
1544: : !INDIVIDUAL_NAME_EDEFAULT
1545: .equals(getIndividualName());
1546: case OwsPackage.DOCUMENT_ROOT__KEYWORDS:
1547: return getKeywords() != null;
1548: case OwsPackage.DOCUMENT_ROOT__ORGANISATION_NAME:
1549: return ORGANISATION_NAME_EDEFAULT == null ? getOrganisationName() != null
1550: : !ORGANISATION_NAME_EDEFAULT
1551: .equals(getOrganisationName());
1552: case OwsPackage.DOCUMENT_ROOT__POINT_OF_CONTACT:
1553: return getPointOfContact() != null;
1554: case OwsPackage.DOCUMENT_ROOT__POSITION_NAME:
1555: return POSITION_NAME_EDEFAULT == null ? getPositionName() != null
1556: : !POSITION_NAME_EDEFAULT.equals(getPositionName());
1557: case OwsPackage.DOCUMENT_ROOT__ROLE:
1558: return getRole() != null;
1559: case OwsPackage.DOCUMENT_ROOT__TITLE:
1560: return TITLE_EDEFAULT == null ? getTitle() != null
1561: : !TITLE_EDEFAULT.equals(getTitle());
1562: case OwsPackage.DOCUMENT_ROOT__ABSTRACT_META_DATA:
1563: return getAbstractMetaData() != null;
1564: case OwsPackage.DOCUMENT_ROOT__ACCESS_CONSTRAINTS:
1565: return ACCESS_CONSTRAINTS_EDEFAULT == null ? getAccessConstraints() != null
1566: : !ACCESS_CONSTRAINTS_EDEFAULT
1567: .equals(getAccessConstraints());
1568: case OwsPackage.DOCUMENT_ROOT__AVAILABLE_CRS:
1569: return AVAILABLE_CRS_EDEFAULT == null ? getAvailableCRS() != null
1570: : !AVAILABLE_CRS_EDEFAULT.equals(getAvailableCRS());
1571: case OwsPackage.DOCUMENT_ROOT__BOUNDING_BOX:
1572: return getBoundingBox() != null;
1573: case OwsPackage.DOCUMENT_ROOT__DCP:
1574: return getDcp() != null;
1575: case OwsPackage.DOCUMENT_ROOT__EXCEPTION:
1576: return getException() != null;
1577: case OwsPackage.DOCUMENT_ROOT__EXCEPTION_REPORT:
1578: return getExceptionReport() != null;
1579: case OwsPackage.DOCUMENT_ROOT__EXTENDED_CAPABILITIES:
1580: return getExtendedCapabilities() != null;
1581: case OwsPackage.DOCUMENT_ROOT__FEES:
1582: return FEES_EDEFAULT == null ? getFees() != null
1583: : !FEES_EDEFAULT.equals(getFees());
1584: case OwsPackage.DOCUMENT_ROOT__GET_CAPABILITIES:
1585: return getGetCapabilities() != null;
1586: case OwsPackage.DOCUMENT_ROOT__HTTP:
1587: return getHttp() != null;
1588: case OwsPackage.DOCUMENT_ROOT__IDENTIFIER:
1589: return getIdentifier() != null;
1590: case OwsPackage.DOCUMENT_ROOT__LANGUAGE:
1591: return LANGUAGE_EDEFAULT == null ? getLanguage() != null
1592: : !LANGUAGE_EDEFAULT.equals(getLanguage());
1593: case OwsPackage.DOCUMENT_ROOT__METADATA:
1594: return getMetadata() != null;
1595: case OwsPackage.DOCUMENT_ROOT__OPERATION:
1596: return getOperation() != null;
1597: case OwsPackage.DOCUMENT_ROOT__OPERATIONS_METADATA:
1598: return getOperationsMetadata() != null;
1599: case OwsPackage.DOCUMENT_ROOT__OUTPUT_FORMAT:
1600: return OUTPUT_FORMAT_EDEFAULT == null ? getOutputFormat() != null
1601: : !OUTPUT_FORMAT_EDEFAULT.equals(getOutputFormat());
1602: case OwsPackage.DOCUMENT_ROOT__SERVICE_IDENTIFICATION:
1603: return getServiceIdentification() != null;
1604: case OwsPackage.DOCUMENT_ROOT__SERVICE_PROVIDER:
1605: return getServiceProvider() != null;
1606: case OwsPackage.DOCUMENT_ROOT__SUPPORTED_CRS:
1607: return SUPPORTED_CRS_EDEFAULT == null ? getSupportedCRS() != null
1608: : !SUPPORTED_CRS_EDEFAULT.equals(getSupportedCRS());
1609: case OwsPackage.DOCUMENT_ROOT__WG_S84_BOUNDING_BOX:
1610: return getWgS84BoundingBox() != null;
1611: }
1612: return super .eIsSet(featureID);
1613: }
1614:
1615: /**
1616: * <!-- begin-user-doc -->
1617: * <!-- end-user-doc -->
1618: * @generated
1619: */
1620: public String toString() {
1621: if (eIsProxy())
1622: return super .toString();
1623:
1624: StringBuffer result = new StringBuffer(super .toString());
1625: result.append(" (mixed: ");
1626: result.append(mixed);
1627: result.append(')');
1628: return result.toString();
1629: }
1630:
1631: } //DocumentRootImpl
|