|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that handles job properties.
Method Summary | |
java.util.Date |
getDateValue(int propertyID)
Gets a job property as a date . |
double |
getDoubleValue(int propertyID)
Gets a job property as a double . |
int[] |
getIDs()
Gets the available property IDs. |
int |
getIntegerValue(int propertyID)
Gets a job property as an int . |
java.lang.String |
getStringValue(int propertyID)
Gets a job property as a String . |
java.lang.Object |
getValue(int propertyID)
Gets a job property as an Object . |
boolean |
hasValue(int propertyID)
Determines whether a specific value is present. |
Method Detail |
public int[] getIDs()
public java.lang.Object getValue(int propertyID)
Object
.
propertyID
- the ID of the property for which to get a value
public java.lang.String getStringValue(int propertyID)
String
.
propertyID
- the ID of the property for which to get a value
java.lang.ClassCastException
- if the property type is not a String
public int getIntegerValue(int propertyID)
int
.
propertyID
- the property ID for which to get a value
java.lang.ClassCastException
- if the property type is not an int
public java.util.Date getDateValue(int propertyID)
date
.
propertyID
- the property ID for which to get a value
java.lang.ClassCastException
- if the property type is not a date
public double getDoubleValue(int propertyID)
double
.
propertyID
- the ID of the job property for which to get a value
java.lang.ClassCastException
- if the property type is not a double
public boolean hasValue(int propertyID)
propertyID
- the ID of the property to check
true
if and only if the value is present
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2010 Oracle® Corporation. All Rights Reserved.