SPT Object Database API

com.sptci.prevayler.annotations
Annotation Type NotNull


@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value={TYPE,FIELD})
public @interface NotNull

An annotation used to indicate that a field in a prevalent object cannot be null.

© Copyright 2008 Sans Pareil Technologies, Inc.

Version:
$Id: NotNull.java 11 2008-06-30 21:33:41Z sptrakesh $
Author:
Rakesh Vidyadharan 2008-05-22

Optional Element Summary
 String[] members
          The names of the fields for which the constraint is to be applied.
 

members

public abstract String[] members
The names of the fields for which the constraint is to be applied. This is required when annotating a class as opposed to the appropriate fields.

Returns:
The name of the field in the prevalent object.
Default:
""

SPT Object Database API