org.nuiton.topia
Class TopiaTestQueryHelper

java.lang.Object
  extended by org.nuiton.topia.TopiaTestQueryHelper

public class TopiaTestQueryHelper
extends Object


Nested Class Summary
static class TopiaTestQueryHelper.AddressProperty
           
static class TopiaTestQueryHelper.BillProperty
           
static class TopiaTestQueryHelper.CompanyProperty
           
static class TopiaTestQueryHelper.Contact2Property
           
static class TopiaTestQueryHelper.DepartmentProperty
           
static class TopiaTestQueryHelper.EmployeProperty
           
static class TopiaTestQueryHelper.EntityProperty<E>
           
static class TopiaTestQueryHelper.ExtraDAOEntityProperty
           
static class TopiaTestQueryHelper.GenderProperty
           
static class TopiaTestQueryHelper.NaturalizedEntityProperty
           
static class TopiaTestQueryHelper.Party2Property
           
static class TopiaTestQueryHelper.PersonneProperty
           
static class TopiaTestQueryHelper.PersonProperty
           
static class TopiaTestQueryHelper.PetProperty
           
static class TopiaTestQueryHelper.ProductProperty
           
static class TopiaTestQueryHelper.QueriedEntityProperty
           
static class TopiaTestQueryHelper.RaceProperty
           
static class TopiaTestQueryHelper.StoreProperty
           
static class TopiaTestQueryHelper.Telephone2Property
           
static class TopiaTestQueryHelper.TypeProperty
           
 
Field Summary
static String ALIAS_ADDRESS
           
static String ALIAS_BILL
           
static String ALIAS_COMPANY
           
static String ALIAS_CONTACT2
           
static String ALIAS_DEPARTMENT
           
static String ALIAS_EMPLOYE
           
static String ALIAS_EXTRA_DAOENTITY
           
static String ALIAS_GENDER
           
static String ALIAS_NATURALIZED_ENTITY
           
static String ALIAS_PARTY2
           
static String ALIAS_PERSON
           
static String ALIAS_PERSONNE
           
static String ALIAS_PET
           
static String ALIAS_PRODUCT
           
static String ALIAS_QUERIED_ENTITY
           
static String ALIAS_RACE
           
static String ALIAS_STORE
           
static String ALIAS_TELEPHONE2
           
static String ALIAS_TYPE
           
 
Constructor Summary
TopiaTestQueryHelper()
           
 
Method Summary
static org.nuiton.topia.framework.TopiaQuery createQuery(TopiaTestQueryHelper.EntityProperty property)
          createQuery :
static String format(String statement, String... propertyNames)
          format :
static TopiaTestQueryHelper.AddressProperty newAddressProperty()
          newAddressProperty :
static TopiaTestQueryHelper.AddressProperty newAddressProperty(String alias)
          newAddressProperty :
static TopiaTestQueryHelper.BillProperty newBillProperty()
          newBillProperty :
static TopiaTestQueryHelper.BillProperty newBillProperty(String alias)
          newBillProperty :
static TopiaTestQueryHelper.CompanyProperty newCompanyProperty()
          newCompanyProperty :
static TopiaTestQueryHelper.CompanyProperty newCompanyProperty(String alias)
          newCompanyProperty :
static TopiaTestQueryHelper.Contact2Property newContact2Property()
          newContact2Property :
static TopiaTestQueryHelper.Contact2Property newContact2Property(String alias)
          newContact2Property :
static TopiaTestQueryHelper.DepartmentProperty newDepartmentProperty()
          newDepartmentProperty :
static TopiaTestQueryHelper.DepartmentProperty newDepartmentProperty(String alias)
          newDepartmentProperty :
static TopiaTestQueryHelper.EmployeProperty newEmployeProperty()
          newEmployeProperty :
static TopiaTestQueryHelper.EmployeProperty newEmployeProperty(String alias)
          newEmployeProperty :
static TopiaTestQueryHelper.ExtraDAOEntityProperty newExtraDAOEntityProperty()
          newExtraDAOEntityProperty :
static TopiaTestQueryHelper.ExtraDAOEntityProperty newExtraDAOEntityProperty(String alias)
          newExtraDAOEntityProperty :
static TopiaTestQueryHelper.GenderProperty newGenderProperty()
          newGenderProperty :
static TopiaTestQueryHelper.GenderProperty newGenderProperty(String alias)
          newGenderProperty :
static TopiaTestQueryHelper.NaturalizedEntityProperty newNaturalizedEntityProperty()
          newNaturalizedEntityProperty :
static TopiaTestQueryHelper.NaturalizedEntityProperty newNaturalizedEntityProperty(String alias)
          newNaturalizedEntityProperty :
static TopiaTestQueryHelper.Party2Property newParty2Property()
          newParty2Property :
static TopiaTestQueryHelper.Party2Property newParty2Property(String alias)
          newParty2Property :
static TopiaTestQueryHelper.PersonneProperty newPersonneProperty()
          newPersonneProperty :
static TopiaTestQueryHelper.PersonneProperty newPersonneProperty(String alias)
          newPersonneProperty :
static TopiaTestQueryHelper.PersonProperty newPersonProperty()
          newPersonProperty :
static TopiaTestQueryHelper.PersonProperty newPersonProperty(String alias)
          newPersonProperty :
static TopiaTestQueryHelper.PetProperty newPetProperty()
          newPetProperty :
static TopiaTestQueryHelper.PetProperty newPetProperty(String alias)
          newPetProperty :
static TopiaTestQueryHelper.ProductProperty newProductProperty()
          newProductProperty :
static TopiaTestQueryHelper.ProductProperty newProductProperty(String alias)
          newProductProperty :
static TopiaTestQueryHelper.QueriedEntityProperty newQueriedEntityProperty()
          newQueriedEntityProperty :
static TopiaTestQueryHelper.QueriedEntityProperty newQueriedEntityProperty(String alias)
          newQueriedEntityProperty :
static TopiaTestQueryHelper.RaceProperty newRaceProperty()
          newRaceProperty :
static TopiaTestQueryHelper.RaceProperty newRaceProperty(String alias)
          newRaceProperty :
static TopiaTestQueryHelper.StoreProperty newStoreProperty()
          newStoreProperty :
static TopiaTestQueryHelper.StoreProperty newStoreProperty(String alias)
          newStoreProperty :
static TopiaTestQueryHelper.Telephone2Property newTelephone2Property()
          newTelephone2Property :
static TopiaTestQueryHelper.Telephone2Property newTelephone2Property(String alias)
          newTelephone2Property :
static TopiaTestQueryHelper.TypeProperty newTypeProperty()
          newTypeProperty :
static TopiaTestQueryHelper.TypeProperty newTypeProperty(String alias)
          newTypeProperty :
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALIAS_COMPANY

public static final String ALIAS_COMPANY
See Also:
Constant Field Values

ALIAS_TYPE

public static final String ALIAS_TYPE
See Also:
Constant Field Values

ALIAS_TELEPHONE2

public static final String ALIAS_TELEPHONE2
See Also:
Constant Field Values

ALIAS_BILL

public static final String ALIAS_BILL
See Also:
Constant Field Values

ALIAS_PERSONNE

public static final String ALIAS_PERSONNE
See Also:
Constant Field Values

ALIAS_EMPLOYE

public static final String ALIAS_EMPLOYE
See Also:
Constant Field Values

ALIAS_NATURALIZED_ENTITY

public static final String ALIAS_NATURALIZED_ENTITY
See Also:
Constant Field Values

ALIAS_PET

public static final String ALIAS_PET
See Also:
Constant Field Values

ALIAS_CONTACT2

public static final String ALIAS_CONTACT2
See Also:
Constant Field Values

ALIAS_RACE

public static final String ALIAS_RACE
See Also:
Constant Field Values

ALIAS_DEPARTMENT

public static final String ALIAS_DEPARTMENT
See Also:
Constant Field Values

ALIAS_PRODUCT

public static final String ALIAS_PRODUCT
See Also:
Constant Field Values

ALIAS_GENDER

public static final String ALIAS_GENDER
See Also:
Constant Field Values

ALIAS_QUERIED_ENTITY

public static final String ALIAS_QUERIED_ENTITY
See Also:
Constant Field Values

ALIAS_PARTY2

public static final String ALIAS_PARTY2
See Also:
Constant Field Values

ALIAS_ADDRESS

public static final String ALIAS_ADDRESS
See Also:
Constant Field Values

ALIAS_EXTRA_DAOENTITY

public static final String ALIAS_EXTRA_DAOENTITY
See Also:
Constant Field Values

ALIAS_PERSON

public static final String ALIAS_PERSON
See Also:
Constant Field Values

ALIAS_STORE

public static final String ALIAS_STORE
See Also:
Constant Field Values
Constructor Detail

TopiaTestQueryHelper

public TopiaTestQueryHelper()
Method Detail

createQuery

public static org.nuiton.topia.framework.TopiaQuery createQuery(TopiaTestQueryHelper.EntityProperty property)
createQuery :

Parameters:
property -
Returns:
TopiaQuery

format

public static String format(String statement,
                            String... propertyNames)
format :

Parameters:
statement -
propertyNames -
Returns:
String

newCompanyProperty

public static TopiaTestQueryHelper.CompanyProperty newCompanyProperty()
newCompanyProperty :

Returns:
CompanyProperty

newCompanyProperty

public static TopiaTestQueryHelper.CompanyProperty newCompanyProperty(String alias)
newCompanyProperty :

Parameters:
alias -
Returns:
CompanyProperty

newTypeProperty

public static TopiaTestQueryHelper.TypeProperty newTypeProperty()
newTypeProperty :

Returns:
TypeProperty

newTypeProperty

public static TopiaTestQueryHelper.TypeProperty newTypeProperty(String alias)
newTypeProperty :

Parameters:
alias -
Returns:
TypeProperty

newTelephone2Property

public static TopiaTestQueryHelper.Telephone2Property newTelephone2Property()
newTelephone2Property :

Returns:
Telephone2Property

newTelephone2Property

public static TopiaTestQueryHelper.Telephone2Property newTelephone2Property(String alias)
newTelephone2Property :

Parameters:
alias -
Returns:
Telephone2Property

newBillProperty

public static TopiaTestQueryHelper.BillProperty newBillProperty()
newBillProperty :

Returns:
BillProperty

newBillProperty

public static TopiaTestQueryHelper.BillProperty newBillProperty(String alias)
newBillProperty :

Parameters:
alias -
Returns:
BillProperty

newPersonneProperty

public static TopiaTestQueryHelper.PersonneProperty newPersonneProperty()
newPersonneProperty :

Returns:
PersonneProperty

newPersonneProperty

public static TopiaTestQueryHelper.PersonneProperty newPersonneProperty(String alias)
newPersonneProperty :

Parameters:
alias -
Returns:
PersonneProperty

newEmployeProperty

public static TopiaTestQueryHelper.EmployeProperty newEmployeProperty()
newEmployeProperty :

Returns:
EmployeProperty

newEmployeProperty

public static TopiaTestQueryHelper.EmployeProperty newEmployeProperty(String alias)
newEmployeProperty :

Parameters:
alias -
Returns:
EmployeProperty

newNaturalizedEntityProperty

public static TopiaTestQueryHelper.NaturalizedEntityProperty newNaturalizedEntityProperty()
newNaturalizedEntityProperty :

Returns:
NaturalizedEntityProperty

newNaturalizedEntityProperty

public static TopiaTestQueryHelper.NaturalizedEntityProperty newNaturalizedEntityProperty(String alias)
newNaturalizedEntityProperty :

Parameters:
alias -
Returns:
NaturalizedEntityProperty

newPetProperty

public static TopiaTestQueryHelper.PetProperty newPetProperty()
newPetProperty :

Returns:
PetProperty

newPetProperty

public static TopiaTestQueryHelper.PetProperty newPetProperty(String alias)
newPetProperty :

Parameters:
alias -
Returns:
PetProperty

newContact2Property

public static TopiaTestQueryHelper.Contact2Property newContact2Property()
newContact2Property :

Returns:
Contact2Property

newContact2Property

public static TopiaTestQueryHelper.Contact2Property newContact2Property(String alias)
newContact2Property :

Parameters:
alias -
Returns:
Contact2Property

newRaceProperty

public static TopiaTestQueryHelper.RaceProperty newRaceProperty()
newRaceProperty :

Returns:
RaceProperty

newRaceProperty

public static TopiaTestQueryHelper.RaceProperty newRaceProperty(String alias)
newRaceProperty :

Parameters:
alias -
Returns:
RaceProperty

newDepartmentProperty

public static TopiaTestQueryHelper.DepartmentProperty newDepartmentProperty()
newDepartmentProperty :

Returns:
DepartmentProperty

newDepartmentProperty

public static TopiaTestQueryHelper.DepartmentProperty newDepartmentProperty(String alias)
newDepartmentProperty :

Parameters:
alias -
Returns:
DepartmentProperty

newProductProperty

public static TopiaTestQueryHelper.ProductProperty newProductProperty()
newProductProperty :

Returns:
ProductProperty

newProductProperty

public static TopiaTestQueryHelper.ProductProperty newProductProperty(String alias)
newProductProperty :

Parameters:
alias -
Returns:
ProductProperty

newGenderProperty

public static TopiaTestQueryHelper.GenderProperty newGenderProperty()
newGenderProperty :

Returns:
GenderProperty

newGenderProperty

public static TopiaTestQueryHelper.GenderProperty newGenderProperty(String alias)
newGenderProperty :

Parameters:
alias -
Returns:
GenderProperty

newQueriedEntityProperty

public static TopiaTestQueryHelper.QueriedEntityProperty newQueriedEntityProperty()
newQueriedEntityProperty :

Returns:
QueriedEntityProperty

newQueriedEntityProperty

public static TopiaTestQueryHelper.QueriedEntityProperty newQueriedEntityProperty(String alias)
newQueriedEntityProperty :

Parameters:
alias -
Returns:
QueriedEntityProperty

newParty2Property

public static TopiaTestQueryHelper.Party2Property newParty2Property()
newParty2Property :

Returns:
Party2Property

newParty2Property

public static TopiaTestQueryHelper.Party2Property newParty2Property(String alias)
newParty2Property :

Parameters:
alias -
Returns:
Party2Property

newAddressProperty

public static TopiaTestQueryHelper.AddressProperty newAddressProperty()
newAddressProperty :

Returns:
AddressProperty

newAddressProperty

public static TopiaTestQueryHelper.AddressProperty newAddressProperty(String alias)
newAddressProperty :

Parameters:
alias -
Returns:
AddressProperty

newExtraDAOEntityProperty

public static TopiaTestQueryHelper.ExtraDAOEntityProperty newExtraDAOEntityProperty()
newExtraDAOEntityProperty :

Returns:
ExtraDAOEntityProperty

newExtraDAOEntityProperty

public static TopiaTestQueryHelper.ExtraDAOEntityProperty newExtraDAOEntityProperty(String alias)
newExtraDAOEntityProperty :

Parameters:
alias -
Returns:
ExtraDAOEntityProperty

newPersonProperty

public static TopiaTestQueryHelper.PersonProperty newPersonProperty()
newPersonProperty :

Returns:
PersonProperty

newPersonProperty

public static TopiaTestQueryHelper.PersonProperty newPersonProperty(String alias)
newPersonProperty :

Parameters:
alias -
Returns:
PersonProperty

newStoreProperty

public static TopiaTestQueryHelper.StoreProperty newStoreProperty()
newStoreProperty :

Returns:
StoreProperty

newStoreProperty

public static TopiaTestQueryHelper.StoreProperty newStoreProperty(String alias)
newStoreProperty :

Parameters:
alias -
Returns:
StoreProperty


Copyright © 2004-2011 CodeLutin. All Rights Reserved.