wt.tools.metamodel
Class Dependency

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

public class Dependency
extends Relationship


Field Summary
protected  String clientCardinality
           
protected  boolean friend
           
protected  String supplierCardinality
           
 
Fields inherited from class wt.tools.metamodel.Relationship
access, owner, supplier, 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 Dependency()
           
(package private) Dependency(String theUid, ClassClass theOwner)
           
 
Method Summary
 String getClientCardinality()
           
protected  String getElementCode()
           
 String getSupplierCardinality()
           
 boolean isFriend()
           
protected  void loadFromStore()
           
static Dependency make(ClassClass theSupplier)
           
static Dependency make(String newName)
           
protected  void setDefaults()
           
protected  void writeToStore()
           
 
Methods inherited from class wt.tools.metamodel.Relationship
clone, getOwner, getSupplier, getSupplierFullName, getSupplierName, getVisibility, setOwner, toString
 
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, 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

friend

protected boolean friend

clientCardinality

protected String clientCardinality

supplierCardinality

protected String supplierCardinality
Constructor Detail

Dependency

protected Dependency()

Dependency

Dependency(String theUid,
           ClassClass theOwner)
     throws WTException
Method Detail

getClientCardinality

public String getClientCardinality()

getElementCode

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

getSupplierCardinality

public String getSupplierCardinality()

isFriend

public boolean isFriend()

loadFromStore

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

make

public static Dependency make(String newName)

make

public static Dependency make(ClassClass theSupplier)

setDefaults

protected void setDefaults()
Overrides:
setDefaults in class Relationship

writeToStore

protected void writeToStore()
Overrides:
writeToStore in class Relationship