Top Description Inners Methods
org.jboss.logging.annotations

public @Interface Transform

extends Annotation
Annotations
@Retention:CLASS
@Target:PARAMETER
@Documented
Static Imports
java.lang.annotation.ElementType.PARAMETER, .RetentionPolicy.CLASS

Indicate the given parameter should be transformed in each of the transform types provided. The parameter cannot be a primitive type.

For the TransformType#SIZE type, the object must be a String, a java.util.Collection, a java.util.Map or an array.

The type TransformType#GET_CLASS can be used with TransformType#HASH_CODE or TransformType#IDENTITY_HASH_CODE. The type TransformType#SIZE must be used on it's own.

Author
James R. Perkins
Since
1.1.0

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
Transform.TransformType

The transform type

Method Summary

Modifier and TypeMethod and Description
public Transform.TransformType[]

Returns:

an array of the transform types
value
()

The transform types used on the parameter.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Transform.TransformType[] value()

The transform types used on the parameter.

Valid combinations:

Returns:Transform.TransformType[]

an array of the transform types

org.jboss.logging.annotations back to summary

public final Enum Transform.TransformType

extends Enum<Transform.TransformType>
Class Inheritance

The transform type

Field Summary

Modifier and TypeField and Description
public static final Transform.TransformType
GET_CLASS

Gets the class of the object object passed, Object#getClass().

public static final Transform.TransformType
HASH_CODE

Gets the hash code of the object, Object#hashCode().

public static final Transform.TransformType
IDENTITY_HASH_CODE

Gets the identity hash code of the object, System#identityHashCode(Object).

public static final Transform.TransformType
SIZE

Gets the size or length of a String, java.util.Collection, java.util.Map or array.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Transform.TransformType
public static Transform.TransformType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

GET_CLASSback to summary
public static final Transform.TransformType GET_CLASS

Gets the class of the object object passed, Object#getClass().

HASH_CODEback to summary
public static final Transform.TransformType HASH_CODE

Gets the hash code of the object, Object#hashCode().

IDENTITY_HASH_CODEback to summary
public static final Transform.TransformType IDENTITY_HASH_CODE

Gets the identity hash code of the object, System#identityHashCode(Object).

SIZEback to summary
public static final Transform.TransformType SIZE

Gets the size or length of a String, java.util.Collection, java.util.Map or array.

Constructor Detail

TransformTypeback to summary
private TransformType()

Method Detail

valueOfback to summary
public static Transform.TransformType valueOf(String name)
valuesback to summary
public static Transform.TransformType[] values()