org.netbeans.modules.bpel.model.api
Interface ServiceRef

All Superinterfaces:
BpelContainer, BpelEntity, Component<BpelEntity>, DocumentComponent<BpelEntity>
All Known Implementing Classes:
ServiceRefImpl

public interface ServiceRef
extends BpelContainer

Java class for ServiceRefType complex type.

The following schema fragment specifies the expected content contained within this class.

      <xsd:element name="service-ref" type="sref:ServiceRefType">
              <xsd:annotation>
                      <xsd:documentation>
                              This element can be used within a from-spec.
                      </xsd:documentation>
              </xsd:annotation>
      </xsd:element>
      <xsd:complexType name="ServiceRefType">
              <xsd:annotation>
                      <xsd:documentation>
                              This type definition is for service reference container.
                              This container is used as envelope to wrap around the actual endpoint reference value,
                              when a BPEL process interacts the endpoint reference of a partnerLink.
                              It provides pluggability of different versions of service referencing schemes
                              being used within a BPEL program. The design pattern here is similar to those of
                              expression language.
                      </xsd:documentation>
              </xsd:annotation>
              <xsd:sequence>
                      <xsd:any namespace="##other" processContents="lax"/>
              </xsd:sequence>
              <xsd:attribute name="reference-scheme" type="xsd:anyURI"/>
      </xsd:complexType>
 

Author:
ads

Field Summary
static java.lang.String REFERENCE_SCHEME
           
static java.lang.String SERVICE_REF_NS
           
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.BpelEntity
BUSINESS_PROCESS_1_1_NS_URI, BUSINESS_PROCESS_DRAFT_NS_URI, BUSINESS_PROCESS_NS_URI
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Method Summary
 java.lang.String getReferenceScheme()
           
 void removeReferenceScheme()
          Removes "reference-scheme" attribute.
 void setReferenceScheme(java.lang.String value)
          Setter for "reference-scheme" attribute.
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.BpelContainer
indexOf, remove
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.BpelEntity
accept, accept, copy, cut, getBpelModel, getCookie, getElementType, getNamespaceContext, getParent, getUID, removeCookie, setCookie
 
Methods inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
findAttributePosition, findChildComponent, findPosition, getAttribute, getPeer, isInDocumentModel, referencesSameNode, setAttribute
 
Methods inherited from interface org.netbeans.modules.xml.xam.Component
canPaste, copy, getChildren, getChildren, getChildren, getModel
 

Field Detail

SERVICE_REF_NS

static final java.lang.String SERVICE_REF_NS
See Also:
Constant Field Values

REFERENCE_SCHEME

static final java.lang.String REFERENCE_SCHEME
See Also:
Constant Field Values
Method Detail

getReferenceScheme

java.lang.String getReferenceScheme()
Returns:
"reference-scheme" attribute value.

setReferenceScheme

void setReferenceScheme(java.lang.String value)
                        throws VetoException
Setter for "reference-scheme" attribute.

Parameters:
value - New "reference-scheme" attribute value.
Throws:
VetoException - VetoException will be thrown if value is not acceptable here.

removeReferenceScheme

void removeReferenceScheme()
Removes "reference-scheme" attribute.