org.android.activityminer.pmml.model.miningschema
Enum InvalidValueTreatmentMethod

Package class diagram package InvalidValueTreatmentMethod
java.lang.Object
  extended by java.lang.Enum<InvalidValueTreatmentMethod>
      extended by org.android.activityminer.pmml.model.miningschema.InvalidValueTreatmentMethod
All Implemented Interfaces:
Serializable, Comparable<InvalidValueTreatmentMethod>

public enum InvalidValueTreatmentMethod
extends Enum<InvalidValueTreatmentMethod>

The invalid value treatment method types


Enum Constant Summary
asIs
          Use the input without modification
asMissing
          An invalid input value should be treated as a missing value and follow the behavior specified by the missingValueReplacement attribute if present.
returnInvalid
          When an invalid input is encountered, the model should return a value indicating an invalid result has been returned
 
Method Summary
static InvalidValueTreatmentMethod valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InvalidValueTreatmentMethod[] 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

returnInvalid

public static final InvalidValueTreatmentMethod returnInvalid
When an invalid input is encountered, the model should return a value indicating an invalid result has been returned


asIs

public static final InvalidValueTreatmentMethod asIs
Use the input without modification


asMissing

public static final InvalidValueTreatmentMethod asMissing
An invalid input value should be treated as a missing value and follow the behavior specified by the missingValueReplacement attribute if present.

Method Detail

values

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

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

valueOf

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