com.finalist.uml14.simpleuml
Class SimpleGeneralization

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

public class SimpleGeneralization
extends SimpleModelElement

The SimpleGeneralizationClass represents a generalization in a UML model. It contains a generalization of the OMG API and contains some functions which make the use of OMG API 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
SimpleGeneralization()
          Creates a new SimpleGeneralization.
SimpleGeneralization(SimpleClassifier child, SimpleClassifier parent)
          Advanced constructor.
SimpleGeneralization(java.lang.String name, SimpleClassifier child, SimpleClassifier parent)
          Advanced constructor.
 
Method Summary
 SimpleClassifier getChild()
          Returns the child SimpleClassifier.
 SimpleClassifier getParent()
          Returns the parent SimpleClassifier.
 void setChild(SimpleClassifier child)
          Sets the child of the generalization.
 void setParent(SimpleClassifier parent)
          Sets the parent of the generalization.
 
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

SimpleGeneralization

public SimpleGeneralization()
Creates a new SimpleGeneralization.


SimpleGeneralization

public SimpleGeneralization(SimpleClassifier child,
                            SimpleClassifier parent)
Advanced constructor.

Parameters:
child - The SimpleClassifier that extends.
parent - The SimpleClassifier that is extended from.

SimpleGeneralization

public SimpleGeneralization(java.lang.String name,
                            SimpleClassifier child,
                            SimpleClassifier parent)
Advanced constructor.

Parameters:
name - The name of the generalization.
child - The SimpleClassifier that extends.
parent - The SimpleClassifier that is extended from.
Method Detail

setParent

public void setParent(SimpleClassifier parent)
Sets the parent of the generalization.

Parameters:
parent - The SimpleClassifier that is the parent.

getParent

public SimpleClassifier getParent()
Returns the parent SimpleClassifier.

Returns:
The parent SimpleClassifier.

setChild

public void setChild(SimpleClassifier child)
Sets the child of the generalization.

Parameters:
child - The SimpleClassifier that is the child.

getChild

public SimpleClassifier getChild()
Returns the child SimpleClassifier.

Returns:
The child SimpleClassifier.


Copyright © 2003-2004 SourceForge. All Rights Reserved.