@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Name
Example:
@PrimaryKey("userId") public interface UserInfo extends Storable<UserInfo> { @Name("userId") long getUserInfoID(); void setUserInfoID(long id); ... }The first character of a name must be a
unicode identifier start
, and all
subsequent characters must be a unicode identifier part
.Alias
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
Name assigned to the property.
|
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.