Commit 7fb88f3748873c9d54664d3569953a3b76abe407
1 parent
efc49c4b
Exists in
master
Adição de javadoc na classe
br.gov.frameworkdemoiselle.util.NameQualifier
Showing
1 changed file
with
15 additions
and
0 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/util/NameQualifier.java
... | ... | @@ -40,6 +40,15 @@ import javax.enterprise.util.AnnotationLiteral; |
40 | 40 | |
41 | 41 | import br.gov.frameworkdemoiselle.annotation.Name; |
42 | 42 | |
43 | +/** | |
44 | + * Creates a instance of an java annotation, specifically for qualification @Name. | |
45 | + * This is required to get some classes by calling Beans.getReference method. | |
46 | + * | |
47 | + * @see Beans | |
48 | + * @see Name | |
49 | + * | |
50 | + * @author SERPRO | |
51 | + */ | |
43 | 52 | @SuppressWarnings("all") |
44 | 53 | public class NameQualifier extends AnnotationLiteral<Name> implements Name { |
45 | 54 | |
... | ... | @@ -47,6 +56,12 @@ public class NameQualifier extends AnnotationLiteral<Name> implements Name { |
47 | 56 | |
48 | 57 | private final String value; |
49 | 58 | |
59 | + /** | |
60 | + * Constructor with string value of name qualifier. | |
61 | + * | |
62 | + * @param value | |
63 | + * value of name qualifier. | |
64 | + */ | |
50 | 65 | public NameQualifier(String value) { |
51 | 66 | this.value = value; |
52 | 67 | } | ... | ... |