sdr 0.7

net.cscott.sdr.calls.grm
Enum Grm.Mult.Type

java.lang.Object
  extended by java.lang.Enum<Grm.Mult.Type>
      extended by net.cscott.sdr.calls.grm.Grm.Mult.Type
All Implemented Interfaces:
Serializable, Comparable<Grm.Mult.Type>
Enclosing class:
Grm.Mult

public static enum Grm.Mult.Type
extends Enum<Grm.Mult.Type>

Type of multiplicity marker: STAR, PLUS, or QUESTION.


Enum Constant Summary
PLUS
           
QUESTION
           
STAR
           
 
Field Summary
 char value
           
 
Method Summary
 String toString()
           
static Grm.Mult.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Grm.Mult.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STAR

public static final Grm.Mult.Type STAR

PLUS

public static final Grm.Mult.Type PLUS

QUESTION

public static final Grm.Mult.Type QUESTION
Field Detail

value

public final char value
Method Detail

values

public static Grm.Mult.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Grm.Mult.Type c : Grm.Mult.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Grm.Mult.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<Grm.Mult.Type>

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian