org.apache.tools.ant.taskdefs.optional.ejb

Class EjbJar.CMPVersion

Enclosing Class:
EjbJar

public static class EjbJar.CMPVersion
extends EnumeratedAttribute

CMP versions supported valid CMP versions are 1.0 and 2.0
Since:
ant 1.6

Field Summary

static String
CMP1_0
static String
CMP2_0

Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute

value

Method Summary

String[]
getValues()
This is the only method a subclass needs to implement.

Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute

containsValue, getIndex, getValue, getValues, indexOfValue, setValue, toString

Field Details

CMP1_0

public static final String CMP1_0

CMP2_0

public static final String CMP2_0

Method Details

getValues

public String[] getValues()
This is the only method a subclass needs to implement.
Overrides:
getValues in interface EnumeratedAttribute
Returns:
an array holding all possible values of the enumeration. The order of elements must be fixed so that indexOfValue(String) always return the same index for the same value.

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.