public abstract class AbstractNamer extends Object implements Namer
| Constructor and Description | 
|---|
AbstractNamer()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAdder()
Name of the adder method to use to add element in the var returned by  
Namer.getVars(). | 
String | 
getAdders()
Name of the adder method to use to add multiple elements in the var returned by  
Namer.getVars(). | 
String | 
getContains()
Name of the 'contains' method to use to check whether the collection var returned by  
Namer.getVars()
 contains an element. | 
String | 
getEditer()
Name to the editer method to use when editing the var returned by  
Namer.getVar(). | 
String | 
getFullType()
The full Java type, with package information. 
 | 
String | 
getGetter()
Name of the getter method to use when getting the var returned by  
Namer.getVar(). | 
String | 
getGetterLocalized()  | 
String | 
getGetters()
Name of the getter method to use when getting the var returned by  
Namer.getVars(). | 
String | 
getHas()  | 
String | 
getHasPlural()  | 
String | 
getHibernateFilterName()  | 
abstract String | 
getPackageName()
The full package name. 
 | 
String | 
getPackageNode(int index)
Get node of the package name. 
 | 
String | 
getPackageNodeUp(int index)
Same as  
getPackageNode(int) with the first character upper cased. | 
String | 
getPath()
The path corresponding to the package name. 
 | 
String | 
getRandomGetter()  | 
String | 
getRemover()
Name of the remover method to use when removing an element from the collection var returned by  
Namer.getVars(). | 
String | 
getRemovers()
Name of the remover method to use when removing multiple elements from the collection var returned by  
Namer.getVars(). | 
String | 
getSetter()
Name to the setter method to use when setting the var returned by  
Namer.getVar(). | 
String | 
getSetters()
Name to the setter method to use when setting the var returned by  
Namer.getVars(). | 
String | 
getTestType()
return the concatenation of # 
getType() + "Test". | 
abstract String | 
getType()
The java Type name, without any package information. 
 | 
String | 
getTypeLow()
The java Type name in lower case, without any package information. 
 | 
String | 
getUniqueDeleter()  | 
String | 
getUniqueGetter()  | 
String | 
getVar()
The var for the current type. 
 | 
String | 
getVarLocalized()  | 
String | 
getVars()
The var for a current type collection. 
 | 
String | 
getVarsUp()
Same as  
Namer.getVars() but starts with an upper case. | 
String | 
getVarUp()
Same as  
Namer.getVar() but starts with an upper case. | 
String | 
getWith()
Fluent method name. 
 | 
public abstract String getPackageName()
NamergetPackageName in interface Namerpublic abstract String getType()
Namerpublic String getVar()
Namerpublic String getPath()
Namer"com/company/project/domain" if the package name is com.company.project.domain.public String getFullType()
NamergetFullType in interface Namerpublic String getTypeLow()
NamergetTypeLow in interface Namerpublic String getPackageNode(int index)
com.jaxio.toto.tutu you get getPackageNode(0) -> tutu getPackageNode(1) = toto etc.public String getPackageNodeUp(int index)
getPackageNode(int) with the first character upper cased.public String getVarUp()
NamerNamer.getVar() but starts with an upper case. Ex: ParentBankAccount.
 Used to construct derived method.public String getVars()
Namerpublic String getVarsUp()
NamerNamer.getVars() but starts with an upper case. Ex: ParentBankAccounts.public String getWith()
Namerpublic String getGetter()
NamerNamer.getVar().
 Ex: getParentBankAccountpublic String getGetters()
NamerNamer.getVars().
 Ex: getParentBankAccountsgetGetters in interface Namerpublic String getSetter()
NamerNamer.getVar().
 Ex: setParentBankAccountpublic String getSetters()
NamerNamer.getVars().
 Ex: setParentBankAccountsgetSetters in interface Namerpublic String getAdder()
NamerNamer.getVars().
 Ex: addParentBankAccountpublic String getAdders()
NamerNamer.getVars().
 Ex: addParentBankAccountspublic String getContains()
NamerNamer.getVars()
 contains an element. Ex: containsParentBankAccountgetContains in interface Namerpublic String getRemover()
NamerNamer.getVars().
 Ex: removeParentBankAccountgetRemover in interface Namerpublic String getRemovers()
NamerNamer.getVars().
 Ex: removeParentBankAccountsgetRemovers in interface Namerpublic String getUniqueGetter()
public String getUniqueDeleter()
public String getGetterLocalized()
public String getEditer()
NamerNamer.getVar().
 Ex: editParentBankAccountpublic String getVarLocalized()
public String getHibernateFilterName()
getHibernateFilterName in interface Namerpublic String getRandomGetter()
public String getHas()
public String getHasPlural()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.