@Generated(value="org.nuiton.topia.templates.EntityEnumTransformer", date="Tue Aug 26 18:11:02 CEST 2014") public enum SecurityEntityEnum extends Enum<SecurityEntityEnum> implements org.nuiton.topia.persistence.TopiaEntityEnum
| Enum Constant and Description |
|---|
SecurityRole |
SecurityUser |
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends org.nuiton.topia.persistence.TopiaEntity> |
contract
The contract of the entity.
|
protected String |
dbSchemaName
The optional name of database schema of the entity (if none was filled, will be
null). |
protected String |
dbTableName
The name of the database table for 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Class<? extends org.nuiton.topia.persistence.TopiaEntity> klass) |
String |
dbSchemaName() |
String |
dbTableName() |
Class<? extends org.nuiton.topia.persistence.TopiaEntity> |
getContract() |
static <T extends org.nuiton.topia.persistence.TopiaEntity> |
getContractClass(Class<T> klass) |
static Class<? extends org.nuiton.topia.persistence.TopiaEntity>[] |
getContractClasses() |
static SecurityEntityEnum[] |
getContracts() |
Class<? extends org.nuiton.topia.persistence.TopiaEntity> |
getImplementation() |
static <T extends org.nuiton.topia.persistence.TopiaEntity> |
getImplementationClass(Class<T> klass) |
static Class<? extends org.nuiton.topia.persistence.TopiaEntity>[] |
getImplementationClasses() |
static String |
getImplementationClassesAsString() |
String |
getImplementationFQN() |
String[] |
getNaturalIds() |
String[] |
getNotNulls() |
boolean |
isUseNaturalIds() |
boolean |
isUseNotNulls() |
void |
setImplementationFQN(String implementationFQN) |
static SecurityEntityEnum |
valueOf(Class<?> klass) |
static SecurityEntityEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityEntityEnum |
valueOf(org.nuiton.topia.persistence.TopiaEntity entity) |
static SecurityEntityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityEntityEnum SecurityRole
public static final SecurityEntityEnum SecurityUser
protected Class<? extends org.nuiton.topia.persistence.TopiaEntity> contract
protected String dbSchemaName
null).protected String dbTableName
protected String implementationFQN
protected Class<? extends org.nuiton.topia.persistence.TopiaEntity> implementation
protected String[] naturalIds
protected String[] notNulls
public static SecurityEntityEnum[] values()
for (SecurityEntityEnum c : SecurityEntityEnum.values()) System.out.println(c);
public static SecurityEntityEnum 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 org.nuiton.topia.persistence.TopiaEntity> getContract()
getContract in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic String dbSchemaName()
dbSchemaName in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic String dbTableName()
dbTableName in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic String[] getNaturalIds()
getNaturalIds in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic boolean isUseNaturalIds()
isUseNaturalIds in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic String[] getNotNulls()
getNotNulls in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic boolean isUseNotNulls()
isUseNotNulls in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic String getImplementationFQN()
getImplementationFQN in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic void setImplementationFQN(String implementationFQN)
setImplementationFQN in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic boolean accept(Class<? extends org.nuiton.topia.persistence.TopiaEntity> klass)
accept in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic Class<? extends org.nuiton.topia.persistence.TopiaEntity> getImplementation()
getImplementation in interface org.nuiton.topia.persistence.TopiaEntityEnumpublic static SecurityEntityEnum valueOf(org.nuiton.topia.persistence.TopiaEntity entity)
public static SecurityEntityEnum valueOf(Class<?> klass)
public static SecurityEntityEnum[] getContracts()
public static <T extends org.nuiton.topia.persistence.TopiaEntity> Class<T> getContractClass(Class<T> klass)
public static Class<? extends org.nuiton.topia.persistence.TopiaEntity>[] getContractClasses()
public static <T extends org.nuiton.topia.persistence.TopiaEntity> Class<T> getImplementationClass(Class<T> klass)
public static Class<? extends org.nuiton.topia.persistence.TopiaEntity>[] getImplementationClasses()
public static String getImplementationClassesAsString()
Copyright © 2010–2014 CodeLutin. All rights reserved.