com.finalist.uml14.simpleuml
Class SimpleAttribute
java.lang.Object
com.finalist.uml14.simpleuml.SimpleModelElement
com.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.