org.netbeans.modules.xml.wsdl.model.impl
Class OperationReference

java.lang.Object
  extended by org.netbeans.modules.xml.xam.AbstractReference<Operation>
      extended by org.netbeans.modules.xml.wsdl.model.impl.OperationReference
All Implemented Interfaces:
Reference<Operation>

public class OperationReference
extends AbstractReference<Operation>
implements Reference<Operation>

Author:
Nam Nguyen

Field Summary
 
Fields inherited from class org.netbeans.modules.xml.xam.AbstractReference
refString
 
Constructor Summary
OperationReference(AbstractComponent parent, java.lang.String ref)
           
OperationReference(Operation referenced, AbstractComponent parent)
          Creates a new instance of OperationReference
 
Method Summary
 Operation get()
           
 java.lang.String getRefString()
           
 
Methods inherited from class org.netbeans.modules.xml.xam.AbstractReference
equals, getParent, getReferenced, getType, hashCode, isBroken, references, setReferenced, 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.Reference
getType, isBroken, references
 

Constructor Detail

OperationReference

public OperationReference(Operation referenced,
                          AbstractComponent parent)
Creates a new instance of OperationReference


OperationReference

public OperationReference(AbstractComponent parent,
                          java.lang.String ref)
Method Detail

getRefString

public java.lang.String getRefString()
Specified by:
getRefString in interface Reference<Operation>
Overrides:
getRefString in class AbstractReference<Operation>
Returns:
string to use in persiting the reference as attribute value of the containing component

get

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