de.uni_paderborn.fujaba.uml
Class UMLArray

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.UMLArray
All Implemented Interfaces:
java.lang.Comparable, FArray, FElement, FIncrement, FType, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, UMLType, UniqueIdentifier

public class UMLArray
extends UMLIncrement
implements UMLType, FArray

Associations

             +------+ 1                 1
 UMLTypeList | name +--------------------- UMLType
             +------+ revTypes      types
 

Version:
$Revision: 1.41.2.3 $
Author:
$Author: lowende $

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.FType
NAME_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
ANNOTATIONS_PROPERTY, DIAGRAMS_PROPERTY, ELEMENT_REFERENCES_PROPERTY, GENERATED_PROPERTY, TEXT_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FArray
ARRAY_TYPE_PROPERTY, BASE_TYPE_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FIncrement
ASSERT_IN_UNIT_TEST_PROPERTY, COMMENT_PROPERTY, CONSTRAINTS_PROPERTY, STEREOTYPES_PROPERTY
 
Constructor Summary
UMLArray()
          Constructor for class UMLArray
UMLArray(UMLType arrayType)
          Constructor for class UMLArray
 
Method Summary
 boolean addToRevAttrType(FAttr value)
          Access method for an one to n association.
 boolean addToRevParamType(FParam value)
          Access method for an one to n association.
 boolean addToRevResultType(FMethod value)
          Access method for an one to n association.
 boolean addToRevType(FQualifier value)
          Access method for an one to n association.
protected  java.lang.String createUnparseModuleName()
          No comment provided by developer, please add a comment to improve documentation.
 UMLType getArrayType()
          Get the arrayType attribute of the UMLArray object
 UMLType getBaseType()
          Get the baseType attribute of the UMLArray object
 java.lang.String getBaseTypeName()
          Get name of the base type of the UMLArray object.
 int getDimension()
          Get the dimension attribute of the UMLArray object
 FType getFArrayType()
          Get the fArrayType attribute of the UMLArray object
 FType getFBaseType()
          Get the fBaseType attribute of the UMLArray object
 FType getFRealType()
          Get the fRealType attribute of the UMLArray object
 FArray getFRevArrayType()
          Get the fRevArrayType attribute of the UMLArray object
 java.lang.String getFullArrayName()
          Get the full qualified name of this array.
 java.lang.String getName()
          Get the name attribute of the UMLArray object
 FElement getParentElement()
          Query the logical parent of this element (e.g. package of a class, diagram of an object).
 java.lang.String getProgLangType()
          Get the progLangType attribute of the UMLArray object
 UMLType getRealType()
          Get the realType attribute of the UMLArray object
 UMLArray getRevArrayType()
          Get the revArrayType attribute of the UMLArray object
 UMLTypeList getRevTypes()
          Get the revTypes attribute of the UMLArray object
 java.lang.String getText()
          Get the text attribute of the UMLArray object
 boolean hasInRevAttrType(FAttr value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevParamType(FParam value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevResultType(FMethod value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevType(FQualifier value)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevAttrType()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevParamType()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevResultType()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevType()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromRevAttrType()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromRevParamType()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromRevResultType()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromRevType()
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromRevAttrType(FAttr value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromRevParamType(FParam value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromRevResultType(FMethod value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromRevType(FQualifier value)
          No comment provided by developer, please add a comment to improve documentation.
 void removeYou()
          Isolates the object so the garbage collector can remove it.
 void setArrayType(FType tmpType)
          Sets the arrayType attribute of the UMLArray object
 void setName(java.lang.String name)
          Sets the name attribute of the UMLArray object
 void setProgLangType(java.lang.String progLangType)
          Sets the progLangType attribute of the UMLArray object
 void setRevArrayType(FArray revArrayType)
          Sets the revArrayType attribute of the UMLArray object
 boolean setRevTypes(FTypeList obj)
          Sets the revTypes attribute of the UMLArray object
 int sizeOfRevAttrType()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfRevParamType()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfRevResultType()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfRevType()
          No comment provided by developer, please add a comment to improve documentation.
 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.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, addToDiagrams, 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.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.uni_paderborn.fujaba.basic.UniqueIdentifier
getID
 
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.tu_bs.coobra.ObjectChangeAware
acknowledgeChange, getCoObRAId, getRepository, setCoObRAId, setRepository
 
Methods inherited from interface de.uni_kassel.prop.InspectionAware
isInspectableField, proposeFieldValues
 

Constructor Detail

UMLArray

public UMLArray()
Constructor for class UMLArray


UMLArray

public UMLArray(UMLType arrayType)
Constructor for class UMLArray

Parameters:
arrayType - 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 ASGElement
Returns:
No description provided

getProgLangType

public java.lang.String getProgLangType()
Get the progLangType attribute of the UMLArray object

Specified by:
getProgLangType in interface UMLType
Returns:
The progLangType value

setProgLangType

public void setProgLangType(java.lang.String progLangType)
Sets the progLangType attribute of the UMLArray object

Specified by:
setProgLangType in interface UMLType
Parameters:
progLangType - The new progLangType value

getText

public java.lang.String getText()
Get the text attribute of the UMLArray object

Specified by:
getText in interface FElement
Overrides:
getText in class ASGElement
Returns:
The text value

getBaseTypeName

public java.lang.String getBaseTypeName()
Get name of the base type of the UMLArray object.
 If the base type of this UMLArray object is a UMLClass,
 the full class name will be returned.
 

Returns:
The name of the base type, or an empty String if this UMLArray object has no base type.

getFullArrayName

public java.lang.String getFullArrayName()
Get the full qualified name of this array.

Returns:
A String holding the full qualified name of this array.

getName

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

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

setName

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

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

hasInRevResultType

public boolean hasInRevResultType(FMethod value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevResultType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfRevResultType

public java.util.Iterator iteratorOfRevResultType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevResultType in interface UMLType
Returns:
No description provided

sizeOfRevResultType

public int sizeOfRevResultType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
sizeOfRevResultType in interface UMLType
Returns:
No description provided

addToRevResultType

public boolean addToRevResultType(FMethod value)
Access method for an one to n association.

Specified by:
addToRevResultType in interface UMLType
Parameters:
value - The object added.
Returns:
No description provided

removeFromRevResultType

public boolean removeFromRevResultType(FMethod value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromRevResultType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

removeAllFromRevResultType

public void removeAllFromRevResultType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeAllFromRevResultType in interface UMLType

hasInRevParamType

public boolean hasInRevParamType(FParam value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevParamType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfRevParamType

public java.util.Iterator iteratorOfRevParamType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevParamType in interface UMLType
Returns:
No description provided

sizeOfRevParamType

public int sizeOfRevParamType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
sizeOfRevParamType in interface UMLType
Returns:
No description provided

addToRevParamType

public boolean addToRevParamType(FParam value)
Access method for an one to n association.

Specified by:
addToRevParamType in interface UMLType
Parameters:
value - The object added.
Returns:
No description provided

removeFromRevParamType

public boolean removeFromRevParamType(FParam value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromRevParamType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

removeAllFromRevParamType

public void removeAllFromRevParamType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeAllFromRevParamType in interface UMLType

hasInRevAttrType

public boolean hasInRevAttrType(FAttr value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevAttrType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfRevAttrType

public java.util.Iterator iteratorOfRevAttrType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevAttrType in interface UMLType
Returns:
No description provided

sizeOfRevAttrType

public int sizeOfRevAttrType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
sizeOfRevAttrType in interface UMLType
Returns:
No description provided

addToRevAttrType

public boolean addToRevAttrType(FAttr value)
Access method for an one to n association.

Specified by:
addToRevAttrType in interface UMLType
Parameters:
value - The object added.
Returns:
No description provided

removeFromRevAttrType

public boolean removeFromRevAttrType(FAttr value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromRevAttrType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

removeAllFromRevAttrType

public void removeAllFromRevAttrType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeAllFromRevAttrType in interface UMLType

setRevTypes

public boolean setRevTypes(FTypeList obj)
Sets the revTypes attribute of the UMLArray object

Specified by:
setRevTypes in interface UMLType
Parameters:
obj - The new revTypes value
Returns:
No description provided

getRevTypes

public UMLTypeList getRevTypes()
Get the revTypes attribute of the UMLArray object

Specified by:
getRevTypes in interface UMLType
Returns:
The revTypes value

getRevArrayType

public UMLArray getRevArrayType()
Get the revArrayType attribute of the UMLArray object

Specified by:
getRevArrayType in interface UMLType
Returns:
The revArrayType value

getFRevArrayType

public FArray getFRevArrayType()
Get the fRevArrayType attribute of the UMLArray object

Specified by:
getFRevArrayType in interface FType
Returns:
The fRevArrayType value

setRevArrayType

public void setRevArrayType(FArray revArrayType)
Sets the revArrayType attribute of the UMLArray object

Specified by:
setRevArrayType in interface UMLType
Parameters:
revArrayType - The new revArrayType value

getArrayType

public UMLType getArrayType()
Get the arrayType attribute of the UMLArray object

Returns:
The arrayType value

getFArrayType

public FType getFArrayType()
Get the fArrayType attribute of the UMLArray object

Specified by:
getFArrayType in interface FArray
Returns:
The fArrayType value

getBaseType

public UMLType getBaseType()
Get the baseType attribute of the UMLArray object

Returns:
The baseType value

getFBaseType

public FType getFBaseType()
Get the fBaseType attribute of the UMLArray object

Specified by:
getFBaseType in interface FArray
Returns:
The fBaseType value

setArrayType

public void setArrayType(FType tmpType)
Sets the arrayType attribute of the UMLArray object

Specified by:
setArrayType in interface FArray
Parameters:
tmpType - The new arrayType 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 UMLIncrement

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 ASGElement
Returns:
the logical parent of this element;

getRealType

public UMLType getRealType()
Get the realType attribute of the UMLArray object

Specified by:
getRealType in interface UMLType
Returns:
The realType value

getFRealType

public FType getFRealType()
Get the fRealType attribute of the UMLArray object

Specified by:
getFRealType in interface FType
Returns:
The fRealType value

getDimension

public int getDimension()
Get the dimension attribute of the UMLArray object

Specified by:
getDimension in interface UMLType
Returns:
The dimension value

toString

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

Returns:
No description provided

addToRevType

public boolean addToRevType(FQualifier value)
Access method for an one to n association.

Specified by:
addToRevType in interface UMLType
Parameters:
value - The object added.
Returns:
No description provided

hasInRevType

public boolean hasInRevType(FQualifier value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfRevType

public java.util.Iterator iteratorOfRevType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevType in interface UMLType
Returns:
No description provided

removeAllFromRevType

public void removeAllFromRevType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeAllFromRevType in interface UMLType

removeFromRevType

public boolean removeFromRevType(FQualifier value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromRevType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

sizeOfRevType

public int sizeOfRevType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
sizeOfRevType in interface UMLType
Returns:
No description provided