public static enum SecurityDAOHelper.SecurityEntityEnum extends Enum<SecurityDAOHelper.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 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) |
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 SecurityDAOHelper.SecurityEntityEnum |
valueOf(Class<?> klass) |
static SecurityDAOHelper.SecurityEntityEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityDAOHelper.SecurityEntityEnum |
valueOf(org.nuiton.topia.persistence.TopiaEntity entity) |
static SecurityDAOHelper.SecurityEntityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityDAOHelper.SecurityEntityEnum SecurityRole
public static final SecurityDAOHelper.SecurityEntityEnum SecurityUser
protected Class<? extends org.nuiton.topia.persistence.TopiaEntity> contract
protected String implementationFQN
protected Class<? extends org.nuiton.topia.persistence.TopiaEntity> implementation
protected String[] naturalIds
protected String[] notNulls
public static SecurityDAOHelper.SecurityEntityEnum[] values()
for (SecurityDAOHelper.SecurityEntityEnum c : SecurityDAOHelper.SecurityEntityEnum.values()) System.out.println(c);
public static SecurityDAOHelper.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[] 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 SecurityDAOHelper.SecurityEntityEnum valueOf(org.nuiton.topia.persistence.TopiaEntity entity)
public static SecurityDAOHelper.SecurityEntityEnum valueOf(Class<?> klass)
Copyright © 2010-2013 CodeLutin. All Rights Reserved.