|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edg.workload.common.jrequestad.JobAdSchema
Provides a Schema used to check the attribute in the JobAd The default utilised schema is GLUE. To instanciate a schema you will need to provide an array of Strings, one per attribute Known used schema so far: EDG , GLUE (Default used schema)
Field Summary | |
static int |
SCHEMA_ARRAY
Array dimension for Schema Attributes values |
Constructor Summary | |
JobAdSchema(java.lang.String[] values)
CUSTOM schema constructor |
Method Summary | |
java.lang.String |
get(int attrName)
Retrieve a default value from the schema |
static JobAdSchema |
glueSchema()
GLUE schema static constructor (JobAd default utilised schema) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SCHEMA_ARRAY
get(int)
,
Constant Field ValuesConstructor Detail |
public JobAdSchema(java.lang.String[] values) throws java.lang.ArrayIndexOutOfBoundsException
values
- an array of string of #SCHEMA_ARRAY dimension
throw ArrayIndexOutOfBoundsException the length of value must be of the exact dimensionSCHEMA_ARRAY
Method Detail |
public static JobAdSchema glueSchema()
public java.lang.String get(int attrName) throws java.lang.ArrayIndexOutOfBoundsException
attrName
- refers to the attributes of the Schema, must be less than #SCHEMA_ARRAY
java.lang.ArrayIndexOutOfBoundsException
SCHEMA_ARRAY
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |