|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface UserExposed
Annotation indicating that annotated field has to be visible for the user. What does this means: Sometimes we want not all of our fields to be accessible for the business application layer. For example if have some internal fields used for security and we don't wont to expose them. In the domain object we may have securityHash field and we don't want this field to be visible in the transfer object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |