Code example for Property

Methods: getName

0
	/** 
	 * @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) {
		String str = getPropertyName(property);
		return ReverseEngineeringStrategyUtil.simplePluralize(str);
	} 
	 
	 
	/** 
	 * foo -> Foo 
	 * FOo -> FOo 
	 */ 
Stop searching for code, let great code find you!  Add Codota to your java IDE