IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.projector.md
Interface TupleAttribute

All Known Subinterfaces:
TupleAssociation

public interface TupleAttribute

The metadata for a single basic attribute. A TupleMetadata can have zero or more uniquely named TupleAttributes.

Since:
WAS XD 6.1

Method Summary
 String getAlias()
          The alias of the attribute.
 String getName()
          The name of the attribute
 int getTuplePosition()
          Get the position of this attribute in the tuple.
 Class getType()
          The primitive type for the attribute
 boolean isVersion()
          If true, this attribute is used for versioning.
 

Method Detail

getName

String getName()
The name of the attribute

Returns:
the attribute name

getType

Class getType()
The primitive type for the attribute

Returns:
the type of the attribute.

getTuplePosition

int getTuplePosition()
Get the position of this attribute in the tuple.

Returns:
the position or -1 if this attribute has not yet been associated with a TupleMetadata

getAlias

String getAlias()
The alias of the attribute.

Returns:
the alternative name for this attribute.

isVersion

boolean isVersion()
If true, this attribute is used for versioning.

Returns:
true if this attribute is identified as a version attribute

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.