UML.Code
Class Generalization

java.lang.Object
  |
  +--UML.Code.Generalization

public class Generalization
extends java.lang.Object

Generalization class represent a supertype (class or interface) of the Java class for which code is generated.


Constructor Summary
Generalization()
          Constructor.
 
Method Summary
 java.lang.String getType()
          Gets the type of the supertype (class,interface).
 java.lang.String getTypename()
          Gets the name of the supertype (e.g.
 void setType(java.lang.String type)
          Sets the type of the supertype (class,interface).
 void setTypename(java.lang.String typename)
          Sets the name of the supertype (e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Generalization

public Generalization()
Constructor.

Method Detail

setType

public void setType(java.lang.String type)
Sets the type of the supertype (class,interface).


getType

public java.lang.String getType()
Gets the type of the supertype (class,interface).

Returns:
type the type of the supertype.

setTypename

public void setTypename(java.lang.String typename)
Sets the name of the supertype (e.g. String, Object ecc.).


getTypename

public java.lang.String getTypename()
Gets the name of the supertype (e.g. String, Object ecc.).

Returns:
typename the name of the supertype.