public static enum PollenDAOHelper.PollenEntityEnum extends Enum<PollenDAOHelper.PollenEntityEnum> implements org.nuiton.topia.persistence.TopiaEntityEnum
| Enum Constant and Description |
|---|
Choice |
Comment |
PersonList |
PersonToList |
Poll |
PollAccount |
PreventRule |
Result |
UserAccount |
Vote |
VoteToChoice |
VotingList |
| 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 PollenDAOHelper.PollenEntityEnum |
valueOf(Class<?> klass) |
static PollenDAOHelper.PollenEntityEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollenDAOHelper.PollenEntityEnum |
valueOf(org.nuiton.topia.persistence.TopiaEntity entity) |
static PollenDAOHelper.PollenEntityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollenDAOHelper.PollenEntityEnum Choice
public static final PollenDAOHelper.PollenEntityEnum Comment
public static final PollenDAOHelper.PollenEntityEnum PersonList
public static final PollenDAOHelper.PollenEntityEnum PersonToList
public static final PollenDAOHelper.PollenEntityEnum Poll
public static final PollenDAOHelper.PollenEntityEnum PollAccount
public static final PollenDAOHelper.PollenEntityEnum PreventRule
public static final PollenDAOHelper.PollenEntityEnum Result
public static final PollenDAOHelper.PollenEntityEnum UserAccount
public static final PollenDAOHelper.PollenEntityEnum Vote
public static final PollenDAOHelper.PollenEntityEnum VoteToChoice
public static final PollenDAOHelper.PollenEntityEnum VotingList
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 PollenDAOHelper.PollenEntityEnum[] values()
for (PollenDAOHelper.PollenEntityEnum c : PollenDAOHelper.PollenEntityEnum.values()) System.out.println(c);
public static PollenDAOHelper.PollenEntityEnum 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 PollenDAOHelper.PollenEntityEnum valueOf(org.nuiton.topia.persistence.TopiaEntity entity)
public static PollenDAOHelper.PollenEntityEnum valueOf(Class<?> klass)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.