public class UmlSkipped extends AbstractUmlObject
Design note: We could have had four subclasses, but it would have been an overkill at this point in time.
Modifier and Type | Class and Description |
---|---|
static class |
UmlSkipped.Data
Data from the UML model repository specific to
UmlSkipped . |
static class |
UmlSkipped.Kind
Kind of EA elements and connectors that may be found in the model, but are just skipped.
|
Modifier and Type | Field and Description |
---|---|
private UmlStructure |
_container |
private UmlSkipped.Data |
_data |
private boolean |
_forPackage |
private static org.apache.log4j.Logger |
_logger |
static java.lang.String |
EA_BOUNDARY |
static java.lang.String |
EA_NOTE |
static java.lang.String |
EA_NOTE_LINK |
static java.lang.String |
EA_STATE |
static java.lang.String |
EA_STATE_MACHINE |
static java.lang.String |
EA_STATE_NODE |
static java.lang.String |
EA_TEXT |
CLASS_SEPARATOR, NULL_OBJ_NAME, PACKAGE_SEPARATOR
Constructor and Description |
---|
UmlSkipped(UmlStructure container,
UmlObjectData objData,
UmlSkipped.Data data)
Intended to be called by
UmlStructure and tests only. |
Modifier and Type | Method and Description |
---|---|
(package private) static UmlSkipped |
basicConnector(UmlStructure source)
Constructs minimal instance - useful for testing.
|
(package private) static UmlSkipped |
basicElement(UmlStructure container)
Constructs minimal instance - useful for testing.
|
UmlStructure |
getContainer()
Returns the container of this skipped element, or the source side if this is a connector.
|
UmlKind |
getKind()
Returns kind of this UML object, as assigned by the application.
|
Nature |
getNature()
Returns the nature of this UML object, which determines the validation rules to apply, and
sometimes document generation formats.
|
java.lang.String |
getOtherEndName()
Returns name of the other end if this skipped element is a connector, null otherwise.
|
OwningWg |
getOwner()
Returns the IEC working group owning this UML object, as calculated by the application based
on the UML model structure.
|
java.lang.String |
getQualifiedName()
Returns the name of this UML object combined with some container-related information (e.g.,
packageName.className, or containingPackageName.packageName).
|
boolean |
isConnector()
Returns true if this skipped element is some kind of connector, otherwise it's an element.
|
boolean |
isForPackage()
Returns true if this skipped item is related to package, false if related to class.
|
boolean |
isInformative()
Returns whether this UML object is informative (and thus should be ignored when generating
official IEC documents).
|
java.lang.String |
toString() |
addTaggedValue, classifyPerScope, classifyPerScopePerTag, classifyPerTag, collectDuplicateDescriptions, collectDuplicateNames, collectForScope, collectNames, collectQNames, findWithSameUuidAndLog, getAlias, getDescription, getHtmlDescription, getId, getName, getPredefinedTagNames, getSince, getStereotype, getTaggedValues, getUnallowedTagNames, getUuid, getVisibility, isDeprecated, saveTags, toShortString, toShortString, validateTag
private static final org.apache.log4j.Logger _logger
public static final java.lang.String EA_STATE_MACHINE
public static final java.lang.String EA_NOTE
public static final java.lang.String EA_TEXT
public static final java.lang.String EA_BOUNDARY
public static final java.lang.String EA_STATE
public static final java.lang.String EA_STATE_NODE
public static final java.lang.String EA_NOTE_LINK
private final UmlStructure _container
private final boolean _forPackage
private final UmlSkipped.Data _data
UmlSkipped(UmlStructure container, UmlObjectData objData, UmlSkipped.Data data)
UmlStructure
and tests only.static UmlSkipped basicConnector(UmlStructure source)
static UmlSkipped basicElement(UmlStructure container)
public UmlStructure getContainer()
public boolean isForPackage()
public boolean isConnector()
public java.lang.String getOtherEndName()
public OwningWg getOwner()
UmlObject
getOwner
in interface UmlObject
getOwner
in class AbstractUmlObject
public Nature getNature()
UmlObject
getNature
in interface UmlObject
getNature
in class AbstractUmlObject
public boolean isInformative()
UmlObject
isInformative
in interface UmlObject
isInformative
in class AbstractUmlObject
public UmlKind getKind()
UmlObject
getKind
in interface UmlObject
getKind
in class AbstractUmlObject
public java.lang.String getQualifiedName()
UmlObject
getQualifiedName
in interface UmlObject
getQualifiedName
in class AbstractUmlObject
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2009-2015 Tatjana (Tanja) Kostic