SearchControls.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_naming_directory_SearchControls__
  3. #define __javax_naming_directory_SearchControls__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace naming
  12. {
  13. namespace directory
  14. {
  15. class SearchControls;
  16. }
  17. }
  18. }
  19. }
  20. class javax::naming::directory::SearchControls : public ::java::lang::Object
  21. {
  22. public:
  23. SearchControls();
  24. SearchControls(jint, jlong, jint, JArray< ::java::lang::String * > *, jboolean, jboolean);
  25. virtual jint getSearchScope();
  26. virtual jint getTimeLimit();
  27. virtual jboolean getDerefLinkFlag();
  28. virtual jboolean getReturningObjFlag();
  29. virtual jlong getCountLimit();
  30. virtual JArray< ::java::lang::String * > * getReturningAttributes();
  31. virtual void setSearchScope(jint);
  32. virtual void setTimeLimit(jint);
  33. virtual void setDerefLinkFlag(jboolean);
  34. virtual void setReturningObjFlag(jboolean);
  35. virtual void setCountLimit(jlong);
  36. virtual void setReturningAttributes(JArray< ::java::lang::String * > *);
  37. private:
  38. static const jlong serialVersionUID = -2480540967773454797LL;
  39. public:
  40. static const jint OBJECT_SCOPE = 0;
  41. static const jint ONELEVEL_SCOPE = 1;
  42. static const jint SUBTREE_SCOPE = 2;
  43. private:
  44. jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) searchScope;
  45. jint timeLimit;
  46. jboolean derefLink;
  47. jboolean returnObj;
  48. jlong countLimit;
  49. JArray< ::java::lang::String * > * attributesToReturn;
  50. public:
  51. static ::java::lang::Class class$;
  52. };
  53. #endif // __javax_naming_directory_SearchControls__