net.sf.magicproject.token
Enum IdTargetList

java.lang.Object
  extended by java.lang.Enum<IdTargetList>
      extended by net.sf.magicproject.token.IdTargetList
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IdTargetList>

public enum IdTargetList
extends java.lang.Enum<IdTargetList>

Since:
0.82
Author:
Fabrice Daugan

Enum Constant Summary
CLEAR
           
FILTER
           
LOAD_INDEX
           
LOAD_LIST
           
NONE
           
OCCURENCE_LIST
           
OCCURENCE_TARGET
           
REMOVE_FIRST
           
REMOVE_INDEX
           
REMOVE_LAST
           
REMOVE_LIST
           
REMOVE_QUEUE
           
REMOVE_TAIL
           
REMOVE_TARGET
           
SAVE_INDEX
           
SAVE_LIST
           
SAVE_TARGET
           
 
Method Summary
static IdTargetList deserialize(java.io.InputStream input)
          Read and return the enum from the given inputstream.
 void serialize(java.io.OutputStream out)
          Wrtite this enum to the given outputstream.
static IdTargetList valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IdTargetList[] 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

NONE

public static final IdTargetList NONE

OCCURENCE_LIST

public static final IdTargetList OCCURENCE_LIST

OCCURENCE_TARGET

public static final IdTargetList OCCURENCE_TARGET

LOAD_LIST

public static final IdTargetList LOAD_LIST

LOAD_INDEX

public static final IdTargetList LOAD_INDEX

REMOVE_FIRST

public static final IdTargetList REMOVE_FIRST

REMOVE_LAST

public static final IdTargetList REMOVE_LAST

CLEAR

public static final IdTargetList CLEAR

SAVE_TARGET

public static final IdTargetList SAVE_TARGET

SAVE_INDEX

public static final IdTargetList SAVE_INDEX

SAVE_LIST

public static final IdTargetList SAVE_LIST

REMOVE_QUEUE

public static final IdTargetList REMOVE_QUEUE

REMOVE_TAIL

public static final IdTargetList REMOVE_TAIL

REMOVE_TARGET

public static final IdTargetList REMOVE_TARGET

REMOVE_INDEX

public static final IdTargetList REMOVE_INDEX

REMOVE_LIST

public static final IdTargetList REMOVE_LIST

FILTER

public static final IdTargetList FILTER
Method Detail

values

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

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

valueOf

public static IdTargetList valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

serialize

public void serialize(java.io.OutputStream out)
               throws java.io.IOException
Wrtite this enum to the given outputstream.

Parameters:
out - the stream ths enum would be written.
Throws:
java.io.IOException - If some other I/O error occurs

deserialize

public static IdTargetList deserialize(java.io.InputStream input)
                                throws java.io.IOException
Read and return the enum from the given inputstream.

Parameters:
input - the stream containing the enum to read.
Returns:
the enum from the given inputstream.
Throws:
java.io.IOException - If some other I/O error occurs


Copyright © 2003-2007 Magic-Project. All Rights Reserved.