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:
Serializable, Comparable<TopiaTestDAOHelper.TopiaTestEntityEnum>, org.nuiton.topia.persistence.TopiaEntityEnum
Enclosing class:
TopiaTestDAOHelper

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


Enum Constant Summary
Address
           
Bill
           
Company
           
Contact2
           
Department
           
Employe
           
ExtraDAOEntity
           
FrenchCompany
           
NaturalizedEntity
           
Party2
           
Person
           
Personne
           
Pet
           
Product
           
QueriedEntity
           
Race
           
SIREN
           
SIRET
           
Store
           
Telephone2
           
Type
           
 
Field Summary
protected  Class<? extends org.nuiton.topia.persistence.TopiaEntity> contract
          The contract of the entity.
protected  Class<? extends org.nuiton.topia.persistence.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.
protected  String[] naturalIds
          The array of property involved in the natural key of the entity.
protected  String[] notNulls
          The array of not null properties of the entity.
 
Method Summary
 boolean accept(Class<? extends org.nuiton.topia.persistence.TopiaEntity> klass)
           
 Class<? extends org.nuiton.topia.persistence.TopiaEntity> getContract()
           
 Class<? extends org.nuiton.topia.persistence.TopiaEntity> getImplementation()
           
 String getImplementationFQN()
           
 String[] getNaturalIds()
           
 String[] getNotNulls()
           
 boolean isUseNaturalIds()
           
 boolean isUseNotNulls()
           
 void setImplementationFQN(String implementationFQN)
           
static TopiaTestDAOHelper.TopiaTestEntityEnum valueOf(Class<?> klass)
           
static TopiaTestDAOHelper.TopiaTestEntityEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TopiaTestDAOHelper.TopiaTestEntityEnum valueOf(org.nuiton.topia.persistence.TopiaEntity entity)
           
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

FrenchCompany

public static final TopiaTestDAOHelper.TopiaTestEntityEnum FrenchCompany

SIREN

public static final TopiaTestDAOHelper.TopiaTestEntityEnum SIREN

SIRET

public static final TopiaTestDAOHelper.TopiaTestEntityEnum SIRET

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

ExtraDAOEntity

public static final TopiaTestDAOHelper.TopiaTestEntityEnum ExtraDAOEntity

NaturalizedEntity

public static final TopiaTestDAOHelper.TopiaTestEntityEnum NaturalizedEntity

Personne

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Personne

Product

public static final TopiaTestDAOHelper.TopiaTestEntityEnum Product

QueriedEntity

public static final TopiaTestDAOHelper.TopiaTestEntityEnum QueriedEntity

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


naturalIds

protected String[] naturalIds
The array of property involved in the natural key of the entity.


notNulls

protected String[] notNulls
The array of not null properties of the entity.

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(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 org.nuiton.topia.persistence.TopiaEntity> getContract()
Specified by:
getContract in interface org.nuiton.topia.persistence.TopiaEntityEnum

getNaturalIds

public String[] getNaturalIds()
Specified by:
getNaturalIds in interface org.nuiton.topia.persistence.TopiaEntityEnum

isUseNaturalIds

public boolean isUseNaturalIds()
Specified by:
isUseNaturalIds in interface org.nuiton.topia.persistence.TopiaEntityEnum

getNotNulls

public String[] getNotNulls()
Specified by:
getNotNulls in interface org.nuiton.topia.persistence.TopiaEntityEnum

isUseNotNulls

public boolean isUseNotNulls()
Specified by:
isUseNotNulls in interface org.nuiton.topia.persistence.TopiaEntityEnum

getImplementationFQN

public String getImplementationFQN()
Specified by:
getImplementationFQN in interface org.nuiton.topia.persistence.TopiaEntityEnum

setImplementationFQN

public void setImplementationFQN(String implementationFQN)
Specified by:
setImplementationFQN in interface org.nuiton.topia.persistence.TopiaEntityEnum

accept

public boolean accept(Class<? extends org.nuiton.topia.persistence.TopiaEntity> klass)
Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntityEnum

getImplementation

public Class<? extends org.nuiton.topia.persistence.TopiaEntity> getImplementation()
Specified by:
getImplementation in interface org.nuiton.topia.persistence.TopiaEntityEnum

valueOf

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

valueOf

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


Copyright © 2004-2012 CodeLutin. All Rights Reserved.