ijgen.generator.annotations
Annotation Type UserExposed


@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.

Author:
Detelin Zlatev



Copyright © 2010 Detelin Zlatev. All Rights Reserved.