|
Dresden OCL Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttudresden.ocl.injection.reverseeng.AbstractDescriptor
tudresden.ocl.injection.reverseeng.MapDescriptor
Descriptor for a class attribute of map type.
These descriptors are maintained by AnalysisConsumer
in its m_lcdMaps member.
Nested Class Summary |
Nested classes inherited from class tudresden.ocl.injection.reverseeng.AbstractDescriptor |
AbstractDescriptor.AbstractDescriptorEvent, AbstractDescriptor.AbstractDescriptorListener, AbstractDescriptor.TracedTypeProposal |
Field Summary |
Fields inherited from class tudresden.ocl.injection.reverseeng.AbstractDescriptor |
s_sAllTypesReasonString, s_sMinimalTypeReasonString |
Constructor Summary | |
MapDescriptor(AnalysisConsumer acOwner,
JavaClass jcParent,
String sName,
String sType,
String sComment,
int nCommentID)
Creates new MapDescriptor |
Method Summary | |
RevengTreeNode |
createTreeNode(DefaultTreeModel dtmModel)
Create tree node to render this descriptor. |
boolean |
isCollection()
True, if feature described is a collection and not a map. |
boolean |
isIncomplete()
True if the descriptor is incomplete, i.e. |
void |
setKeyType(String sKeyType)
Set the contents of the key-type tag for the described feature. |
String |
toString()
|
Methods inherited from class tudresden.ocl.injection.reverseeng.AbstractDescriptor |
addModifiedListener, adjustDocComment, fireModified, getCommentID, getContainingClass, getDisplayName, getDocComment, getElementType, getJavaDocName, getKeyType, getName, getProposedElementTypes, getProposedKeyTypes, getType, indentComment, removeModifiedListener, setAssociatedTreeNode, setElementType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MapDescriptor(AnalysisConsumer acOwner, JavaClass jcParent, String sName, String sType, String sComment, int nCommentID)
Method Detail |
public void setKeyType(String sKeyType)
AbstractDescriptor
setKeyType
in class AbstractDescriptor
sKeyType
- The new contents of the key-type tag. null
to delete the key-type tag.public String toString()
public boolean isIncomplete()
AbstractDescriptor
isIncomplete
in class AbstractDescriptor
public boolean isCollection()
AbstractDescriptor
isCollection
in class AbstractDescriptor
public RevengTreeNode createTreeNode(DefaultTreeModel dtmModel)
AbstractDescriptor
createTreeNode
in class AbstractDescriptor
dtmModel
- Tree model which the tree node should become part of.
|
Dresden OCL Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |