cz.cuni.amis.pogamut.sposh.elements
Enum LapType

Package class diagram package LapType
java.lang.Object
  extended by java.lang.Enum<LapType>
      extended by cz.cuni.amis.pogamut.sposh.elements.LapType
All Implemented Interfaces:
Serializable, Comparable<LapType>

public enum LapType
extends Enum<LapType>

All elements that can exists in the plan and their type names that will be used in the path.


Enum Constant Summary
ACTION
           
ACTION_PATTERN
           
ADOPT
           
COMPETENCE
           
COMPETENCE_ELEMENT
           
DRIVE_COLLECTION
           
DRIVE_ELEMENT
           
PLAN
           
SENSE
           
 
Method Summary
 String getName()
           
 Class<?> getTypeClass()
           
static LapType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LapType[] 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

ACTION

public static final LapType ACTION

ACTION_PATTERN

public static final LapType ACTION_PATTERN

ADOPT

public static final LapType ADOPT

COMPETENCE

public static final LapType COMPETENCE

COMPETENCE_ELEMENT

public static final LapType COMPETENCE_ELEMENT

DRIVE_COLLECTION

public static final LapType DRIVE_COLLECTION

DRIVE_ELEMENT

public static final LapType DRIVE_ELEMENT

PLAN

public static final LapType PLAN

SENSE

public static final LapType SENSE
Method Detail

values

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

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

valueOf

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

getName

public String getName()

getTypeClass

public Class<?> getTypeClass()


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.