org.chorem.pollen.entities
Enum PollenDAOHelper.PollenEntityEnum

java.lang.Object
  extended by java.lang.Enum<PollenDAOHelper.PollenEntityEnum>
      extended by org.chorem.pollen.entities.PollenDAOHelper.PollenEntityEnum
All Implemented Interfaces:
Serializable, Comparable<PollenDAOHelper.PollenEntityEnum>, org.nuiton.topia.persistence.TopiaEntityEnum
Enclosing class:
PollenDAOHelper

public static enum PollenDAOHelper.PollenEntityEnum
extends Enum<PollenDAOHelper.PollenEntityEnum>
implements org.nuiton.topia.persistence.TopiaEntityEnum


Enum Constant Summary
Choice
           
Comment
           
PersonList
           
PersonToList
           
Poll
           
PollAccount
           
PreventRule
           
Result
           
UserAccount
           
Vote
           
VoteToChoice
           
VotingList
           
 
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 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.
 
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

Choice

public static final PollenDAOHelper.PollenEntityEnum Choice

Comment

public static final PollenDAOHelper.PollenEntityEnum Comment

PersonList

public static final PollenDAOHelper.PollenEntityEnum PersonList

PersonToList

public static final PollenDAOHelper.PollenEntityEnum PersonToList

Poll

public static final PollenDAOHelper.PollenEntityEnum Poll

PollAccount

public static final PollenDAOHelper.PollenEntityEnum PollAccount

PreventRule

public static final PollenDAOHelper.PollenEntityEnum PreventRule

Result

public static final PollenDAOHelper.PollenEntityEnum Result

UserAccount

public static final PollenDAOHelper.PollenEntityEnum UserAccount

Vote

public static final PollenDAOHelper.PollenEntityEnum Vote

VoteToChoice

public static final PollenDAOHelper.PollenEntityEnum VoteToChoice

VotingList

public static final PollenDAOHelper.PollenEntityEnum VotingList
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 PollenDAOHelper.PollenEntityEnum[] 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 (PollenDAOHelper.PollenEntityEnum c : PollenDAOHelper.PollenEntityEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PollenDAOHelper.PollenEntityEnum 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 PollenDAOHelper.PollenEntityEnum valueOf(org.nuiton.topia.persistence.TopiaEntity entity)

valueOf

public static PollenDAOHelper.PollenEntityEnum valueOf(Class<?> klass)


Copyright © 2009-2012 CodeLutin. All Rights Reserved.