com.finalist.uml14.simpleuml
Class SimpleAttribute

java.lang.Object
  extended bycom.finalist.uml14.simpleuml.SimpleModelElement
      extended bycom.finalist.uml14.simpleuml.SimpleAttribute

public class SimpleAttribute
extends SimpleModelElement

SimpleAttribute represents an attribute in a UML model. SimpleAttribute contains an Attribute from OMG which contains the actual information. It supplies some functions which make accessing this attribute more easier.

Version:
$Revision: 1.1 $, $Date: 2004/02/06 22:22:39 $
Author:
kors

Field Summary
 
Fields inherited from class com.finalist.uml14.simpleuml.SimpleModelElement
modelElement, PRIVATE, PROTECTED, PUBLIC
 
Constructor Summary
SimpleAttribute()
          Constructs a new SimpleAttribute.
SimpleAttribute(java.lang.String attributeName, java.lang.String visibility, SimpleClassifier type)
          Advanced constructor for an attirbute.
 
Method Summary
 SimpleClassifier getType()
          Returns the SimpleClassifier that sets the type of this attribute.
 void setType(SimpleClassifier type)
          Sets the type of this attribute.
 
Methods inherited from class com.finalist.uml14.simpleuml.SimpleModelElement
getModelElement, getName, getVisibility, setName, setVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAttribute

public SimpleAttribute()
Constructs a new SimpleAttribute.


SimpleAttribute

public SimpleAttribute(java.lang.String attributeName,
                       java.lang.String visibility,
                       SimpleClassifier type)
Advanced constructor for an attirbute.

Parameters:
attributeName - The name of the attribute to create.
visibility - The visibilitiy of the attribute to create.
type - The type of the attribute to create.
Method Detail

setType

public void setType(SimpleClassifier type)
Sets the type of this attribute.

Parameters:
type - The SimpleClassifier that represents the type of this attribute.

getType

public SimpleClassifier getType()
Returns the SimpleClassifier that sets the type of this attribute.

Returns:
The type of this attribute.


Copyright © 2003-2004 SourceForge. All Rights Reserved.