|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.jdl.JobAdSchema
public class 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 (deprecated) , GLUE (Default used schema)
Field Summary | |
---|---|
static int |
SCHEMA_ARRAY
Array dimension for Schema Attributes values |
Constructor Summary | |
---|---|
JobAdSchema(String[] values)
CUSTOM schema constructor |
Method Summary | |
---|---|
Object |
clone()
Create and return a deep copy of the current schema |
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 |
---|
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(String[] values) throws ArrayIndexOutOfBoundsException
values
- an array of string of #SCHEMA_ARRAY dimension
throw ArrayIndexOutOfBoundsException the length of value must be of the exact dimension
ArrayIndexOutOfBoundsException
SCHEMA_ARRAY
Method Detail |
---|
public static JobAdSchema glueSchema()
public Object clone()
clone
in class Object
public String get(int attrName) throws ArrayIndexOutOfBoundsException
attrName
- refers to the attributes of the Schema, must be less than #SCHEMA_ARRAY
ArrayIndexOutOfBoundsException
SCHEMA_ARRAY
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |