public abstract class BaseJobEntryTorque extends AbstractJobEntry implements org.apache.torque.om.Persistent, Serializable
AbstractJobEntry.ScheduleTypelog| Constructor and Description |
|---|
BaseJobEntryTorque() |
| Modifier and Type | Method and Description |
|---|---|
JobEntryTorque |
copy()
Makes a copy of this object.
|
JobEntryTorque |
copy(boolean deepcopy)
Makes a copy of this object.
|
JobEntryTorque |
copy(boolean deepcopy,
Connection con)
Makes a copy of this object using connection.
|
JobEntryTorque |
copy(Connection con)
Makes a copy of this object using a connection.
|
JobEntryTorque |
copyInto(JobEntryTorque copyObj)
Fills the copyObj with the contents of this object.
|
protected JobEntryTorque |
copyInto(JobEntryTorque copyObj,
boolean deepcopy)
Fills the copyObj with the contents of this object.
|
JobEntryTorque |
copyInto(JobEntryTorque copyObj,
boolean deepcopy,
Connection con)
Fills the copyObj with the contents of this object using connection.
|
JobEntryTorque |
copyInto(JobEntryTorque copyObj,
Connection con)
Fills the copyObj with the contents of this object using connection.
|
boolean |
equals(Object toCompare)
Compares the primary key of this instance with the key of another.
|
int |
getDayOfMonth()
Get the value of dayOfMonth.
|
String |
getEmail()
Get the value of email.
|
int |
getHour()
Get the value of hour.
|
int |
getJobId()
Get the value of jobId.
|
int |
getMinute()
Get the value of minute.
|
JobEntryTorquePeer |
getPeer()
returns a peer instance associated with this om.
|
org.apache.torque.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others
of its class.
|
byte[] |
getProperty()
Get the value of property.
|
int |
getSecond()
Get the value of second.
|
org.apache.torque.map.TableMap |
getTableMap()
Retrieves the TableMap object related to this Table data without
compiler warnings of using getPeer().getTableMap().
|
String |
getTask()
Get the value of task.
|
int |
getWeekDay()
Get the value of weekDay.
|
int |
hashCode()
If the primary key is not
null, return the hashcode of the
primary key. |
boolean |
isDeleted()
Returns whether this object was deleted from the database.
|
boolean |
isLoading()
Returns whether this object is currently being loaded from the database.
|
boolean |
isModified()
Returns whether the object has been modified.
|
boolean |
isNew()
Returns whether the object has ever been saved.
|
boolean |
isSaving()
Returns whether this object is currently saving.
|
void |
resetModified()
Sets the modified state for the object to be false.
|
void |
save()
Stores an object in the database.
|
void |
save(Connection con)
Stores an object in the database.
|
void |
save(String dbName)
Stores an object in the database.
|
void |
setDayOfMonth(int v)
Set the value of dayOfMonth.
|
void |
setDeleted(boolean deleted)
Sets whether this object was deleted from the database.
|
void |
setEmail(String v)
Set the value of email.
|
void |
setHour(int v)
Set the value of hour.
|
void |
setJobId(int v)
Set the value of jobId.
|
void |
setLoading(boolean loading)
Sets whether this object is currently being loaded from the database.
|
void |
setMinute(int v)
Set the value of minute.
|
void |
setModified(boolean modified)
Sets whether the object has been modified.
|
void |
setNew(boolean isNew)
Sets whether the object has ever been saved.
|
void |
setPrimaryKey(org.apache.torque.om.ObjectKey key)
Set the PrimaryKey using ObjectKey.
|
void |
setPrimaryKey(String key)
Set the PrimaryKey using a String.
|
void |
setProperty(byte[] v)
Set the value of property.
|
void |
setSaving(boolean saving)
Sets whether this object is currently saving.
|
void |
setSecond(int v)
Set the value of second.
|
void |
setTask(String v)
Set the value of task.
|
void |
setWeekDay(int v)
Set the value of weekDay.
|
String |
toString() |
boolean |
valueEquals(JobEntryTorque toCompare)
Compares the content of this object to another object
|
calcRunTime, compareTo, getNextRunAsString, getNextRunDate, getNextRuntime, isActive, setActivepublic BaseJobEntryTorque()
public int getJobId()
getJobId in interface JobEntrygetJobId in class AbstractJobEntrypublic void setJobId(int v)
setJobId in interface JobEntrysetJobId in class AbstractJobEntryv - new valuepublic int getSecond()
getSecond in class AbstractJobEntrypublic void setSecond(int v)
setSecond in class AbstractJobEntryv - new valuepublic int getMinute()
getMinute in class AbstractJobEntrypublic void setMinute(int v)
setMinute in class AbstractJobEntryv - new valuepublic int getHour()
getHour in class AbstractJobEntrypublic void setHour(int v)
setHour in class AbstractJobEntryv - new valuepublic int getWeekDay()
getWeekDay in class AbstractJobEntrypublic void setWeekDay(int v)
setWeekDay in class AbstractJobEntryv - new valuepublic int getDayOfMonth()
getDayOfMonth in class AbstractJobEntrypublic void setDayOfMonth(int v)
setDayOfMonth in class AbstractJobEntryv - new valuepublic String getTask()
getTask in interface JobEntrygetTask in class AbstractJobEntrypublic void setTask(String v)
setTask in interface JobEntrysetTask in class AbstractJobEntryv - new valuepublic byte[] getProperty()
public void setProperty(byte[] v)
v - new valuepublic boolean isNew()
public void setNew(boolean isNew)
setNew in interface org.apache.torque.om.PersistentisNew - true if the object has never been saved, false otherwise.public boolean isModified()
isModified in interface org.apache.torque.om.Persistentpublic void setModified(boolean modified)
setModified in interface org.apache.torque.om.Persistentmodified - true if the object has been modified, false otherwise.public void resetModified()
public boolean isSaving()
public void setSaving(boolean saving)
saving - true if this object is currently saving, false otherwise.public boolean isLoading()
public void setLoading(boolean loading)
loading - true if this object is currently loading, false otherwise.public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted - true if this object was deleted, false otherwise.public void save() throws org.apache.torque.TorqueException
save in interface org.apache.torque.om.PersistenttoSave - the object to be saved, not null.org.apache.torque.TorqueException - if an error occurs during saving.public void save(String dbName) throws org.apache.torque.TorqueException
save in interface org.apache.torque.om.PersistenttoSave - the object to be saved, not null.dbName - the name of the database to which the object
should be saved.org.apache.torque.TorqueException - if an error occurs during saving.public void save(Connection con) throws org.apache.torque.TorqueException
save in interface org.apache.torque.om.PersistenttoSave - the object to be saved, not null.con - the connection to use for saving the object, not null.org.apache.torque.TorqueException - if an error occurs during saving.public void setPrimaryKey(org.apache.torque.om.ObjectKey key)
setPrimaryKey in interface org.apache.torque.om.Persistentkey - jobId ObjectKeypublic void setPrimaryKey(String key)
setPrimaryKey in interface org.apache.torque.om.Persistentkey - public org.apache.torque.om.ObjectKey getPrimaryKey()
getPrimaryKey in interface org.apache.torque.om.Persistentpublic JobEntryTorque copy() throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic JobEntryTorque copy(Connection con) throws org.apache.torque.TorqueException
con - the database connection to read associated objects.org.apache.torque.TorqueExceptionpublic JobEntryTorque copy(boolean deepcopy) throws org.apache.torque.TorqueException
deepcopy - whether to copy the associated objects.org.apache.torque.TorqueExceptionpublic JobEntryTorque copy(boolean deepcopy, Connection con) throws org.apache.torque.TorqueException
deepcopy - whether to copy the associated objects.con - the database connection to read associated objects.org.apache.torque.TorqueExceptionpublic JobEntryTorque copyInto(JobEntryTorque copyObj) throws org.apache.torque.TorqueException
copyObj - the object to fill.org.apache.torque.TorqueExceptionpublic JobEntryTorque copyInto(JobEntryTorque copyObj, Connection con) throws org.apache.torque.TorqueException
copyObj - the object to fill.con - the database connection to read associated objects.org.apache.torque.TorqueExceptionprotected JobEntryTorque copyInto(JobEntryTorque copyObj, boolean deepcopy) throws org.apache.torque.TorqueException
copyObj - the object to fill.deepcopy - whether the associated objects should be copied.org.apache.torque.TorqueExceptionpublic JobEntryTorque copyInto(JobEntryTorque copyObj, boolean deepcopy, Connection con) throws org.apache.torque.TorqueException
copyObj - the object to fill.deepcopy - whether the associated objects should be copied.con - the database connection to read associated objects.org.apache.torque.TorqueExceptionpublic JobEntryTorquePeer getPeer()
public org.apache.torque.map.TableMap getTableMap() throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic boolean equals(Object toCompare)
public int hashCode()
null, return the hashcode of the
primary key. Otherwise calls Object.hashCode().public boolean valueEquals(JobEntryTorque toCompare)
toCompare - The object to compare to.Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.