public class UmlParameter extends AbstractUmlObject
Modifier and Type | Class and Description |
---|---|
static class |
UmlParameter.Data
Data from the UML model repository specific to
UmlParameter . |
static class |
UmlParameter.Kind |
Modifier and Type | Field and Description |
---|---|
static java.util.List<java.lang.String> |
STEREOTYPES
Allowed stereotypes for UML operation parameters.
|
CLASS_SEPARATOR, NULL_OBJ_NAME, PACKAGE_SEPARATOR
Constructor and Description |
---|
UmlParameter(UmlClass type,
UmlObjectData objData,
UmlParameter.Data data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
UmlOperation |
getContainingOperation() |
java.lang.String |
getEaTypeInfo()
Returns known (string) info from EA; useful to display in case the type of this parameter in
EA model is not a valid UML class, so the model can be corrected.
|
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.
|
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).
|
java.lang.String |
getSignature()
E.g., "MyClass[] myArg".
|
UmlClass |
getType() |
boolean |
isArray() |
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, findAllForName, findWithSameUuidAndLog, getAlias, getDescription, getHtmlDescription, getId, getName, getPredefinedTagNames, getSince, getStereotype, getTaggedValues, getUnallowedTagNames, getUuid, getVisibility, isDeprecated, saveTags, toShortString, toShortString, validateTag
public static final java.util.List<java.lang.String> STEREOTYPES
public UmlParameter(UmlClass type, UmlObjectData objData, UmlParameter.Data data)
setContainingOperation(UmlOperation)
to correctly set reference.type
- objData
- data
- java.lang.NullPointerException
- if any argument is null.public UmlOperation getContainingOperation()
public java.lang.String getEaTypeInfo()
public boolean isArray()
public UmlClass getType()
public java.lang.String getSignature()
public OwningWg getOwner()
Returns owner, null if parameter has not yet been added to its operation.
getOwner
in interface UmlObject
getOwner
in class AbstractUmlObject
public Nature getNature()
Returns nature, null if parameter has not yet been added to its operation.
getNature
in interface UmlObject
getNature
in class AbstractUmlObject
public boolean isInformative()
Returns whether this is informative, false if parameter has not yet been added to its operation.
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-2016 Tatjana (Tanja) Kostic