Commit 7fb88f3748873c9d54664d3569953a3b76abe407

Authored by Emerson Oliveira
1 parent efc49c4b
Exists in master

Adição de javadoc na classe

br.gov.frameworkdemoiselle.util.NameQualifier
impl/core/src/main/java/br/gov/frameworkdemoiselle/util/NameQualifier.java
@@ -40,6 +40,15 @@ import javax.enterprise.util.AnnotationLiteral; @@ -40,6 +40,15 @@ import javax.enterprise.util.AnnotationLiteral;
40 40
41 import br.gov.frameworkdemoiselle.annotation.Name; 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 @SuppressWarnings("all") 52 @SuppressWarnings("all")
44 public class NameQualifier extends AnnotationLiteral<Name> implements Name { 53 public class NameQualifier extends AnnotationLiteral<Name> implements Name {
45 54
@@ -47,6 +56,12 @@ public class NameQualifier extends AnnotationLiteral&lt;Name&gt; implements Name { @@ -47,6 +56,12 @@ public class NameQualifier extends AnnotationLiteral&lt;Name&gt; implements Name {
47 56
48 private final String value; 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 public NameQualifier(String value) { 65 public NameQualifier(String value) {
51 this.value = value; 66 this.value = value;
52 } 67 }