org.nuiton.topia.migration
Enum MigrationServiceDAOHelper.MigrationServiceEntityEnum

java.lang.Object
  extended by java.lang.Enum<MigrationServiceDAOHelper.MigrationServiceEntityEnum>
      extended by org.nuiton.topia.migration.MigrationServiceDAOHelper.MigrationServiceEntityEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MigrationServiceDAOHelper.MigrationServiceEntityEnum>, TopiaEntityEnum
Enclosing class:
MigrationServiceDAOHelper

public static enum MigrationServiceDAOHelper.MigrationServiceEntityEnum
extends java.lang.Enum<MigrationServiceDAOHelper.MigrationServiceEntityEnum>
implements TopiaEntityEnum


Enum Constant Summary
TMSVersion
           
 
Field Summary
protected  java.lang.Class<? extends TopiaEntity> contract
          the contract of the entity
protected  java.lang.Class<? extends TopiaEntity> implementation
          the implementation class of the entity (will be lazy computed at runtime)
protected  java.lang.String implementationFQN
          the fully qualified name of the implementation of the entity
 
Method Summary
 boolean accept(java.lang.Class<? extends TopiaEntity> klass)
          accept :
 java.lang.Class<? extends TopiaEntity> getContract()
          getContract :
 java.lang.Class<? extends TopiaEntity> getImplementation()
          getImplementation :
 java.lang.String getImplementationFQN()
          getImplementationFQN :
 void setImplementationFQN(java.lang.String implementationFQN)
          setImplementationFQN :
static MigrationServiceDAOHelper.MigrationServiceEntityEnum valueOf(java.lang.Class<?> klass)
          valueOf :
static MigrationServiceDAOHelper.MigrationServiceEntityEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MigrationServiceDAOHelper.MigrationServiceEntityEnum valueOf(TopiaEntity entity)
          valueOf :
static MigrationServiceDAOHelper.MigrationServiceEntityEnum[] 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

TMSVersion

public static final MigrationServiceDAOHelper.MigrationServiceEntityEnum TMSVersion
Field Detail

contract

protected java.lang.Class<? extends TopiaEntity> contract
the contract of the entity


implementationFQN

protected java.lang.String implementationFQN
the fully qualified name of the implementation of the entity


implementation

protected java.lang.Class<? extends TopiaEntity> implementation
the implementation class of the entity (will be lazy computed at runtime)

Method Detail

values

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

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

valueOf

public static MigrationServiceDAOHelper.MigrationServiceEntityEnum 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

getContract

public java.lang.Class<? extends TopiaEntity> getContract()
getContract :

Specified by:
getContract in interface TopiaEntityEnum
Returns:
Class

getImplementationFQN

public java.lang.String getImplementationFQN()
getImplementationFQN :

Specified by:
getImplementationFQN in interface TopiaEntityEnum
Returns:
String

setImplementationFQN

public void setImplementationFQN(java.lang.String implementationFQN)
setImplementationFQN :

Specified by:
setImplementationFQN in interface TopiaEntityEnum
Parameters:
implementationFQN -

accept

public boolean accept(java.lang.Class<? extends TopiaEntity> klass)
accept :

Specified by:
accept in interface TopiaEntityEnum
Parameters:
klass -
Returns:
boolean

getImplementation

public java.lang.Class<? extends TopiaEntity> getImplementation()
getImplementation :

Specified by:
getImplementation in interface TopiaEntityEnum
Returns:
Class

valueOf

public static MigrationServiceDAOHelper.MigrationServiceEntityEnum valueOf(TopiaEntity entity)
valueOf :

Parameters:
entity -
Returns:
MigrationServiceEntityEnum

valueOf

public static MigrationServiceDAOHelper.MigrationServiceEntityEnum valueOf(java.lang.Class<?> klass)
valueOf :

Parameters:
klass -
Returns:
MigrationServiceEntityEnum


Copyright © 2004-2009 CodeLutin. All Rights Reserved.