001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id: ContactType.java 7522 2007-09-12 22:00:10Z saul.farber $
006: */package net.opengis.ows;
007:
008: import org.eclipse.emf.ecore.EObject;
009:
010: /**
011: * <!-- begin-user-doc -->
012: * A representation of the model object '<em><b>Contact Type</b></em>'.
013: * <!-- end-user-doc -->
014: *
015: * <!-- begin-model-doc -->
016: * Information required to enable contact with the responsible person and/or organization.
017: * For OWS use in the service metadata document, the optional hoursOfService and contactInstructions elements were retained, as possibly being useful in the ServiceProvider section.
018: * <!-- end-model-doc -->
019: *
020: * <p>
021: * The following features are supported:
022: * <ul>
023: * <li>{@link net.opengis.ows.ContactType#getPhone <em>Phone</em>}</li>
024: * <li>{@link net.opengis.ows.ContactType#getAddress <em>Address</em>}</li>
025: * <li>{@link net.opengis.ows.ContactType#getOnlineResource <em>Online Resource</em>}</li>
026: * <li>{@link net.opengis.ows.ContactType#getHoursOfService <em>Hours Of Service</em>}</li>
027: * <li>{@link net.opengis.ows.ContactType#getContactInstructions <em>Contact Instructions</em>}</li>
028: * </ul>
029: * </p>
030: *
031: * @see net.opengis.ows.OwsPackage#getContactType()
032: * @model extendedMetaData="name='ContactType' kind='elementOnly'"
033: * @generated
034: */
035: public interface ContactType extends EObject {
036: /**
037: * Returns the value of the '<em><b>Phone</b></em>' containment reference.
038: * <!-- begin-user-doc -->
039: * <!-- end-user-doc -->
040: * <!-- begin-model-doc -->
041: * Telephone numbers at which the organization or individual may be contacted.
042: * <!-- end-model-doc -->
043: * @return the value of the '<em>Phone</em>' containment reference.
044: * @see #setPhone(TelephoneType)
045: * @see net.opengis.ows.OwsPackage#getContactType_Phone()
046: * @model containment="true"
047: * extendedMetaData="kind='element' name='Phone' namespace='##targetNamespace'"
048: * @generated
049: */
050: TelephoneType getPhone();
051:
052: /**
053: * Sets the value of the '{@link net.opengis.ows.ContactType#getPhone <em>Phone</em>}' containment reference.
054: * <!-- begin-user-doc -->
055: * <!-- end-user-doc -->
056: * @param value the new value of the '<em>Phone</em>' containment reference.
057: * @see #getPhone()
058: * @generated
059: */
060: void setPhone(TelephoneType value);
061:
062: /**
063: * Returns the value of the '<em><b>Address</b></em>' containment reference.
064: * <!-- begin-user-doc -->
065: * <!-- end-user-doc -->
066: * <!-- begin-model-doc -->
067: * Physical and email address at which the organization or individual may be contacted.
068: * <!-- end-model-doc -->
069: * @return the value of the '<em>Address</em>' containment reference.
070: * @see #setAddress(AddressType)
071: * @see net.opengis.ows.OwsPackage#getContactType_Address()
072: * @model containment="true"
073: * extendedMetaData="kind='element' name='Address' namespace='##targetNamespace'"
074: * @generated
075: */
076: AddressType getAddress();
077:
078: /**
079: * Sets the value of the '{@link net.opengis.ows.ContactType#getAddress <em>Address</em>}' containment reference.
080: * <!-- begin-user-doc -->
081: * <!-- end-user-doc -->
082: * @param value the new value of the '<em>Address</em>' containment reference.
083: * @see #getAddress()
084: * @generated
085: */
086: void setAddress(AddressType value);
087:
088: /**
089: * Returns the value of the '<em><b>Online Resource</b></em>' containment reference.
090: * <!-- begin-user-doc -->
091: * <!-- end-user-doc -->
092: * <!-- begin-model-doc -->
093: * On-line information that can be used to contact the individual or organization. OWS specifics: The xlink:href attribute in the xlink:simpleLink attribute group shall be used to reference this resource. Whenever practical, the xlink:href attribute with type anyURI should be a URL from which more contact information can be electronically retrieved. The xlink:title attribute with type "string" can be used to name this set of information. The other attributes in the xlink:simpleLink attribute group should not be used.
094: * <!-- end-model-doc -->
095: * @return the value of the '<em>Online Resource</em>' containment reference.
096: * @see #setOnlineResource(OnlineResourceType)
097: * @see net.opengis.ows.OwsPackage#getContactType_OnlineResource()
098: * @model containment="true"
099: * extendedMetaData="kind='element' name='OnlineResource' namespace='##targetNamespace'"
100: * @generated
101: */
102: OnlineResourceType getOnlineResource();
103:
104: /**
105: * Sets the value of the '{@link net.opengis.ows.ContactType#getOnlineResource <em>Online Resource</em>}' containment reference.
106: * <!-- begin-user-doc -->
107: * <!-- end-user-doc -->
108: * @param value the new value of the '<em>Online Resource</em>' containment reference.
109: * @see #getOnlineResource()
110: * @generated
111: */
112: void setOnlineResource(OnlineResourceType value);
113:
114: /**
115: * Returns the value of the '<em><b>Hours Of Service</b></em>' attribute.
116: * <!-- begin-user-doc -->
117: * <!-- end-user-doc -->
118: * <!-- begin-model-doc -->
119: * Time period (including time zone) when individuals can contact the organization or individual.
120: * <!-- end-model-doc -->
121: * @return the value of the '<em>Hours Of Service</em>' attribute.
122: * @see #setHoursOfService(String)
123: * @see net.opengis.ows.OwsPackage#getContactType_HoursOfService()
124: * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
125: * extendedMetaData="kind='element' name='HoursOfService' namespace='##targetNamespace'"
126: * @generated
127: */
128: String getHoursOfService();
129:
130: /**
131: * Sets the value of the '{@link net.opengis.ows.ContactType#getHoursOfService <em>Hours Of Service</em>}' attribute.
132: * <!-- begin-user-doc -->
133: * <!-- end-user-doc -->
134: * @param value the new value of the '<em>Hours Of Service</em>' attribute.
135: * @see #getHoursOfService()
136: * @generated
137: */
138: void setHoursOfService(String value);
139:
140: /**
141: * Returns the value of the '<em><b>Contact Instructions</b></em>' attribute.
142: * <!-- begin-user-doc -->
143: * <!-- end-user-doc -->
144: * <!-- begin-model-doc -->
145: * Supplemental instructions on how or when to contact the individual or organization.
146: * <!-- end-model-doc -->
147: * @return the value of the '<em>Contact Instructions</em>' attribute.
148: * @see #setContactInstructions(String)
149: * @see net.opengis.ows.OwsPackage#getContactType_ContactInstructions()
150: * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
151: * extendedMetaData="kind='element' name='ContactInstructions' namespace='##targetNamespace'"
152: * @generated
153: */
154: String getContactInstructions();
155:
156: /**
157: * Sets the value of the '{@link net.opengis.ows.ContactType#getContactInstructions <em>Contact Instructions</em>}' attribute.
158: * <!-- begin-user-doc -->
159: * <!-- end-user-doc -->
160: * @param value the new value of the '<em>Contact Instructions</em>' attribute.
161: * @see #getContactInstructions()
162: * @generated
163: */
164: void setContactInstructions(String value);
165:
166: } // ContactType
|