Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## net.java.ao
Annotation Type Accessor

    @Retention(value=RUNTIME)
    @Target(value=METHOD)
    public @interface Accessor

Used to mark a particular field as an accessor. This allows two things:

- Non-compliance with the get/set convention
- Overriding of the auto-generated field name (e.g. a method named "getURI" would generate (by default) a field name of "uRI". Most likely, the desired field name was in fact "uri". This annotation allows such field names

Author:
  Daniel Spiewak

Required Element Summary
`String` | `value` The name of the field for which this method is an accessor.

Element Detail

### value

    public abstract String value

  The name of the field for which this method is an accessor. This will override any automatically generated field name.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2007-2011. All Rights Reserved.