Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sapphire-dev] Enum values with out adding class

Hi,
I have a big list of properties most of them are enum type (combo selection). Currently we have create a java class with supported values and attach as type base

@Type( base = tChoice.class )
@Label( standard = "SI" )
@XmlBinding( path = "SI" )

 ValueProperty PROP_SI = new ValueProperty( TYPE, "si" );
 Value<tChoice> getSi();

is there a way I can add list of supported values in annotation itself with out creating class for each and every property or is there an alternate approach not to create huge list of classes for each combo boxes?

Thanks,
-Naga
 

Back to the top