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

## org.modeshape.common.annotation
Annotation Type Label

    @Documented
    @Retention(value=RUNTIME)
    @Target(value={FIELD,METHOD,CONSTRUCTOR,PACKAGE,TYPE})
    public @interface Label

Annotation that can be used provide a human-readable label.

Required Element Summary
`Class<?>` | `i18n` The class that contains the `I18n` instances used for internationalization.
`String` | `value` The label for the element.

Element Detail

### value

    public abstract String value

  The label for the element. This value can either be the literal label, or it can be the `identifier` of an `I18n` instance on the non-null `i18n()` I18n container class.

  Returns:
    the issue

### i18n

    public abstract Class<?> i18n

  The class that contains the `I18n` instances used for internationalization. This may be null if the description is a literal value.

  Returns:
    the class that contains the I18n instance identified by the `value()`

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

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.