The "real" or internal name of an inner class in Outer$Inner; so you
could create  a MyClass.OID in Jess with (new MyClass$OID).

I think Michael Welter wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Is is possible to access the fields of an inner class from within Jess
> rules?
> 
> The class would be:
>   public static class OID {
>     public long id;
>     public OID() {}
>     public boolean equals( Object obj ) { ... }
>     public int hashCode() { ... }
>   }
> 
> To access the class in Java:
>   MyClass.OID myInstance = new MyClass.OID();
>   myInstance.id = 1234;
>   ...
> 
> What would be the syntax to instantiate the class from within a rule?
> 
> Thank you.
> 
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
> (use your own address!) List problems? Notify [EMAIL PROTECTED]
> --------------------------------------------------------------------
> 



---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to