info.sswap.impl.empire.model
Enum ProtocolImpl.MappingValidator.MappingType

java.lang.Object
  extended by java.lang.Enum<ProtocolImpl.MappingValidator.MappingType>
      extended by info.sswap.impl.empire.model.ProtocolImpl.MappingValidator.MappingType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProtocolImpl.MappingValidator.MappingType>
Enclosing interface:
ProtocolImpl.MappingValidator<T>

public static enum ProtocolImpl.MappingValidator.MappingType
extends java.lang.Enum<ProtocolImpl.MappingValidator.MappingType>


Enum Constant Summary
ANY
          Protocol type
EQUIVALENT
          Protocol type should be equivalent to RDG type
SUB
          Protocol type should be subclass of RDG type
SUB_IF_NOT_TOP
          Protocol type should be subclass of RDG type or protocol type should be equal to TOP (owl:Thing)
SUPER
          Protocol type should be a super class of RDG type
 
Method Summary
static ProtocolImpl.MappingValidator.MappingType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProtocolImpl.MappingValidator.MappingType[] 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

SUB

public static final ProtocolImpl.MappingValidator.MappingType SUB
Protocol type should be subclass of RDG type


SUB_IF_NOT_TOP

public static final ProtocolImpl.MappingValidator.MappingType SUB_IF_NOT_TOP
Protocol type should be subclass of RDG type or protocol type should be equal to TOP (owl:Thing)


SUPER

public static final ProtocolImpl.MappingValidator.MappingType SUPER
Protocol type should be a super class of RDG type


EQUIVALENT

public static final ProtocolImpl.MappingValidator.MappingType EQUIVALENT
Protocol type should be equivalent to RDG type


ANY

public static final ProtocolImpl.MappingValidator.MappingType ANY
Protocol type

Method Detail

values

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

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

valueOf

public static ProtocolImpl.MappingValidator.MappingType 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


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.