org.nuiton.topia
Enum TopiaHistoryDAOHelper.TopiaHistoryEntityEnum

java.lang.Object
  extended by java.lang.Enum<TopiaHistoryDAOHelper.TopiaHistoryEntityEnum>
      extended by org.nuiton.topia.TopiaHistoryDAOHelper.TopiaHistoryEntityEnum
All Implemented Interfaces:
Serializable, Comparable<TopiaHistoryDAOHelper.TopiaHistoryEntityEnum>, TopiaEntityEnum
Enclosing class:
TopiaHistoryDAOHelper

public static enum TopiaHistoryDAOHelper.TopiaHistoryEntityEnum
extends Enum<TopiaHistoryDAOHelper.TopiaHistoryEntityEnum>
implements TopiaEntityEnum


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

History

public static final TopiaHistoryDAOHelper.TopiaHistoryEntityEnum History
Field Detail

contract

protected Class<? extends TopiaEntity> contract
the contract of the entity


implementationFQN

protected String implementationFQN
the fully qualified name of the implementation of the entity


implementation

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

Method Detail

values

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

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

valueOf

public static TopiaHistoryDAOHelper.TopiaHistoryEntityEnum 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

getContract

public Class<? extends TopiaEntity> getContract()
getContract :

Specified by:
getContract in interface TopiaEntityEnum
Returns:
Class

getImplementationFQN

public String getImplementationFQN()
getImplementationFQN :

Specified by:
getImplementationFQN in interface TopiaEntityEnum
Returns:
String

setImplementationFQN

public void setImplementationFQN(String implementationFQN)
setImplementationFQN :

Specified by:
setImplementationFQN in interface TopiaEntityEnum
Parameters:
implementationFQN -

accept

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

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

getImplementation

public Class<? extends TopiaEntity> getImplementation()
getImplementation :

Specified by:
getImplementation in interface TopiaEntityEnum
Returns:
Class

valueOf

public static TopiaHistoryDAOHelper.TopiaHistoryEntityEnum valueOf(TopiaEntity entity)
valueOf :

Parameters:
entity -
Returns:
TopiaHistoryEntityEnum

valueOf

public static TopiaHistoryDAOHelper.TopiaHistoryEntityEnum valueOf(Class<?> klass)
valueOf :

Parameters:
klass -
Returns:
TopiaHistoryEntityEnum


Copyright © 2004-2010 CodeLutin. All Rights Reserved.