// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_beans_PropertyDescriptor__
#define __java_beans_PropertyDescriptor__

#pragma interface

#include <java/beans/FeatureDescriptor.h>

extern "Java"
{
  namespace java
  {
    namespace beans
    {
      class PropertyDescriptor;
    }
  }
};

class ::java::beans::PropertyDescriptor : public ::java::beans::FeatureDescriptor
{
public: // actually package-private
  PropertyDescriptor (::java::lang::String *);
public:
  PropertyDescriptor (::java::lang::String *, ::java::lang::Class *);
  PropertyDescriptor (::java::lang::String *, ::java::lang::Class *, ::java::lang::String *, ::java::lang::String *);
  PropertyDescriptor (::java::lang::String *, ::java::lang::reflect::Method *, ::java::lang::reflect::Method *);
  virtual ::java::lang::Class *getPropertyType () { return propertyType; }
  virtual ::java::lang::reflect::Method *getReadMethod () { return getMethod; }
  virtual ::java::lang::reflect::Method *getWriteMethod () { return setMethod; }
  virtual jboolean isBound () { return bound; }
  virtual void setBound (jboolean);
  virtual jboolean isConstrained () { return constrained; }
  virtual void setConstrained (jboolean);
  virtual ::java::lang::Class *getPropertyEditorClass () { return propertyEditorClass; }
  virtual void setPropertyEditorClass (::java::lang::Class *);
private:
  void findMethods (::java::lang::Class *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void checkMethods ();
public: // actually package-private
  ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::beans::FeatureDescriptor )))) propertyType;
  ::java::lang::reflect::Method *getMethod;
  ::java::lang::reflect::Method *setMethod;
  ::java::lang::Class *propertyEditorClass;
  jboolean bound;
  jboolean constrained;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_beans_PropertyDescriptor__ */
