Bug 210496 Add hasStyle property in reportItemModel extension point
When chart gets reportItem's properties by extending ReportItem, style properties are null. Hence, model needs to add hasStyle property in reportItemModel extension point
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/ElementDefn.java
if ( prop.isStyleProperty( ) && !isStyle )
				throw new MetaDataException(
						new String[]{name, prop.getName( )},
						MetaDataException.DESIGN_EXCEPTION_INVALID_STYLE_PROP_OPTION );
			
			prop.build( );
		}
	}
	/**
	 * Copies local and parent property definitions to the cached map. After
	 * parsing ROM, property definition should not be added/removed. Otherwise,
	 * cachedProperties can be un-synchronized.
	 */
	private void buildCachedPropertyDefns( )
	{
		
		ElementDefn tmpDefn = this;
		while ( tmpDefn != null )
		{
			cachedProperties.putAll( tmpDefn.properties );
			tmpDefn = tmpDefn.parent;
		}
	}
	/**
	 * Copies properties from the style onto this element. Note that the same
	 * definition object is referenced by both the style element and this
	 * element. That is, we copy the reference, not the data.