📄 documentrootimpl.java
字号:
/**
* <copyright>
* </copyright>
*
* $Id: DocumentRootImpl.java 7522 2007-09-12 22:00:10Z saul.farber $
*/
package net.opengis.ows.impl;
import net.opengis.ows.BoundingBoxType;
import net.opengis.ows.CodeType;
import net.opengis.ows.ContactType;
import net.opengis.ows.DCPType;
import net.opengis.ows.DocumentRoot;
import net.opengis.ows.ExceptionReportType;
import net.opengis.ows.ExceptionType;
import net.opengis.ows.GetCapabilitiesType;
import net.opengis.ows.HTTPType;
import net.opengis.ows.KeywordsType;
import net.opengis.ows.MetadataType;
import net.opengis.ows.OperationType;
import net.opengis.ows.OperationsMetadataType;
import net.opengis.ows.OwsPackage;
import net.opengis.ows.ResponsiblePartyType;
import net.opengis.ows.ServiceIdentificationType;
import net.opengis.ows.ServiceProviderType;
import net.opengis.ows.WGS84BoundingBoxType;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EMap;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
import org.eclipse.emf.ecore.util.BasicFeatureMap;
import org.eclipse.emf.ecore.util.EcoreEMap;
import org.eclipse.emf.ecore.util.FeatureMap;
import org.eclipse.emf.ecore.util.InternalEList;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Document Root</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getAbstract <em>Abstract</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getContactInfo <em>Contact Info</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getIndividualName <em>Individual Name</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getKeywords <em>Keywords</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getOrganisationName <em>Organisation Name</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getPointOfContact <em>Point Of Contact</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getPositionName <em>Position Name</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getRole <em>Role</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getTitle <em>Title</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getAbstractMetaData <em>Abstract Meta Data</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getAccessConstraints <em>Access Constraints</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getAvailableCRS <em>Available CRS</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getBoundingBox <em>Bounding Box</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getDcp <em>Dcp</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getException <em>Exception</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getExceptionReport <em>Exception Report</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getExtendedCapabilities <em>Extended Capabilities</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getFees <em>Fees</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getGetCapabilities <em>Get Capabilities</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getHttp <em>Http</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getIdentifier <em>Identifier</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getLanguage <em>Language</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getMetadata <em>Metadata</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getOperation <em>Operation</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getOperationsMetadata <em>Operations Metadata</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getOutputFormat <em>Output Format</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getServiceIdentification <em>Service Identification</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getServiceProvider <em>Service Provider</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getSupportedCRS <em>Supported CRS</em>}</li>
* <li>{@link net.opengis.ows.impl.DocumentRootImpl#getWgS84BoundingBox <em>Wg S84 Bounding Box</em>}</li>
* </ul>
* </p>
*
* @generated
*/
public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
/**
* The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getMixed()
* @generated
* @ordered
*/
protected FeatureMap mixed;
/**
* The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getXMLNSPrefixMap()
* @generated
* @ordered
*/
protected EMap xMLNSPrefixMap;
/**
* The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getXSISchemaLocation()
* @generated
* @ordered
*/
protected EMap xSISchemaLocation;
/**
* The default value of the '{@link #getAbstract() <em>Abstract</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAbstract()
* @generated
* @ordered
*/
protected static final String ABSTRACT_EDEFAULT = null;
/**
* The default value of the '{@link #getIndividualName() <em>Individual Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getIndividualName()
* @generated
* @ordered
*/
protected static final String INDIVIDUAL_NAME_EDEFAULT = null;
/**
* The default value of the '{@link #getOrganisationName() <em>Organisation Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOrganisationName()
* @generated
* @ordered
*/
protected static final String ORGANISATION_NAME_EDEFAULT = null;
/**
* The default value of the '{@link #getPositionName() <em>Position Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getPositionName()
* @generated
* @ordered
*/
protected static final String POSITION_NAME_EDEFAULT = null;
/**
* The default value of the '{@link #getTitle() <em>Title</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getTitle()
* @generated
* @ordered
*/
protected static final String TITLE_EDEFAULT = null;
/**
* The default value of the '{@link #getAccessConstraints() <em>Access Constraints</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAccessConstraints()
* @generated
* @ordered
*/
protected static final String ACCESS_CONSTRAINTS_EDEFAULT = null;
/**
* The default value of the '{@link #getAvailableCRS() <em>Available CRS</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getAvailableCRS()
* @generated
* @ordered
*/
protected static final String AVAILABLE_CRS_EDEFAULT = null;
/**
* The default value of the '{@link #getFees() <em>Fees</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getFees()
* @generated
* @ordered
*/
protected static final String FEES_EDEFAULT = null;
/**
* The default value of the '{@link #getLanguage() <em>Language</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getLanguage()
* @generated
* @ordered
*/
protected static final String LANGUAGE_EDEFAULT = null;
/**
* The default value of the '{@link #getOutputFormat() <em>Output Format</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOutputFormat()
* @generated
* @ordered
*/
protected static final String OUTPUT_FORMAT_EDEFAULT = null;
/**
* The default value of the '{@link #getSupportedCRS() <em>Supported CRS</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getSupportedCRS()
* @generated
* @ordered
*/
protected static final String SUPPORTED_CRS_EDEFAULT = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected DocumentRootImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected EClass eStaticClass() {
return OwsPackage.Literals.DOCUMENT_ROOT;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public FeatureMap getMixed() {
if (mixed == null) {
mixed = new BasicFeatureMap(this, OwsPackage.DOCUMENT_ROOT__MIXED);
}
return mixed;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EMap getXMLNSPrefixMap() {
if (xMLNSPrefixMap == null) {
xMLNSPrefixMap = new EcoreEMap(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, OwsPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
}
return xMLNSPrefixMap;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EMap getXSISchemaLocation() {
if (xSISchemaLocation == null) {
xSISchemaLocation = new EcoreEMap(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, OwsPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
}
return xSISchemaLocation;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getAbstract() {
return (String)getMixed().get(OwsPackage.Literals.DOCUMENT_ROOT__ABSTRACT, true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setAbstract(String newAbstract) {
((FeatureMap.Internal)getMixed()).set(OwsPackage.Literals.DOCUMENT_ROOT__ABSTRACT, newAbstract);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ContactType getContactInfo() {
return (ContactType)getMixed().get(OwsPackage.Literals.DOCUMENT_ROOT__CONTACT_INFO, true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetContactInfo(ContactType newContactInfo, NotificationChain msgs) {
return ((FeatureMap.Internal)getMixed()).basicAdd(OwsPackage.Literals.DOCUMENT_ROOT__CONTACT_INFO, newContactInfo, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setContactInfo(ContactType newContactInfo) {
((FeatureMap.Internal)getMixed()).set(OwsPackage.Literals.DOCUMENT_ROOT__CONTACT_INFO, newContactInfo);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getIndividualName() {
return (String)getMixed().get(OwsPackage.Literals.DOCUMENT_ROOT__INDIVIDUAL_NAME, true);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setIndividualName(String newIndividualName) {
((FeatureMap.Internal)getMixed()).set(OwsPackage.Literals.DOCUMENT_ROOT__INDIVIDUAL_NAME, newIndividualName);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public KeywordsType getKeywords() {
return (KeywordsType)getMixed().get(OwsPackage.Literals.DOCUMENT_ROOT__KEYWORDS, true);
}
/**
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -