net.vvakame.blaz.annotation
Annotation Type BlazAttribute


@Retention(value=SOURCE)
@Target(value=FIELD)
public @interface BlazAttribute

Attribute. attribute nearly equals to Entity's property.
This class was alternative of Attribute. same class exsits in Slim3.

Author:
vvakame

Optional Element Summary
 String name
          The property name.
 boolean persistent
          This property is persisted.
 boolean primaryKey
          This property is a primary key.
 

primaryKey

public abstract boolean primaryKey
This property is a primary key.

Returns:
primary key or not
Default:
false

name

public abstract String name
The property name. default value is a field name.

Returns:
property name
Default:
""

persistent

public abstract boolean persistent
This property is persisted.

Returns:
persisted or not
Default:
true


Copyright © 2012. All Rights Reserved.