Never tried that. You might want to try something like:
java_get('Asset.AssetType', 'CASH')
Michael.
On Wed, Nov 18, 2009 at 4:02 PM, Ken <[email protected]> wrote:
> I have a java class like:
>
> abstract public class Asset implements TickPriceListener {
> final static Logger logger = Logger.getLogger(Asset.class.getName());
> private int uniqueId;
> private String symbol;
> private AssetType type;
> private Currency currency;
> private Exchange exchange;
>
> static public enum AssetType {
>
> CASH,
> STK,
> OPT,
> FUT
> };
>
> static public enum Currency {
>
> USD,
> GBP,
> EUR
> };
>
> public static enum Exchange {
>
> NYSE,
> GLOBEX,
> LSE
> };
>
> }
>
>
> How can I access the enum types in this class with the java-1.2.6 package?
>
>
> Thanks,
> Ken
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Octave-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/octave-dev
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev