org.nuiton.topia
Enum TopiaTestDAOHelper.TopiaTestEntityEnum

java.lang.Object
  extended by java.lang.Enum<TopiaTestDAOHelper.TopiaTestEntityEnum>
      extended by org.nuiton.topia.TopiaTestDAOHelper.TopiaTestEntityEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TopiaTestDAOHelper.TopiaTestEntityEnum>, org.nuiton.topia.persistence.TopiaEntityEnum
Enclosing class:
TopiaTestDAOHelper

public static enum TopiaTestDAOHelper.TopiaTestEntityEnum
extends java.lang.Enum<TopiaTestDAOHelper.TopiaTestEntityEnum>
implements org.nuiton.topia.persistence.TopiaEntityEnum


Enum Constant Summary
Address
           
Bill
           
Company
           
Contact2
           
Department
           
Employe
           
Party2
           
Person
           
Personne
           
Pet
           
Product
           
Race
           
Store
           
Telephone2
           
Type
           
 
Field Summary
protected  java.lang.Class<? extends org.nuiton.topia.persistence.TopiaEntity> contract
          the contract of the entity
protected  java.lang.Class<? extends org.nuiton.topia.persistence.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 org.nuiton.topia.persistence.TopiaEntity> klass)
          accept :
 java.lang.Class<? extends org.nuiton.topia.persistence.TopiaEntity> getContract()
          getContract :
 java.lang.Class<? extends org.nuiton.topia.persistence.TopiaEntity> getImplementation()
          getImplementation :
 java.lang.String getImplementationFQN()
          getImplementationFQN :
 void setImplementationFQN(java.lang.String implementationFQN)
          setImplementationFQN :
static TopiaTestDAOHelper.TopiaTestEntityEnum valueOf(java.lang.Class<?> klass)
          valueOf :
static TopiaTestDAOHelper.TopiaTestEntityEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TopiaTestDAOHelper.TopiaTestEntityEnum valueOf(org.nuiton.topia.persistence.TopiaEntity entity)
          valueOf :
static TopiaTestDAOHelper.TopiaTestEntityEnum[] 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

Person

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Person

Pet

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Pet

Race

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Race

Address

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Address

Bill

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Bill

Company

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Company

Department

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Department

Employe

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Employe

Personne

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Personne

Product

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Product

Store

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Store

Type

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Type

Contact2

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Contact2

Party2

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Party2

Telephone2

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Telephone2
Field Detail

contract

protected java.lang.Class<? extends org.nuiton.topia.persistence.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 org.nuiton.topia.persistence.TopiaEntity> implementation
the implementation class of the entity (will be lazy computed at runtime)

Method Detail

values

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

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

valueOf

public static TopiaTestDAOHelper.TopiaTestEntityEnum 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 org.nuiton.topia.persistence.TopiaEntity> getContract()
getContract :

Specified by:
getContract in interface org.nuiton.topia.persistence.TopiaEntityEnum
Returns:
Class

getImplementationFQN

public java.lang.String getImplementationFQN()
getImplementationFQN :

Specified by:
getImplementationFQN in interface org.nuiton.topia.persistence.TopiaEntityEnum
Returns:
String

setImplementationFQN

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

Specified by:
setImplementationFQN in interface org.nuiton.topia.persistence.TopiaEntityEnum
Parameters:
implementationFQN -

accept

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

Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntityEnum
Parameters:
klass -
Returns:
boolean

getImplementation

public java.lang.Class<? extends org.nuiton.topia.persistence.TopiaEntity> getImplementation()
getImplementation :

Specified by:
getImplementation in interface org.nuiton.topia.persistence.TopiaEntityEnum
Returns:
Class

valueOf

public static TopiaTestDAOHelper.TopiaTestEntityEnum valueOf(org.nuiton.topia.persistence.TopiaEntity entity)
valueOf :

Parameters:
entity -
Returns:
TopiaTestEntityEnum

valueOf

public static TopiaTestDAOHelper.TopiaTestEntityEnum valueOf(java.lang.Class<?> klass)
valueOf :

Parameters:
klass -
Returns:
TopiaTestEntityEnum


Copyright © 2004-2010 CodeLutin. All Rights Reserved.