wt.tools.metamodel
Class PackageDependency

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

public class PackageDependency
extends ModelElement


Field Summary
private  boolean isClass
           
private  PackageClass owner
           
private  boolean realization
           
private  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
(package private) PackageDependency(String theUid, PackageClass theOwner)
           
 
Method Summary
protected  String getElementCode()
           
 String getName()
           
 boolean isClass()
           
 boolean isRealization()
           
protected  void loadFromStore()
           
static Dependency make(ClassClass theSupplier)
           
static Dependency make(String newName)
           
protected  void writeToStore()
           
 
Methods inherited from class wt.tools.metamodel.ModelElement
ensureDeferredLoaded, getBoolean, getBoolean, getCustomization, getCustomization, getCustomizations, getDocumentation, 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

supplierName

private String supplierName

realization

private boolean realization

isClass

private boolean isClass

owner

private PackageClass owner
Constructor Detail

PackageDependency

PackageDependency(String theUid,
                  PackageClass theOwner)
            throws WTException
Method Detail

getElementCode

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

getName

public String getName()
Overrides:
getName in class ModelElement

isClass

public boolean isClass()

isRealization

public boolean isRealization()

loadFromStore

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

make

public static Dependency make(String newName)

make

public static Dependency make(ClassClass theSupplier)

writeToStore

protected void writeToStore()
Overrides:
writeToStore in class ModelElement