gov.nasa.arc.brahms.common.data.format.uml
Class Generalization

java.lang.Object
  extended by gov.nasa.arc.brahms.common.data.format.uml.Generalization

public class Generalization
extends java.lang.Object

The Generalization specifies a UML generalization between two concepts.

Version:
25 June 2005
Author:
Ron van Hoof

Constructor Summary
Generalization(Concept parent, Concept child)
          Constructor, creates a new Generalization between the specified parent and child concepts.
 
Method Summary
 Concept getChild()
          Returns the child in the generalization
 java.lang.String getID()
          Returns the generalization's unique identifier.
 Concept getParent()
          Returns the parent in the generalization
 java.lang.String toString()
          Returns a unique stringified identifier for this generalization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Generalization

public Generalization(Concept parent,
                      Concept child)
Constructor, creates a new Generalization between the specified parent and child concepts.

Parameters:
parent - the parent Concept
child - the child Concept
Method Detail

getID

public final java.lang.String getID()
Returns the generalization's unique identifier.

Returns:
String the unique identifier

getParent

public final Concept getParent()
Returns the parent in the generalization

Returns:
Concept the parent

getChild

public final Concept getChild()
Returns the child in the generalization

Returns:
Concept the child

toString

public java.lang.String toString()
Returns a unique stringified identifier for this generalization

Overrides:
toString in class java.lang.Object
Returns:
String generalization unique id


Copyright © 1997-2012 All Rights Reserved.