public class DomainClass extends ProcessNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_DELIMITER |
static int |
FONTSIZE |
static java.lang.String |
PROP_ABSTRACT |
static java.lang.String |
PROP_ATTRIBUTES |
static java.lang.String |
PROP_KEY |
static java.lang.String |
STEREOTPYE_ROOT_INSTANCE |
PROP_ANNOTATION, PROP_BACKGROUND, PROP_HEIGHT, PROP_LABEL, PROP_MODULEID, PROP_REF, PROP_SHADOW, PROP_STEREOTYPE, PROP_TEXT, PROP_WIDTH, PROP_XPOS, PROP_YPOS, TAG_NODE, userObject
contexts, FALSE, PROP_CLASS_TYPE, PROP_ID, TRUE
Constructor and Description |
---|
DomainClass() |
DomainClass(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String name) |
java.util.List<DomainClass> |
getAggregatedClasses() |
java.util.List<Aggregation> |
getAggregations()
Returns a list of all outgoing Aggregations, incl. those from super classes
|
java.util.List<DomainClass> |
getAssociatedClasses() |
java.util.List<Association> |
getAssociations()
Returns a list of all outgoing Associations, incl. those from super classes.
|
Attribute |
getAttributeByName(java.lang.String name) |
java.util.Map<java.lang.String,Attribute> |
getAttributesByIDs() |
java.util.Map<java.lang.String,Attribute> |
getAttributesByNames() |
java.util.List<DomainClass> |
getChildren()
Returns a list of all child classes, incl. the recent one.
|
java.util.Set<java.awt.Point> |
getDefaultConnectionPoints()
Returns the default connection points for this node.
|
java.lang.String |
getKey() |
protected java.awt.Shape |
getOutlineShape()
Returns the external shape of the given process node.
|
java.util.List<DomainClass> |
getParents()
Returns a list of all parent classes, incl. the recent one.
|
protected void |
initializeProperties() |
void |
pack()
Optimizes the size of this ProcessNode to fit all its current content.
|
protected void |
paintInternal(java.awt.Graphics g)
Paints the flow object on the given graphics.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a property.
|
void |
setSize(int w,
int h) |
addConnectionPoint, checkDefaultConnectionPoints, clone, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBoundingBox, getBounds, getConnectionPoint, getConnectionPoint, getConnectionPoint, getName, getParentClusters, getPos, getSelectionOffset, getSize, getStereotype, getText, getTopLeftPos, getUserObject, getVariants, getXmlTag, handleCloning, isCluster, isShadowEnabled, isVisible, newInstanceFromSerialization, paint, paintHighlight, paintSelection, removeAllConnectionPoints, setBackground, setPos, setPos, setShadowEnabled, setSize, setStereotype, setText, setUserObject, setVisible, toString, updateReferences
addContext, addListener, equals, getAlpha, getContexts, getId, getPropertyEditor, isHighlighted, isSelected, removeContext, removeListener, setAlpha, setHighlighted, setId, setPropertyEditor, setSelected
getProperty, getPropertyKeys, getSerialization, removeProperty
public static final java.lang.String PROP_ABSTRACT
public static final java.lang.String PROP_ATTRIBUTES
public static final java.lang.String PROP_KEY
public static final int FONTSIZE
public static final java.lang.String ELEMENT_DELIMITER
public static final java.lang.String STEREOTPYE_ROOT_INSTANCE
public DomainClass()
public DomainClass(java.lang.String name)
protected void initializeProperties()
public java.util.Map<java.lang.String,Attribute> getAttributesByIDs()
public java.util.Map<java.lang.String,Attribute> getAttributesByNames()
public Attribute getAttributeByName(java.lang.String name)
public void addAttribute(java.lang.String name)
public java.lang.String getKey()
protected java.awt.Shape getOutlineShape()
ProcessNode
getOutlineShape
in class ProcessNode
public void setProperty(java.lang.String key, java.lang.String value)
ProcessObject
setProperty
in class ProcessNode
public void setSize(int w, int h)
setSize
in class ProcessNode
public void pack()
protected void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class ProcessNode
public java.util.Set<java.awt.Point> getDefaultConnectionPoints()
ProcessNode
getDefaultConnectionPoints
in class ProcessNode
public java.util.List<Aggregation> getAggregations()
public java.util.List<DomainClass> getAggregatedClasses()
public java.util.List<Association> getAssociations()
public java.util.List<DomainClass> getAssociatedClasses()
public java.util.List<DomainClass> getParents()
model
- public java.util.List<DomainClass> getChildren()
model
-