Skip to content

Commit

Permalink
Update javadoc annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Nov 16, 2022
1 parent d8a019f commit 38c0f23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
import java.lang.annotation.Target;

/**
* This annotation enables the converter resource.
* On the field say the converted to be used, must implement AttributeConverter interface.
* Specifies the conversion of a Basic field or property.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
import java.lang.annotation.Target;

/**
* Defines an embedded field, that means all elements fields in the class will as converted as one.
* E.g., In a document NoSQL database that class will translate to a sub-document.
* Specifies a class whose instances are stored as an intrinsic part of an owning entity and share the entity's identity.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
Expand Down

0 comments on commit 38c0f23

Please sign in to comment.