de.smartics.projectdoc.annotations
Annotation Type DocParent


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

Specifies the parents a document is a child of. A document may have none or any number of parents.

Annotations found at the type level are not inherited to the elements defined in this type.

This is a filing element.

 
   
   

Usage Example

@DocParent("type-parent")
  public interface TestProperties
  {
    String inheritAll();

    @DocParent({ "sample one" })
    String oneValue();

    @DocParent({ "sample one", "sample two", "sample three" })
    String multipleValues();
  }

See Also:
Document, DocCategory, DocTag

Required Element Summary
 String[] value
          The names of the parents of the annotated element.
 

Element Detail

value

public abstract String[] value
The names of the parents of the annotated element.



Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.