de.uni_paderborn.fujaba.metamodel
Interface FDeclaration

All Superinterfaces:
java.lang.Cloneable, java.lang.Comparable, FDiagramItem, FElement, FIncrement, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, UniqueIdentifier
All Known Subinterfaces:
FAttr, FClass, FMethod, FParam
All Known Implementing Classes:
UMLAttr, UMLClass, UMLDeclaration, UMLMethod, UMLParam

public interface FDeclaration
extends FDiagramItem, java.lang.Cloneable

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

Version:
$Revision: 1.4 $ $Date: 2004/11/13 20:45:58 $
Author:
$Author: lowende $

Field Summary
static int CODE_DISPLAY_LEVEL
          indicates a declaration element as internal used element.
static int DESIGN_DISPLAY_LEVEL
          indicates a declaration element as user element.
static int PACKAGE
          indicates a declaration element as a package element.
static int PRIVATE
          indicates a declaration element as a private element.
static int PROTECTED
          indicates a declaration element as a protected element.
static int PUBLIC
          indicates a declaration element as a public element.
static int USERDEFINED
          No comment provided by developer, please add a comment to improve documentation.
static char[] VISIBILITY_CHAR
          declares the visibility characters.
static java.lang.String VISIBILITY_PROPERTY
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String[] VISIBILITY_STRING
          declares the visibility strings.
 
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
 
Method Summary
 int getDisplayLevel()
          returns the display level of the declaration element.
 FType getFType()
          Deprecated. Use getAttrType, getParamType, or getResultType instead
 int getVisibility()
          Get the visibility attribute of the FDeclaration object
 boolean isParsed()
          Get the parsed attribute of the FDeclaration object
 void setDisplayLevel(int newDisplayLevel)
          sets the display level of the declaration element.
 void setVisibility(int visibility)
          Sets the visibility attribute of the FDeclaration object
 
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, getName, getParentElement, getText, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasKeyInElementReferences, isCoobraPersistent, isGenerated, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfUserMessages, keysOfElementReferences, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromUserMessages, removeKeyFromElementReferences, removeYou, setCutCopyPasteParent, setFirstOOGenToken, setGenerated, setLastOOGenToken, setName, 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
 

Field Detail

CODE_DISPLAY_LEVEL

public static final int CODE_DISPLAY_LEVEL
indicates a declaration element as internal used element. It is not shown as default.

See Also:
Constant Field Values

DESIGN_DISPLAY_LEVEL

public static final int DESIGN_DISPLAY_LEVEL
indicates a declaration element as user element. It is shown as default.

See Also:
Constant Field Values

PRIVATE

public static final int PRIVATE
indicates a declaration element as a private element.

See Also:
Constant Field Values

PUBLIC

public static final int PUBLIC
indicates a declaration element as a public element.

See Also:
Constant Field Values

PROTECTED

public static final int PROTECTED
indicates a declaration element as a protected element.

See Also:
Constant Field Values

PACKAGE

public static final int PACKAGE
indicates a declaration element as a package element.

See Also:
Constant Field Values

USERDEFINED

public static final int USERDEFINED
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

VISIBILITY_CHAR

public static final char[] VISIBILITY_CHAR
declares the visibility characters.


VISIBILITY_STRING

public static final java.lang.String[] VISIBILITY_STRING
declares the visibility strings.


VISIBILITY_PROPERTY

public static final java.lang.String VISIBILITY_PROPERTY
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Method Detail

getVisibility

public int getVisibility()
Get the visibility attribute of the FDeclaration object

Returns:
The visibility value

setVisibility

public void setVisibility(int visibility)
Sets the visibility attribute of the FDeclaration object

Parameters:
visibility - The new visibility value

getDisplayLevel

public int getDisplayLevel()
returns the display level of the declaration element.

Returns:
the display level.

setDisplayLevel

public void setDisplayLevel(int newDisplayLevel)
sets the display level of the declaration element.

Parameters:
newDisplayLevel - the new display level.

getFType

public FType getFType()
Deprecated. Use getAttrType, getParamType, or getResultType instead

returns the type of the declaration element.

Returns:
the type of the element.

isParsed

public boolean isParsed()
Get the parsed attribute of the FDeclaration object

Returns:
The parsed value