Package org.jboss.logging.annotations
Annotation Type Transform
-
@Retention(CLASS) @Target(PARAMETER) @Documented public @interface Transform
Indicate the given parameter should be transformed in each of thetransform typesprovided. The parameter cannot be a primitive type. For theTransform.TransformType.SIZEtype, the object must be aString, aCollection, aMapor an array. The typeTransform.TransformType.GET_CLASScan be used withTransform.TransformType.HASH_CODEorTransform.TransformType.IDENTITY_HASH_CODE. The typeTransform.TransformType.SIZEmust be used on it's own.- Since:
- 1.1.0
- Author:
- James R. Perkins
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Transform.TransformType[]valueThe transform types used on the parameter.
-
-
-
Element Detail
-
value
Transform.TransformType[] value
The transform types used on the parameter. Valid combinations:- Returns:
- an array of the transform types
-
-