wt.tools.metamodel
Class Relationship

java.lang.Object
  extended bywt.tools.metamodel.ModelElement
      extended bywt.tools.metamodel.Relationship
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
Dependency, Inherit

public abstract class Relationship
extends ModelElement
implements Cloneable


Field Summary
protected  Visibility access
           
protected  ClassClass owner
           
protected  ClassClass supplier
           
protected  String supplierName
           
 
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 Relationship()
           
  Relationship(ClassClass theSupplier)
           
protected Relationship(String theUid)
           
(package private) Relationship(String theUid, ClassClass theOwner)
           
 
Method Summary
 Object clone()
           
 ClassClass getOwner()
           
 ClassClass getSupplier()
           
 String getSupplierFullName()
           
 String getSupplierName()
           
 Visibility getVisibility()
           
protected  void loadFromStore()
           
protected  void setDefaults()
           
(package private)  void setOwner(ClassClass theOwner)
           
 String toString()
           
protected  void writeToStore()
           
 
Methods inherited from class wt.tools.metamodel.ModelElement
ensureDeferredLoaded, getBoolean, getBoolean, getCustomization, getCustomization, getCustomizations, getDocumentation, getElementCode, getName, getOriginalSource, getProperty, getProperty, getProperty, getProperty, getSource, getSourceId, getStereotype, getSupportedAPI, getUid, initialize, initialize, isDeprecated, loadCustomizations, loadFromStoreDeferred, setBoolean, setDocumentation, setName, setProperty, setSource, setStereotype, setStore, setSupportedAPI, setUid, store, storeForPackage, transferProperty, writeToStore
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

access

protected Visibility access

supplierName

protected String supplierName

supplier

protected ClassClass supplier

owner

protected ClassClass owner
Constructor Detail

Relationship

protected Relationship()

Relationship

protected Relationship(String theUid)

Relationship

Relationship(String theUid,
             ClassClass theOwner)

Relationship

public Relationship(ClassClass theSupplier)
Method Detail

clone

public Object clone()

getOwner

public ClassClass getOwner()

getSupplier

public ClassClass getSupplier()

getSupplierFullName

public String getSupplierFullName()

getSupplierName

public String getSupplierName()

getVisibility

public Visibility getVisibility()

loadFromStore

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

setDefaults

protected void setDefaults()
Overrides:
setDefaults in class ModelElement

setOwner

void setOwner(ClassClass theOwner)

toString

public String toString()
Overrides:
toString in class ModelElement

writeToStore

protected void writeToStore()
Overrides:
writeToStore in class ModelElement