net.opengis.wps10
Interface InputReferenceType

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
InputReferenceTypeImpl

public interface InputReferenceType
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Input Reference Type'. Reference to an input or output value that is a web accessible resource.

The following features are supported:

See Also:
Wps10Package.getInputReferenceType()

Method Summary
 org.eclipse.emf.ecore.EObject getBody()
          Returns the value of the 'Body' containment reference.
 BodyReferenceType getBodyReference()
          Returns the value of the 'Body Reference' containment reference.
 java.lang.String getEncoding()
          Returns the value of the 'Encoding' attribute.
 org.eclipse.emf.common.util.EList getHeader()
          Returns the value of the 'Header' containment reference list.
 java.lang.String getHref()
          Returns the value of the 'Href' attribute.
 MethodType getMethod()
          Returns the value of the 'Method' attribute.
 java.lang.String getMimeType()
          Returns the value of the 'Mime Type' attribute.
 java.lang.String getSchema()
          Returns the value of the 'Schema' attribute.
 boolean isSetMethod()
          Returns whether the value of the 'Method' attribute is set.
 void setBody(org.eclipse.emf.ecore.EObject value)
          Sets the value of the 'Body' containment reference.
 void setBodyReference(BodyReferenceType value)
          Sets the value of the 'Body Reference' containment reference.
 void setEncoding(java.lang.String value)
          Sets the value of the 'Encoding' attribute.
 void setHref(java.lang.String value)
          Sets the value of the 'Href' attribute.
 void setMethod(MethodType value)
          Sets the value of the 'Method' attribute.
 void setMimeType(java.lang.String value)
          Sets the value of the 'Mime Type' attribute.
 void setSchema(java.lang.String value)
          Sets the value of the 'Schema' attribute.
 void unsetMethod()
          Unsets the value of the 'Method' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getHeader

org.eclipse.emf.common.util.EList getHeader()
Returns the value of the 'Header' containment reference list. The list contents are of type HeaderType. Extra HTTP request headers needed by the service identified in ../Reference/@href. For example, an HTTP SOAP request requires a SOAPAction header. This permits the creation of a complete and valid POST request.

Returns:
the value of the 'Header' containment reference list.
See Also:
Wps10Package.getInputReferenceType_Header()

getBody

org.eclipse.emf.ecore.EObject getBody()
Returns the value of the 'Body' containment reference. The contents of this element to be used as the body of the HTTP request message to be sent to the service identified in ../Reference/@href. For example, it could be an XML encoded WFS request using HTTP POST

Returns:
the value of the 'Body' containment reference.
See Also:
setBody(EObject), Wps10Package.getInputReferenceType_Body()

setBody

void setBody(org.eclipse.emf.ecore.EObject value)
Sets the value of the 'Body' containment reference.

Parameters:
value - the new value of the 'Body' containment reference.
See Also:
getBody()

getBodyReference

BodyReferenceType getBodyReference()
Returns the value of the 'Body Reference' containment reference. Reference to a remote document to be used as the body of the an HTTP POST request message to the service identified in ../Reference/@href.

Returns:
the value of the 'Body Reference' containment reference.
See Also:
setBodyReference(BodyReferenceType), Wps10Package.getInputReferenceType_BodyReference()

setBodyReference

void setBodyReference(BodyReferenceType value)
Sets the value of the 'Body Reference' containment reference.

Parameters:
value - the new value of the 'Body Reference' containment reference.
See Also:
getBodyReference()

getEncoding

java.lang.String getEncoding()
Returns the value of the 'Encoding' attribute. The encoding of this input or requested for this output (e.g., UTF-8). This "encoding" shall be included whenever the encoding required is not the default encoding indicated in the Process full description. When included, this encoding shall be one published for this output or input in the Process full description.

Returns:
the value of the 'Encoding' attribute.
See Also:
setEncoding(String), Wps10Package.getInputReferenceType_Encoding()

setEncoding

void setEncoding(java.lang.String value)
Sets the value of the 'Encoding' attribute.

Parameters:
value - the new value of the 'Encoding' attribute.
See Also:
getEncoding()

getHref

java.lang.String getHref()
Returns the value of the 'Href' attribute. Reference to a web-accessible resource that can be used as input, or is provided by the process as output. This attribute shall contain a URL from which this input/output can be electronically retrieved.

Returns:
the value of the 'Href' attribute.
See Also:
setHref(String), Wps10Package.getInputReferenceType_Href()

setHref

void setHref(java.lang.String value)
Sets the value of the 'Href' attribute.

Parameters:
value - the new value of the 'Href' attribute.
See Also:
getHref()

getMethod

MethodType getMethod()
Returns the value of the 'Method' attribute. The default value is "GET". The literals are from the enumeration MethodType. Identifies the HTTP method. Allows a choice of GET or POST. Default is GET.

Returns:
the value of the 'Method' attribute.
See Also:
MethodType, isSetMethod(), unsetMethod(), setMethod(MethodType), Wps10Package.getInputReferenceType_Method()

setMethod

void setMethod(MethodType value)
Sets the value of the 'Method' attribute.

Parameters:
value - the new value of the 'Method' attribute.
See Also:
MethodType, isSetMethod(), unsetMethod(), getMethod()

unsetMethod

void unsetMethod()
Unsets the value of the 'Method' attribute.

See Also:
isSetMethod(), getMethod(), setMethod(MethodType)

isSetMethod

boolean isSetMethod()
Returns whether the value of the 'Method' attribute is set.

Returns:
whether the value of the 'Method' attribute is set.
See Also:
unsetMethod(), getMethod(), setMethod(MethodType)

getMimeType

java.lang.String getMimeType()
Returns the value of the 'Mime Type' attribute. The Format of this input or requested for this output (e.g., text/xml). This element shall be omitted when the Format is indicated in the http header of the output. When included, this format shall be one published for this output or input in the Process full description.

Returns:
the value of the 'Mime Type' attribute.
See Also:
setMimeType(String), Wps10Package.getInputReferenceType_MimeType()

setMimeType

void setMimeType(java.lang.String value)
Sets the value of the 'Mime Type' attribute.

Parameters:
value - the new value of the 'Mime Type' attribute.
See Also:
getMimeType()

getSchema

java.lang.String getSchema()
Returns the value of the 'Schema' attribute. Web-accessible XML Schema Document that defines the content model of this complex resource (e.g., encoded using GML 2.2 Application Schema). This reference should be included for XML encoded complex resources to facilitate validation. PS I changed the name of this attribute to be consistent with the ProcessDescription. The original was giving me validation troubles in XMLSpy.

Returns:
the value of the 'Schema' attribute.
See Also:
setSchema(String), Wps10Package.getInputReferenceType_Schema()

setSchema

void setSchema(java.lang.String value)
Sets the value of the 'Schema' attribute.

Parameters:
value - the new value of the 'Schema' attribute.
See Also:
getSchema()


Copyright © 1996-2010 Geotools. All Rights Reserved.