JADE Java Persistence API
1.0

com.jadeworld.jade.persistence
Annotation Type Condition


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Condition

JADE Condition method, used in a collection reference elsewhere in this class Class-level annotation name is the condition method name constants, optional, are any constant definitions body is the condition method source body Both constants and body are an array of String values; one for each line of content. This allows for multiple lines.

Author:
cnwjre1

Required Element Summary
 java.lang.String[] body
          Condition method source body, required.
 java.lang.String name
          JADE condition method name.
 
Optional Element Summary
 java.lang.String[] constants
          Condition method constants, optional.
 

Element Detail

name

public abstract java.lang.String name
JADE condition method name.


body

public abstract java.lang.String[] body
Condition method source body, required. Each line is defined as an array of Strings.

constants

public abstract java.lang.String[] constants
Condition method constants, optional. If present, each line is defined as an array of Strings.

Default:
{}

JADE Java Persistence API
1.0

Copyright © 2007 Jade Software Corporation