public class JobAdSchema extends Object
Modifier and Type | Field and Description |
---|---|
static int |
SCHEMA_ARRAY
Array dimension for Schema Attributes values
|
Constructor and Description |
---|
JobAdSchema(String[] values)
CUSTOM schema constructor
|
Modifier and Type | Method and Description |
---|---|
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)
|
public static final int SCHEMA_ARRAY
get(int)
,
Constant Field Valuespublic 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 dimensionArrayIndexOutOfBoundsException
SCHEMA_ARRAY
public static JobAdSchema glueSchema()
public Object clone()
public String get(int attrName) throws ArrayIndexOutOfBoundsException
attrName
- refers to the attributes of the Schema, must be less than #SCHEMA_ARRAYArrayIndexOutOfBoundsException
SCHEMA_ARRAY
Copyright © 2016 EMI - European Middleware Initiative. All Rights Reserved.