wt.tools.metamodel
Class Key
java.lang.Object
wt.tools.metamodel.ModelElement
wt.tools.metamodel.Key
- All Implemented Interfaces:
- Cloneable
- public class Key
- 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, loadFromStoreDeferred, setBoolean, setDocumentation, setName, setProperty, setSource, setStereotype, setStore, setSupportedAPI, setUid, store, storeForPackage, toString, transferProperty, writeToStore |
access
protected Visibility access
type
protected String type
owner
protected ClassProperty owner
Key
protected Key()
Key
protected Key(String theUid)
Key
Key(String theUid,
ClassProperty theOwner)
throws WTException
getElementCode
protected String getElementCode()
- Specified by:
getElementCode
in class ModelElement
getOwner
public ClassProperty getOwner()
getType
public String getType()
getVisibility
public Visibility getVisibility()
isArray
public boolean isArray()
isPrivateVisibility
public boolean isPrivateVisibility()
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(ClassProperty theOwner)
setType
public void setType(String newType)
setVisibility
public void setVisibility(Visibility theAccess)
typeCleanup
protected String typeCleanup(String type)
writeToStore
protected void writeToStore()
- Overrides:
writeToStore
in class ModelElement