wt.tools.metamodel
Class Association
java.lang.Object
wt.tools.metamodel.ModelElement
wt.tools.metamodel.Association
- All Implemented Interfaces:
- Cloneable
- public class Association
- extends ModelElement
Fields inherited from class wt.tools.metamodel.ModelElement |
customizations, DEBUG, documentation, LINE_SEPARATOR, name, nextID, properties, RESOURCE, source, stereotype, store, supportedAPI, TRACE, uid |
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, setBoolean, setDefaults, setDocumentation, setName, setProperty, setSource, setStereotype, setStore, setSupportedAPI, setUid, store, storeForPackage, transferProperty, writeToStore |
allInstances
private static final Hashtable allInstances
derived
protected boolean derived
linkClass
protected ClassClass linkClass
linkClassName
protected String linkClassName
fullPackage
protected String fullPackage
thePackage
protected PackageClass thePackage
role1
protected Role role1
role2
protected Role role2
storage
protected StorageType storage
attributed
private boolean attributed
aliasesRole1
private Vector aliasesRole1
aliasesRole2
private Vector aliasesRole2
nonModeled
private static final Vector nonModeled
Association
protected Association()
Association
protected Association(String theUid)
accumulateAlias
private void accumulateAlias(Association parentAssoc)
accumulateAliases
private void accumulateAliases()
checkValidity
void checkValidity(Vector problems)
get
static Association get(String theUid,
Store newStore)
throws WTException
- Throws:
WTException
getAliasesRole1
public Enumeration getAliasesRole1()
getAliasesRole2
public Enumeration getAliasesRole2()
getCorrespondingRole
public Role getCorrespondingRole(ClassClass theClass)
getElementCode
protected String getElementCode()
- Specified by:
getElementCode
in class ModelElement
getFullPackage
public String getFullPackage()
getLinkClass
public ClassClass getLinkClass()
getLinkName
public String getLinkName()
getOtherRole
public Role getOtherRole(ClassClass theClass)
getOtherRole
public Role getOtherRole(Role theOtherRole)
getPackageClass
public PackageClass getPackageClass()
getRole1
public Role getRole1()
getRole2
public Role getRole2()
getStorageType
public StorageType getStorageType()
isAttributed
public boolean isAttributed()
isDerived
public boolean isDerived()
isFirstClass
public boolean isFirstClass()
isPersistent
public boolean isPersistent()
loadFromStore
protected void loadFromStore()
throws WTException
- Overrides:
loadFromStore
in class ModelElement
- Throws:
WTException
setFullPackage
public void setFullPackage(String theFullPackage)
setLinkClass
public void setLinkClass(ClassClass theLinkClass)
swapRoles
public void swapRoles()
toString
public String toString()
- Overrides:
toString
in class ModelElement
writeToStore
protected void writeToStore()
- Overrides:
writeToStore
in class ModelElement
loadFromStoreDeferred
protected void loadFromStoreDeferred()
- Overrides:
loadFromStoreDeferred
in class ModelElement