IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.projector.annotations
Annotation Type Id


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface Id

Specifies the primary key property or field of an entity. An entity may have one or more key attributes.

Since:
WAS XD 6.1

Optional Element Summary
 String alias
          The alternative name for this attribute.
 

alias

public abstract String alias
The alternative name for this attribute. The alias can be used to map one entity to another or override the default property name behavior in legacy objects. It can also be used to refer to this attribute in queries.

Returns:
the alias name.
Default:
""

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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