Code example for Property

Methods: getName

0
	 * Method getGetterSignature. 
	 * 
	 * @return String 
	 */ 
	public String getGetterSignature(Property p) {
		String prefix = c2j.getJavaTypeName( p, false).equals( "boolean" ) ? "is" : "get";
		return prefix + beanCapitalize( p.getName() );
	} 
 
	/** 
	 * @param p 
	 * @return foo -> Foo, FOo -> FOo 
	 */ 
	public String getPropertyName(Property p) {
		return beanCapitalize( p.getName() );
	} 
 
 
	// get the "opposite" collectionnae for a property. Currently a "hack" that just uses the same naming algorithm as in reveng, will fail on more general models! 
	public String getCollectionNameFor(Property property) {
Connect your IDE to all the code out there  Get Codota for Java