wt.tools.metamodel
Class Parameter

java.lang.Object
  extended bywt.tools.metamodel.ModelElement
      extended bywt.tools.metamodel.Parameter
All Implemented Interfaces:
Cloneable

public class Parameter
extends ModelElement


Field Summary
protected  String initValue
           
protected  Operation owner
           
protected  String type
           
 
Fields inherited from class wt.tools.metamodel.ModelElement
customizations, DEBUG, documentation, LINE_SEPARATOR, name, nextID, properties, RESOURCE, source, stereotype, store, supportedAPI, TRACE, uid
 
Constructor Summary
protected Parameter()
           
protected Parameter(String theUid)
           
(package private) Parameter(String theUid, Operation theOwner)
           
 
Method Summary
 String getCodeType()
           
protected  String getElementCode()
           
 String getInitValue()
           
 Operation getOwner()
           
 String getType()
           
 String getUnqualifiedType()
           
protected  void loadFromStore()
           
static Parameter make(String newName, String newType, String newInit)
           
(package private)  void setOwner(Operation theOwner)
           
 void setType(String newType)
           
protected  void writeToStore()
           
 
Methods inherited from class wt.tools.metamodel.ModelElement
ensureDeferredLoaded, getBoolean, getBoolean, getCustomization, getCustomization, getCustomizations, getDocumentation, getName, getOriginalSource, getProperty, getProperty, getProperty, getProperty, getSource, getSourceId, getStereotype, getSupportedAPI, getUid, initialize, initialize, isDeprecated, loadCustomizations, loadFromStoreDeferred, setBoolean, setDefaults, setDocumentation, setName, setProperty, setSource, setStereotype, setStore, setSupportedAPI, setUid, store, storeForPackage, toString, transferProperty, writeToStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected String type

initValue

protected String initValue

owner

protected Operation owner
Constructor Detail

Parameter

protected Parameter()

Parameter

protected Parameter(String theUid)
             throws WTException

Parameter

Parameter(String theUid,
          Operation theOwner)
    throws WTException
Method Detail

getElementCode

protected String getElementCode()
Specified by:
getElementCode in class ModelElement

getInitValue

public String getInitValue()

getOwner

public Operation getOwner()

getType

public String getType()

getUnqualifiedType

public String getUnqualifiedType()

loadFromStore

protected void loadFromStore()
                      throws WTException
Overrides:
loadFromStore in class ModelElement
Throws:
WTException

make

public static Parameter make(String newName,
                             String newType,
                             String newInit)

setType

public void setType(String newType)

writeToStore

protected void writeToStore()
Overrides:
writeToStore in class ModelElement

getCodeType

public String getCodeType()

setOwner

void setOwner(Operation theOwner)