|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.torque.om.BaseObject
org.apache.turbine.services.schedule.BaseJobEntry
public abstract class BaseJobEntry
This class was autogenerated by Torque on: [Thu Jun 23 17:25:46 CEST 2011] You should not use this class directly. It should not even be extended all references should be to JobEntry
Field Summary |
---|
Fields inherited from class org.apache.torque.om.BaseObject |
---|
NEW_ID |
Constructor Summary | |
---|---|
BaseJobEntry()
|
Method Summary | |
---|---|
JobEntry |
copy()
Makes a copy of this object. |
JobEntry |
copy(boolean deepcopy)
Makes a copy of this object. |
JobEntry |
copy(boolean deepcopy,
Connection con)
Makes a copy of this object using connection. |
JobEntry |
copy(Connection con)
Makes a copy of this object using connection. |
protected JobEntry |
copyInto(JobEntry copyObj)
Fills the copyObj with the contents of this object. |
protected JobEntry |
copyInto(JobEntry copyObj,
boolean deepcopy)
Fills the copyObj with the contents of this object. |
protected JobEntry |
copyInto(JobEntry copyObj,
boolean deepcopy,
Connection con)
Fills the copyObj with the contents of this object using connection. |
protected JobEntry |
copyInto(JobEntry copyObj,
Connection con)
Fills the copyObj with the contents of this object using connection. |
Object |
getByName(String name)
Retrieves a field from the object by field (Java) name passed in as a String. |
Object |
getByPeerName(String name)
Retrieves a field from the object by name passed in as a String. |
Object |
getByPosition(int pos)
Retrieves a field from the object by Position as specified in the xml schema. |
int |
getDayOfMonth()
Get the DayOfMonth |
String |
getEmail()
Get the Email |
static List<String> |
getFieldNames()
Generate a list of field names. |
int |
getHour()
Get the Hour |
int |
getJobId()
Get the JobId |
int |
getMinute()
Get the Minute |
JobEntryPeer |
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 Property |
int |
getSecond()
Get the 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 Task |
int |
getWeekDay()
Get the WeekDay |
void |
save()
Stores the object in the database. |
void |
save(Connection con)
Stores the object in the database. |
void |
save(String dbName)
Stores the object in the database. |
boolean |
setByName(String name,
Object value)
Set a field in the object by field (Java) name. |
boolean |
setByPeerName(String name,
Object value)
Set field values by Peer Field Name |
boolean |
setByPosition(int position,
Object value)
Set field values by its position (zero based) in the XML schema. |
void |
setDayOfMonth(int v)
Set the value of DayOfMonth |
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 |
setMinute(int v)
Set the value of Minute |
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 |
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()
|
Methods inherited from class org.apache.torque.om.BaseObject |
---|
equals, equals, getLog, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseJobEntry()
Method Detail |
---|
public int getJobId()
public void setJobId(int v)
v
- new valuepublic int getSecond()
public void setSecond(int v)
v
- new valuepublic int getMinute()
public void setMinute(int v)
v
- new valuepublic int getHour()
public void setHour(int v)
v
- new valuepublic int getWeekDay()
public void setWeekDay(int v)
v
- new valuepublic int getDayOfMonth()
public void setDayOfMonth(int v)
v
- new valuepublic String getTask()
public void setTask(String v)
v
- new valuepublic String getEmail()
public void setEmail(String v)
v
- new valuepublic byte[] getProperty()
public void setProperty(byte[] v)
v
- new valuepublic static List<String> getFieldNames()
public Object getByName(String name)
getByName
in class org.apache.torque.om.BaseObject
name
- field name
public boolean setByName(String name, Object value) throws org.apache.torque.TorqueException, IllegalArgumentException
setByName
in class org.apache.torque.om.BaseObject
name
- field namevalue
- field value
IllegalArgumentException
- if object type of value does not match field object type.
org.apache.torque.TorqueException
- If a problem occurs with the set[Field] method.public Object getByPeerName(String name)
getByPeerName
in class org.apache.torque.om.BaseObject
name
- peer name
public boolean setByPeerName(String name, Object value) throws org.apache.torque.TorqueException, IllegalArgumentException
setByPeerName
in class org.apache.torque.om.BaseObject
name
- field namevalue
- field value
IllegalArgumentException
- if object type of value does not match field object type.
org.apache.torque.TorqueException
- If a problem occurs with the set[Field] method.public Object getByPosition(int pos)
getByPosition
in class org.apache.torque.om.BaseObject
pos
- position in xml schema
public boolean setByPosition(int position, Object value) throws org.apache.torque.TorqueException, IllegalArgumentException
setByPosition
in class org.apache.torque.om.BaseObject
position
- The field positionvalue
- field value
IllegalArgumentException
- if object type of value does not match field object type.
org.apache.torque.TorqueException
- If a problem occurs with the set[Field] method.public void save() throws Exception
save
in interface org.apache.torque.om.Persistent
save
in class org.apache.torque.om.BaseObject
Exception
public void save(String dbName) throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
save
in class org.apache.torque.om.BaseObject
dbName
-
org.apache.torque.TorqueException
public void save(Connection con) throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
save
in class org.apache.torque.om.BaseObject
con
-
org.apache.torque.TorqueException
public void setPrimaryKey(org.apache.torque.om.ObjectKey key)
setPrimaryKey
in interface org.apache.torque.om.Persistent
setPrimaryKey
in class org.apache.torque.om.BaseObject
key
- jobId ObjectKeypublic void setPrimaryKey(String key)
setPrimaryKey
in interface org.apache.torque.om.Persistent
setPrimaryKey
in class org.apache.torque.om.BaseObject
key
- public org.apache.torque.om.ObjectKey getPrimaryKey()
getPrimaryKey
in interface org.apache.torque.om.Persistent
getPrimaryKey
in class org.apache.torque.om.BaseObject
public JobEntry copy() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public JobEntry copy(Connection con) throws org.apache.torque.TorqueException
con
- the database connection to read associated objects.
org.apache.torque.TorqueException
public JobEntry copy(boolean deepcopy) throws org.apache.torque.TorqueException
deepcopy
- whether to copy the associated objects.
org.apache.torque.TorqueException
public JobEntry 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.TorqueException
protected JobEntry copyInto(JobEntry copyObj) throws org.apache.torque.TorqueException
copyObj
- the object to fill.
org.apache.torque.TorqueException
protected JobEntry copyInto(JobEntry copyObj, Connection con) throws org.apache.torque.TorqueException
copyObj
- the object to fill.con
- the database connection to read associated objects.
org.apache.torque.TorqueException
protected JobEntry copyInto(JobEntry copyObj, boolean deepcopy) throws org.apache.torque.TorqueException
copyObj
- the object to fill.deepcopy
- whether the associated objects should be copied.
org.apache.torque.TorqueException
protected JobEntry copyInto(JobEntry 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.TorqueException
public JobEntryPeer getPeer()
public org.apache.torque.map.TableMap getTableMap() throws org.apache.torque.TorqueException
getTableMap
in class org.apache.torque.om.BaseObject
org.apache.torque.TorqueException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |