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 |
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.
|
Namespace |
getNamespace()
Returns the namespace of this UML object, based on tagged values in the UML model and when
missing, calculated 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.util.Set<java.lang.String> |
getPredefinedTagNames()
Returns allowed tag names, as expected to be found in the UML model.
|
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() |
addDeprecAndInf, addTaggedValue, appendRemainingCustomStereotypes, classifyPerScope, classifyPerScopePerTag, classifyPerTag, collectDuplicateDescriptions, collectDuplicateNames, collectForScope, collectNames, collectQNames, findAllForName, findWithSameUuidAndLog, getAlias, getDescription, getHtmlDescription, getId, getName, getSince, getStereotype, getTaggedValues, getUnallowedTagNames, getUuid, getVisibility, initFromTags, isDeprecated, saveTags, toShortString, toShortString, validateTag
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 Namespace getNamespace()
Returns own namespace initialised from tagged values if not empty. Otherwise, returns null if parameter has not yet been added to its operation, or operation's namespace.
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()
This default implementation returns true if objects steretypes include . If there are additional criteria for deriving informative status, ensure to invoke this default implementation first.
Returns whether this is informative, false if parameter has not yet been added to its operation.
isInformative
in interface UmlObject
isInformative
in class AbstractUmlObject
UmlObject.isInformative()
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.util.Set<java.lang.String> getPredefinedTagNames()
UmlObject
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2009-2016 Tatjana (Tanja) Kostic