de.uni_paderborn.fujaba.asg
Class ASGAnnotation

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
      extended byde.uni_paderborn.fujaba.asg.ASGElement
          extended byde.uni_paderborn.fujaba.asg.ASGAnnotation
All Implemented Interfaces:
java.lang.Comparable, FAnnotation, FElement, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, UniqueIdentifier

public abstract class ASGAnnotation
extends ASGElement
implements FAnnotation

Associations

               ------- 0..n   Annotations   0..n
 ASGAnnotation | key |--------------------------- ASGElement
               ------- annotations      elements
 

Version:
$Revision: 1.11 $
Author:
$Author: cschneid $

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.FAnnotation
ELEMENTS_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
ASGAnnotation()
           
 
Method Summary
 boolean addToElements(java.util.Map.Entry entry)
          Access method for an one to n association.
 boolean addToElements(java.lang.String key, FElement value)
          Access method for an one to n association.
 java.util.Iterator entriesOfElements()
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.String getName()
          Get the name attribute of the ASGElement object
 FElement getParentElement()
          Query the logical parent of this element (e.g. package of a class, diagram of an object).
 boolean hasInElements(FElement value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInElements(java.lang.String key, FElement value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasKeyInElements(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfElements()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfElements(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator keysOfElements()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromElements()
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromElements(FElement value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromElements(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromElements(java.lang.String key, FElement value)
          No comment provided by developer, please add a comment to improve documentation.
 void removeYou()
          No comment provided by developer, please add a comment to improve documentation.
 void setName(java.lang.String name)
          Sets the name.
 int sizeOfElements()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfElements(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 
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, createUnparseModuleName, deleteTokens, elementsOfDiagrams, entriesOfElementReferences, entriesOfFsaObjects, entriesOfUnparseInformations, fireEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCoObRAId, getFirstFromFSAObjects, getFirstOOGenToken, getFromElementReferences, getFromFElementReferences, getFromFsaObjects, getFromUnparseInformations, getFSAInterface, getLastModified, getLastOOGenToken, getPointFromUnparseInformation, getPropertyChangeSupport, getRepository, getText, 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, toString, wait, wait, wait
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
addToAnnotations, addToDiagrams, addToElementReferences, addToElementReferences, addToUserMessages, deleteTokens, entriesOfElementReferences, getFirstOOGenToken, getFromFElementReferences, getLastOOGenToken, getText, 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

ASGAnnotation

public ASGAnnotation()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: FElement
Get the name attribute of the ASGElement object

Specified by:
getName in interface FElement
Overrides:
getName in class ASGElement
Returns:
String

setName

public void setName(java.lang.String name)
Sets the name.

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

addToElements

public boolean addToElements(java.lang.String key,
                             FElement value)
Access method for an one to n association.

Specified by:
addToElements in interface FAnnotation
Parameters:
key - The object added.
value - The object added.
Returns:
No description provided

addToElements

public boolean addToElements(java.util.Map.Entry entry)
Access method for an one to n association.

Specified by:
addToElements in interface FAnnotation
Parameters:
entry - The object added.
Returns:
No description provided

iteratorOfElements

public java.util.Iterator iteratorOfElements(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfElements in interface FAnnotation
Parameters:
key - No description provided
Returns:
No description provided

iteratorOfElements

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

Specified by:
iteratorOfElements in interface FAnnotation
Returns:
No description provided

hasKeyInElements

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

Specified by:
hasKeyInElements in interface FAnnotation
Parameters:
key - No description provided
Returns:
No description provided

hasInElements

public boolean hasInElements(java.lang.String key,
                             FElement value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInElements in interface FAnnotation
Parameters:
key - No description provided
value - No description provided
Returns:
No description provided

hasInElements

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

Specified by:
hasInElements in interface FAnnotation
Parameters:
value - No description provided
Returns:
No description provided

keysOfElements

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

Specified by:
keysOfElements in interface FAnnotation
Returns:
No description provided

entriesOfElements

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

Specified by:
entriesOfElements in interface FAnnotation
Returns:
No description provided

sizeOfElements

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

Specified by:
sizeOfElements in interface FAnnotation
Parameters:
key - No description provided
Returns:
No description provided

sizeOfElements

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

Specified by:
sizeOfElements in interface FAnnotation
Returns:
No description provided

removeFromElements

public boolean removeFromElements(java.lang.String key,
                                  FElement value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromElements in interface FAnnotation
Parameters:
key - No description provided
value - No description provided
Returns:
No description provided

removeFromElements

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

Specified by:
removeFromElements in interface FAnnotation
Parameters:
key - No description provided
Returns:
No description provided

removeFromElements

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

Specified by:
removeFromElements in interface FAnnotation
Parameters:
value - No description provided
Returns:
No description provided

removeAllFromElements

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

Specified by:
removeAllFromElements in interface FAnnotation

removeYou

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

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

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;