com.ashridgetech.jamda.uml
Class Procedure.Language

java.lang.Object
  |
  +--com.ashridgetech.jamda.uml.Procedure.Language
Enclosing class:
Procedure

public static class Procedure.Language
extends java.lang.Object

Typesafe enum to represent the language of a Procedure body.


Field Summary
static Procedure.Language JAVA
           
 
Method Summary
(package private) static Procedure.Language getInstance(java.lang.String name)
          Get the instance of this class with the given name.
(package private)  java.lang.String getName()
          Return the internal encoding for this instance
 java.lang.String toString()
          Return the name as used to obtain this instance from #getInstance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JAVA

public static final Procedure.Language JAVA
Method Detail

getInstance

static Procedure.Language getInstance(java.lang.String name)
Get the instance of this class with the given name.

Parameters:
name - the name of the instance, as returned by toString
Returns:
the object with the value name
Throws:
java.lang.IllegalArgumentException - if there is no instance with the value name

toString

public java.lang.String toString()
Return the name as used to obtain this instance from #getInstance.

Overrides:
toString in class java.lang.Object

getName

java.lang.String getName()
Return the internal encoding for this instance



Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.