schema2template.model
Enum MSVExpressionType

java.lang.Object
  extended by java.lang.Enum<MSVExpressionType>
      extended by schema2template.model.MSVExpressionType
All Implemented Interfaces:
Serializable, Comparable<MSVExpressionType>

public enum MSVExpressionType
extends Enum<MSVExpressionType>

Enum for the type of the MSV expression


Enum Constant Summary
ATTRIBUTE
           
CHOICE
           
CONCUR
           
DATA
           
ELEMENT
           
EPSILON
           
INTERLEAVE
           
LIST
           
MIXED
           
NULLSET
           
ONEOREMORE
           
OTHER
           
REF
           
SEQUENCE
           
STRING
           
VALUE
           
 
Method Summary
static MSVExpressionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MSVExpressionType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STRING

public static final MSVExpressionType STRING

ATTRIBUTE

public static final MSVExpressionType ATTRIBUTE

CHOICE

public static final MSVExpressionType CHOICE

CONCUR

public static final MSVExpressionType CONCUR

DATA

public static final MSVExpressionType DATA

ELEMENT

public static final MSVExpressionType ELEMENT

EPSILON

public static final MSVExpressionType EPSILON

INTERLEAVE

public static final MSVExpressionType INTERLEAVE

LIST

public static final MSVExpressionType LIST

MIXED

public static final MSVExpressionType MIXED

NULLSET

public static final MSVExpressionType NULLSET

ONEOREMORE

public static final MSVExpressionType ONEOREMORE

OTHER

public static final MSVExpressionType OTHER

REF

public static final MSVExpressionType REF

SEQUENCE

public static final MSVExpressionType SEQUENCE

VALUE

public static final MSVExpressionType VALUE
Method Detail

values

public static MSVExpressionType[] 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 (MSVExpressionType c : MSVExpressionType.values())
    System.out.println(c);

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

valueOf

public static MSVExpressionType 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


Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.