Bug 180089 BIRT model - TOC predefined styles
In ROM we need to support predefined styles for TOC too. This will allow user to easily create a TOC style, by creating one of two styles. Suggestion i have is - TOC ( Applies to all TOC nodes ) - TOC-level1 ( If defined applies to first level toc nodes ) - TOC-level2 ........... - TOC-level5
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/core/UserPropertyDefn.java
.getPropertyType( IPropertyType.STRING_TYPE_NAME );
		setType( typeDefn );
	}
	/**
	 * Gets valid types for user property. Each one in the list is an instance
	 * of <code>IPropertyType</code>.
	 * 
	 * @return the list of allowed property types for user property.
	 */
	public static List getAllowedTypes( )
	{
		if ( allowedTypes != null )
			return allowedTypes;
		allowedTypes = new ArrayList( );
		Iterator iter = MetaDataDictionary.getInstance( ).getPropertyTypes( )
				.iterator( );
		while ( iter.hasNext( ) )
		{
			PropertyType propType = (PropertyType) iter.next( );
			int type = propType.getTypeCode( );
			switch ( type )
			{
				case IPropertyType.STRING_TYPE :
				case IPropertyType.BOOLEAN_TYPE :
				case IPropertyType.DATE_TIME_TYPE :
				case IPropertyType.FLOAT_TYPE :
				case IPropertyType.INTEGER_TYPE :
				case IPropertyType.EXPRESSION_TYPE :
					allowedTypes.add( propType );
					break;