de.uni_bremen.st.rcf.model
Enum EntryType

java.lang.Object
  extended by java.lang.Enum<EntryType>
      extended by de.uni_bremen.st.rcf.model.EntryType
All Implemented Interfaces:
Serializable, Comparable<EntryType>

public enum EntryType
extends Enum<EntryType>


Enum Constant Summary
CLONECLASS
           
CLONEPAIR
           
DIRECTORY
           
ENTRY
           
FILE
           
FRAGMENT
           
METADATA
           
PROCESSDATA
           
SOURCEPOSITION
           
VERSION
           
 
Method Summary
static EntryType toEntryType(String name)
           
static EntryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EntryType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ENTRY

public static final EntryType ENTRY

CLONEPAIR

public static final EntryType CLONEPAIR

FILE

public static final EntryType FILE

CLONECLASS

public static final EntryType CLONECLASS

SOURCEPOSITION

public static final EntryType SOURCEPOSITION

METADATA

public static final EntryType METADATA

VERSION

public static final EntryType VERSION

DIRECTORY

public static final EntryType DIRECTORY

FRAGMENT

public static final EntryType FRAGMENT

PROCESSDATA

public static final EntryType PROCESSDATA
Method Detail

values

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

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

valueOf

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

toEntryType

public static EntryType toEntryType(String name)


Copyright © 2011. All Rights Reserved.