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 types
provided. The parameter cannot be a primitive type. For theTransform.TransformType.SIZE
type, the object must be aString
, aCollection
, aMap
or an array. The typeTransform.TransformType.GET_CLASS
can be used withTransform.TransformType.HASH_CODE
orTransform.TransformType.IDENTITY_HASH_CODE
. The typeTransform.TransformType.SIZE
must 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[]
value
The 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
-
-