Top Description Constructors Methods
org.hibernate.transform

public abstract Class AliasedTupleSubsetResultTransformer

extends BasicTransformerAdapter
implements TupleSubsetResultTransformer
Class Inheritance
All Implemented Interfaces
org.hibernate.transform.TupleSubsetResultTransformer, org.hibernate.transform.ResultTransformer, java.io.Serializable
Known Direct Subclasses
org.hibernate.transform.AliasToBeanResultTransformer, org.hibernate.transform.AliasToEntityMapResultTransformer

An implementation of TupleSubsetResultTransformer that ignores a tuple element if its corresponding alias is null.
Author
Gail Badner

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean[]
includeInTransform(String[]
- the aliases that correspond to the tuple
aliases
,
int
- the number of elements in the tuple
tupleLength
)

Implements org.hibernate.transform.TupleSubsetResultTransformer.includeInTransform.

Returns an array with the i-th element indicating whether the i-th element of the tuple is included in the transformed value.
Inherited from org.hibernate.transform.BasicTransformerAdapter:
transformListtransformTuple

Constructor Detail

AliasedTupleSubsetResultTransformerback to summary
public AliasedTupleSubsetResultTransformer()

Method Detail

includeInTransformback to summary
public boolean[] includeInTransform(String[] aliases, int tupleLength)

Implements org.hibernate.transform.TupleSubsetResultTransformer.includeInTransform.

Doc from org.hibernate.transform.TupleSubsetResultTransformer.includeInTransform.

Returns an array with the i-th element indicating whether the i-th element of the tuple is included in the transformed value.

Parameters
aliases:String[]

- the aliases that correspond to the tuple

tupleLength:int

- the number of elements in the tuple

Returns:boolean[]

array with the i-th element indicating whether the i-th element of the tuple is included in the transformed value.

Annotations
@Override