@Generated(value="org.nuiton.topia.templates.EntityEnumTransformer", date="Mon Jan 27 18:25:07 CET 2014") public enum TopiaTestEntityEnum extends Enum<TopiaTestEntityEnum> implements TopiaEntityEnum
| Enum Constant and Description |
|---|
Address |
Bill |
Company |
Contact2 |
Department |
Employe |
ExtraDAOEntity |
FrenchCompany |
GeneralizedNaturalizedEntity |
NaturalizedEntity |
Party2 |
Person |
Personne |
Pet |
Product |
QueriedEntity |
Race |
SIREN |
SIRET |
Store |
Telephone2 |
Type |
| Modifier and Type | Field and Description |
|---|---|
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.
|
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final TopiaTestEntityEnum FrenchCompany
public static final TopiaTestEntityEnum SIREN
public static final TopiaTestEntityEnum SIRET
public static final TopiaTestEntityEnum Person
public static final TopiaTestEntityEnum Pet
public static final TopiaTestEntityEnum Race
public static final TopiaTestEntityEnum Address
public static final TopiaTestEntityEnum Bill
public static final TopiaTestEntityEnum Company
public static final TopiaTestEntityEnum Department
public static final TopiaTestEntityEnum Employe
public static final TopiaTestEntityEnum ExtraDAOEntity
public static final TopiaTestEntityEnum GeneralizedNaturalizedEntity
public static final TopiaTestEntityEnum NaturalizedEntity
public static final TopiaTestEntityEnum Personne
public static final TopiaTestEntityEnum Product
public static final TopiaTestEntityEnum QueriedEntity
public static final TopiaTestEntityEnum Store
public static final TopiaTestEntityEnum Type
public static final TopiaTestEntityEnum Contact2
public static final TopiaTestEntityEnum Party2
public static final TopiaTestEntityEnum Telephone2
protected Class<? extends TopiaEntity> contract
protected String implementationFQN
protected Class<? extends TopiaEntity> implementation
protected String[] naturalIds
protected String[] notNulls
public static TopiaTestEntityEnum[] values()
for (TopiaTestEntityEnum c : TopiaTestEntityEnum.values()) System.out.println(c);
public static TopiaTestEntityEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic Class<? extends TopiaEntity> getContract()
getContract in interface TopiaEntityEnumpublic String[] getNaturalIds()
getNaturalIds in interface TopiaEntityEnumpublic boolean isUseNaturalIds()
isUseNaturalIds in interface TopiaEntityEnumpublic String[] getNotNulls()
getNotNulls in interface TopiaEntityEnumpublic boolean isUseNotNulls()
isUseNotNulls in interface TopiaEntityEnumpublic String getImplementationFQN()
getImplementationFQN in interface TopiaEntityEnumpublic void setImplementationFQN(String implementationFQN)
setImplementationFQN in interface TopiaEntityEnumpublic boolean accept(Class<? extends TopiaEntity> klass)
accept in interface TopiaEntityEnumpublic Class<? extends TopiaEntity> getImplementation()
getImplementation in interface TopiaEntityEnumpublic static TopiaTestEntityEnum valueOf(TopiaEntity entity)
public static TopiaTestEntityEnum valueOf(Class<?> klass)
public static TopiaTestEntityEnum[] getContracts()
public static <T extends TopiaEntity> Class<T> getContractClass(Class<T> klass)
public static Class<? extends TopiaEntity>[] getContractClasses()
public static <T extends TopiaEntity> Class<T> getImplementationClass(Class<T> klass)
public static Class<? extends TopiaEntity>[] getImplementationClasses()
public static String getImplementationClassesAsString()
public static <T extends TopiaEntity> EntityOperator<T> getOperator(Class<T> klass)
Copyright © 2004–2014 CodeLutin. All rights reserved.