de.uni_paderborn.fujaba.uml
Class UMLParam

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
      extended byde.uni_paderborn.fujaba.asg.ASGElement
          extended byde.uni_paderborn.fujaba.uml.UMLIncrement
              extended byde.uni_paderborn.fujaba.uml.UMLDiagramItem
                  extended byde.uni_paderborn.fujaba.uml.UMLDeclaration
                      extended byde.uni_paderborn.fujaba.uml.UMLParam
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, FDeclaration, FDiagramItem, FElement, FIncrement, FParam, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, UniqueIdentifier

public class UMLParam
extends UMLDeclaration
implements FParam

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.69.2.1 $
Author:
$Author: creckord $

Nested Class Summary
 
Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement
ASGElement.SortByNameComparator
 
Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
dontUseAccessMethodsInThisClass
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FParam
PARAM_TYPE_PROPERTY, REV_PARAM_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FDeclaration
CODE_DISPLAY_LEVEL, DESIGN_DISPLAY_LEVEL, PACKAGE, PRIVATE, PROTECTED, PUBLIC, USERDEFINED, VISIBILITY_CHAR, VISIBILITY_PROPERTY, VISIBILITY_STRING
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FDiagramItem
REV_ADDITIONAL_ITEMS_PROPERTY, REV_ITEMS_PROPERTY, VIEW_DEFINITIONS_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FIncrement
ASSERT_IN_UNIT_TEST_PROPERTY, COMMENT_PROPERTY, CONSTRAINTS_PROPERTY, STEREOTYPES_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
ANNOTATIONS_PROPERTY, DIAGRAMS_PROPERTY, ELEMENT_REFERENCES_PROPERTY, GENERATED_PROPERTY, NAME_PROPERTY, TEXT_PROPERTY
 
Constructor Summary
UMLParam()
          Constructor for class UMLParam
UMLParam(boolean coobraPersistent)
          Constructor for class UMLParam
UMLParam(java.lang.String name, java.lang.String paramType)
          Constructor for class UMLParam
UMLParam(java.lang.String name, UMLType paramType)
          Constructor for class UMLParam
UMLParam(java.lang.String name, UMLType paramType, UMLMethod revParam)
          Constructor for class UMLParam
 
Method Summary
protected  java.lang.String createUnparseModuleName()
          No comment provided by developer, please add a comment to improve documentation.
 FType getFParamType()
          Get the fParamType attribute of the UMLParam object
 FMethod getFRevParam()
          Get the fRevParam attribute of the UMLParam object
 java.lang.String getName()
          Get the name attribute of the UMLParam object
 UMLType getParamType()
          Get the paramType attribute of the UMLParam object
 FElement getParentElement()
          Query the logical parent of this element (e.g. package of a class, diagram of an object).
 UMLMethod getRevParam()
          Get the revParam attribute of the UMLParam object
 java.lang.String getText()
          gives back the name and type of the parameter as String.
 UMLType getUMLType()
          Get the uMLType attribute of the UMLParam object
 boolean isCallByReference()
          Get the value of callByReference.
 boolean isPointer()
          Get the value of pointer.
 void removeYou()
          Isolates the object so the garbage collector can remove it.
 void setCallByReference(boolean callByReference)
          Set the value of callByReference.
 void setName(java.lang.String name)
          Sets the name attribute of the UMLParam object
 void setParamType(FType paramType)
          Sets the paramType attribute of the UMLParam object
 void setPointer(boolean pointer)
          Set the value of pointer.
 void setRevParam(FMethod revParam)
          Sets the revParam attribute of the UMLParam object
 java.lang.String toString()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLDeclaration
getDisplayLevel, getFType, getVisibility, isParsed, setDisplayLevel, setParsed, setVisibility
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLDiagramItem
addToDiagrams, addToRevAdditionalItems, addToRevItems, addToViewDefinitions, getCurrentActiveDiagram, getFCurrentActiveDiagram, getFFirstFromDiagrams, getFirstFromDiagrams, hasInRevAdditionalItems, hasInRevItems, hasInViewDefinitions, iteratorOfRevAdditionalItems, iteratorOfRevItems, iteratorOfViewDefinitions, removeAllFromRevAdditionalItems, removeAllFromRevItems, removeAllFromViewDefinitions, removeFromRevAdditionalItems, removeFromRevItems, removeFromViewDefinitions, sizeOfRevAdditionalItems, sizeOfRevItems, sizeOfViewDefinitions
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLIncrement
addToConstraints, addToStereotypes, addToStereotypes, elementsOfAllChildren, entriesOfStereotypes, getComment, getFComment, getFromFStereotypes, getFromStereotypes, getFromStereotypes, hasInConstraints, hasInStereotypes, hasKeyInStereotypes, isAssertInUnitTest, iteratorOfConstraints, iteratorOfStereotypes, keysOfStereotypes, removeAllFromConstraints, removeAllFromStereotypes, removeFromConstraints, removeFromStereotypes, removeKeyFromStereotypes, setAssertInUnitTest, setComment, setStereotype, sizeOfConstraint, sizeOfStereotypes
 
Methods inherited from class de.uni_paderborn.fujaba.asg.ASGElement
acknowledgeChange, addAdditionalListener, addPointToUnparseInformation, addPropertyChangeListener, addPropertyChangeListener, addToAnnotations, addToElementReferences, addToElementReferences, addToFsaObjects, addToLocations, addToLocations, addToPropertyChangeListeners, addToPropertyChangeListeners, addToUnparseInformations, addToUnparseInformations, addToUserMessages, deleteTokens, elementsOfDiagrams, entriesOfElementReferences, entriesOfFsaObjects, entriesOfUnparseInformations, fireEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCoObRAId, getFirstFromFSAObjects, getFirstOOGenToken, getFromElementReferences, getFromFElementReferences, getFromFsaObjects, getFromUnparseInformations, getFSAInterface, getLastModified, getLastOOGenToken, getPointFromUnparseInformation, getPropertyChangeSupport, getRepository, getTransientElements, getUnparseModuleName, getUnparseModuleNameImpl, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasInFsaObjects, hasKeyInElementReferences, hasKeyInFsaObjects, initElementListener, initPersistency, isCoobraPersistent, isInspectableField, isInTransientMode, isPersistencyChange, isReadOnly, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfFsaObjects, iteratorOfKeyFromUnparseInformations, iteratorOfUnparseInformations, iteratorOfUserMessages, keysOfElementReferences, keysOfFsaObjects, keysOfUnparseInformations, proposeFieldValues, removeAdditionalListener, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromFsaObjects, removeAllFromUnparseInformations, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromFsaObjects, removeFromPropertyChangeListeners, removeFromPropertyChangeListeners, removeFromUnparseInformations, removeFromUnparseInformations, removeFromUnparseInformations, removeFromUserMessages, removeKeyFromElementReferences, removeKeyFromFsaObjects, removePropertyChangeListener, removePropertyChangeListener, saveFSAProperties, saveLocations, searchID, setCoObRAId, setCutCopyPasteParent, setFirstOOGenToken, setGenerated, setInTransientMode, setLastOOGenToken, setRepository, setUnparseModuleName, sizeOfAnnotations, sizeOfDiagrams, sizeOfElementReferences, sizeOfFsaObjects, sizeOfUserMessages, updateFSACollapsed, updateFSALocation, updateKeyInFsaObjects, writeAttributes
 
Methods inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
compareTo, getID, getUniqueID, getUniqueID, isGenerated, lessUniqueId, readAttributes, readAttributes, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, resetClassInfos, resetFieldWriteMethods, setAttribValue, setAttribValue, setID, setUniqueId, writeClassToStringBuffer, writeClassToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FDeclaration
getDisplayLevel, getFType, getVisibility, isParsed, setDisplayLevel, setVisibility
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FDiagramItem
addToRevAdditionalItems, addToRevItems, addToViewDefinitions, getFCurrentActiveDiagram, getFFirstFromDiagrams, hasInRevAdditionalItems, hasInRevItems, hasInViewDefinitions, iteratorOfRevAdditionalItems, iteratorOfRevItems, iteratorOfViewDefinitions, removeAllFromRevAdditionalItems, removeAllFromRevItems, removeAllFromViewDefinitions, removeFromRevAdditionalItems, removeFromRevItems, removeFromViewDefinitions, sizeOfRevAdditionalItems, sizeOfRevItems, sizeOfViewDefinitions
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FIncrement
addToConstraints, addToStereotypes, entriesOfStereotypes, getFComment, getFromFStereotypes, hasInConstraints, hasInStereotypes, hasKeyInStereotypes, isAssertInUnitTest, iteratorOfConstraints, iteratorOfStereotypes, keysOfStereotypes, removeAllFromConstraints, removeAllFromStereotypes, removeFromConstraints, removeFromStereotypes, removeKeyFromStereotypes, setAssertInUnitTest, setComment, sizeOfStereotypes
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
addToAnnotations, addToDiagrams, addToElementReferences, addToElementReferences, addToUserMessages, deleteTokens, entriesOfElementReferences, getFirstOOGenToken, getFromFElementReferences, getLastOOGenToken, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasKeyInElementReferences, isCoobraPersistent, isGenerated, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfUserMessages, keysOfElementReferences, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromUserMessages, removeKeyFromElementReferences, setCutCopyPasteParent, setFirstOOGenToken, setGenerated, setLastOOGenToken, sizeOfAnnotations, sizeOfDiagrams, sizeOfElementReferences, sizeOfUserMessages
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface de.uni_paderborn.fujaba.basic.UniqueIdentifier
getID
 
Methods inherited from interface de.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface
getFSAInterface, getUnparseModuleName
 
Methods inherited from interface de.upb.tools.pcs.PropertyChangeInterface
getPropertyChangeSupport
 
Methods inherited from interface de.upb.tools.pcs.PropertyChangeClient
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface de.tu_bs.coobra.ObjectChangeAware
acknowledgeChange, getCoObRAId, getRepository, setCoObRAId, setRepository
 
Methods inherited from interface de.uni_kassel.prop.InspectionAware
isInspectableField, proposeFieldValues
 

Constructor Detail

UMLParam

public UMLParam()
Constructor for class UMLParam


UMLParam

public UMLParam(boolean coobraPersistent)
Constructor for class UMLParam

Parameters:
coobraPersistent - No description provided

UMLParam

public UMLParam(java.lang.String name,
                java.lang.String paramType)
Constructor for class UMLParam

Parameters:
name - No description provided
paramType - No description provided

UMLParam

public UMLParam(java.lang.String name,
                UMLType paramType)
Constructor for class UMLParam

Parameters:
name - No description provided
paramType - No description provided

UMLParam

public UMLParam(java.lang.String name,
                UMLType paramType,
                UMLMethod revParam)
Constructor for class UMLParam

Parameters:
name - No description provided
paramType - No description provided
revParam - No description provided
Method Detail

createUnparseModuleName

protected java.lang.String createUnparseModuleName()
No comment provided by developer, please add a comment to improve documentation.

Overrides:
createUnparseModuleName in class UMLDiagramItem
Returns:
No description provided

getName

public java.lang.String getName()
Get the name attribute of the UMLParam object

Specified by:
getName in interface FElement
Overrides:
getName in class ASGElement
Returns:
The name value

setName

public void setName(java.lang.String name)
Sets the name attribute of the UMLParam object

Specified by:
setName in interface FElement
Overrides:
setName in class ASGElement
Parameters:
name - The new name value

getText

public java.lang.String getText()
gives back the name and type of the parameter as String.

Specified by:
getText in interface FElement
Overrides:
getText in class ASGElement
Returns:
the full qualified parameter as String.

getRevParam

public UMLMethod getRevParam()
Get the revParam attribute of the UMLParam object

Returns:
The revParam value

getFRevParam

public FMethod getFRevParam()
Get the fRevParam attribute of the UMLParam object

Specified by:
getFRevParam in interface FParam
Returns:
The fRevParam value

setRevParam

public void setRevParam(FMethod revParam)
Sets the revParam attribute of the UMLParam object

Specified by:
setRevParam in interface FParam
Parameters:
revParam - The new revParam value

isPointer

public boolean isPointer()
Get the value of pointer.

Specified by:
isPointer in interface FParam
Returns:
Value of pointer.

setPointer

public void setPointer(boolean pointer)
Set the value of pointer.

Specified by:
setPointer in interface FParam
Parameters:
pointer - Value to assign to pointer.

isCallByReference

public boolean isCallByReference()
Get the value of callByReference.

Returns:
Value of callByReference.

setCallByReference

public void setCallByReference(boolean callByReference)
Set the value of callByReference.

Parameters:
callByReference - Value to assign to callByReference.

getParamType

public UMLType getParamType()
Get the paramType attribute of the UMLParam object

Returns:
The paramType value

getFParamType

public FType getFParamType()
Get the fParamType attribute of the UMLParam object

Specified by:
getFParamType in interface FParam
Returns:
The fParamType value

getUMLType

public UMLType getUMLType()
Get the uMLType attribute of the UMLParam object

Specified by:
getUMLType in class UMLDeclaration
Returns:
The uMLType value

setParamType

public void setParamType(FType paramType)
Sets the paramType attribute of the UMLParam object

Specified by:
setParamType in interface FParam
Parameters:
paramType - The new paramType value

removeYou

public void removeYou()
Isolates the object so the garbage collector can remove it.

Specified by:
removeYou in interface FElement
Overrides:
removeYou in class UMLDeclaration

getParentElement

public FElement getParentElement()
Query the logical parent of this element (e.g. package of a class, diagram of an object).

Specified by:
getParentElement in interface FElement
Overrides:
getParentElement in class UMLDiagramItem
Returns:
the logical parent of this element;

toString

public java.lang.String toString()
Description copied from class: UMLDiagramItem
No comment provided by developer, please add a comment to improve documentation.

Overrides:
toString in class UMLDiagramItem
Returns:
short string representation of current object