org.netbeans.modules.bpel.model.impl.references
Class GlobalWSDLReferenceImpl<T extends ReferenceableWSDLComponent>

java.lang.Object
  extended by org.netbeans.modules.xml.xam.AbstractReference<T>
      extended by org.netbeans.modules.xml.xam.dom.AbstractNamedComponentReference<T>
          extended by org.netbeans.modules.bpel.model.impl.references.AbstractNamedComponentReference<T>
              extended by org.netbeans.modules.bpel.model.impl.references.GlobalWSDLReferenceImpl<T>
All Implemented Interfaces:
WSDLReference<T>, BpelAttributesType, MappedReference, NamedComponentReference<T>, Reference<T>

public class GlobalWSDLReferenceImpl<T extends ReferenceableWSDLComponent>
extends AbstractNamedComponentReference<T>
implements WSDLReference<T>

Author:
ads

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.netbeans.modules.bpel.model.impl.references.BpelAttributesType
BpelAttributesType.AttrType
 
Field Summary
 
Fields inherited from class org.netbeans.modules.xml.xam.dom.AbstractNamedComponentReference
localName, prefix, qname
 
Fields inherited from class org.netbeans.modules.xml.xam.AbstractReference
refString
 
Constructor Summary
GlobalWSDLReferenceImpl(java.lang.Class<T> type, AbstractDocumentComponent parent, java.lang.String refString, WSDLReferenceBuilder.WSDLResolver resolver)
           
GlobalWSDLReferenceImpl(T target, java.lang.Class<T> type, AbstractDocumentComponent parent, WSDLReferenceBuilder.WSDLResolver resolver)
           
 
Method Summary
 T get()
           
 BpelAttributesType.AttrType getAttributeType()
           
 java.lang.String getEffectiveNamespace()
          Returns the effective namespace of the referenced component.
 
Methods inherited from class org.netbeans.modules.bpel.model.impl.references.AbstractNamedComponentReference
getAttribute, getParent, getRefString, isResolved, setAttribute, setReferenced, setResolved
 
Methods inherited from class org.netbeans.modules.xml.xam.dom.AbstractNamedComponentReference
calculateQNameLocally, checkParentNotRemovedFromModel, checkParentPartOfModel, equals, getLocalName, getPrefix, getQName, getReferenced, hashCode, references, refresh
 
Methods inherited from class org.netbeans.modules.xml.xam.AbstractReference
getType, isBroken, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.netbeans.modules.xml.xam.dom.NamedComponentReference
getQName
 
Methods inherited from interface org.netbeans.modules.xml.xam.Reference
getRefString, getType, isBroken, references
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.references.Reference
isResolved
 
Methods inherited from interface org.netbeans.modules.xml.xam.Reference
getRefString, getType, isBroken, references
 

Constructor Detail

GlobalWSDLReferenceImpl

GlobalWSDLReferenceImpl(java.lang.Class<T> type,
                        AbstractDocumentComponent parent,
                        java.lang.String refString,
                        WSDLReferenceBuilder.WSDLResolver resolver)

GlobalWSDLReferenceImpl

GlobalWSDLReferenceImpl(T target,
                        java.lang.Class<T> type,
                        AbstractDocumentComponent parent,
                        WSDLReferenceBuilder.WSDLResolver resolver)
Method Detail

get

public T get()
Specified by:
get in interface Reference<T extends ReferenceableWSDLComponent>
Returns:
the referenced component. May return null if #isBroken() returns true;

getEffectiveNamespace

public java.lang.String getEffectiveNamespace()
Description copied from interface: NamedComponentReference
Returns the effective namespace of the referenced component.

Note that in case of XML schema document, the effective namespace of a component could be different when the schema is included by another schema.

Specified by:
getEffectiveNamespace in interface NamedComponentReference<T extends ReferenceableWSDLComponent>
Returns:
referenced namespace that is effective in the current document.

getAttributeType

public BpelAttributesType.AttrType getAttributeType()
Specified by:
getAttributeType in interface BpelAttributesType
Returns:
Schema attribute type.