|
SAP Convergent Charging
Java and XML APIs (BART) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.bart.hci.SchedulableJobModel
public abstract class SchedulableJobModel
This abstract Java class represents a job for BART Server as it is presented on client side and in the BART Tool user interface.
A schedulable job for BART is defined by three parameters:
The known Java implementations of this class are:
| Field Summary | |
|---|---|
static int |
STATUS_ACTIVE
This status indicates that the job is active |
static int |
STATUS_INACTIVE
This status indicates that the job is inactive |
| Constructor Summary | |
|---|---|
SchedulableJobModel()
|
|
| Method Summary | |
|---|---|
java.lang.Long |
_getJobID()
Returns The unique job identifier |
java.util.Date |
_getLastActivationDate()
FOR INTERNAL USE ONLY - Returns the last activation date. |
void |
_setJobID(java.lang.Long id)
Sets the unique job identifier |
void |
_setLastActivationDate(java.util.Date lad)
FOR INTERNAL USE ONLY - Sets the last activation date. |
int |
compareTo(SchedulableJobModel o)
|
java.lang.String |
getDescription()
Returns The job description |
abstract java.lang.String |
getJobClassName()
Gets the class name of the job. |
java.lang.Long |
getPollingPeriod()
Gets the polling period. |
com.highdeal.util.Recurrence |
getRecurrence()
Gets the recurrence. |
java.lang.String |
getRecurrenceAsString()
Gets the recurrence in String format. |
int |
getStatus()
Returns the status of the job. |
protected void |
innerMarshall(XMLOutputter output)
|
protected void |
innerSetAttributes(XMLAttributes atts)
|
protected int |
parseStatus(java.lang.String s)
Transforms the status from its string form to its constant value. |
void |
setDescription(java.lang.String s)
Sets the job description |
void |
setPollingPeriod(java.lang.Long pollingPeriod)
Sets the polling period. |
void |
setRecurrence(com.highdeal.util.Recurrence recurrence)
Sets the recurrence. |
void |
setRecurrenceAsString(java.lang.String recurrenceFormat)
Sets the recurrence in String format. |
void |
setStatus(int status)
Sets the status of the job. |
protected java.lang.String |
statusToString()
Transforms the current status to its string representation. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.highdeal.hci.XMLMarshallable |
|---|
addCharacterData, addChild, marshal, setAttributes |
| Field Detail |
|---|
public static final int STATUS_ACTIVE
public static final int STATUS_INACTIVE
| Constructor Detail |
|---|
public SchedulableJobModel()
| Method Detail |
|---|
public void setPollingPeriod(java.lang.Long pollingPeriod)
pollingPeriod - The polling periodpublic void setRecurrenceAsString(java.lang.String recurrenceFormat)
recurrenceFormat - The recurrence in String formatpublic java.lang.Long getPollingPeriod()
public java.lang.String getRecurrenceAsString()
public void setRecurrence(com.highdeal.util.Recurrence recurrence)
recurrence - The recurrencepublic com.highdeal.util.Recurrence getRecurrence()
public java.lang.String getDescription()
public void setDescription(java.lang.String s)
public void setStatus(int status)
status - The status of the jobpublic int getStatus()
public abstract java.lang.String getJobClassName()
public java.lang.Long _getJobID()
public void _setJobID(java.lang.Long id)
public java.util.Date _getLastActivationDate()
public void _setLastActivationDate(java.util.Date lad)
lad - The last activation datepublic java.lang.String toString()
toString in class java.lang.Objectprotected int parseStatus(java.lang.String s)
s - The status in its string form
protected java.lang.String statusToString()
protected void innerMarshall(XMLOutputter output)
protected void innerSetAttributes(XMLAttributes atts)
public int compareTo(SchedulableJobModel o)
compareTo in interface java.lang.Comparable<SchedulableJobModel>
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||