|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBaseObject
com.aurel.track.persist.BaseTBaseLine
public abstract class BaseTBaseLine
You should not use this class directly. It should not even be extended all references should be to TBaseLine
| Constructor Summary | |
|---|---|
BaseTBaseLine()
|
|
| Method Summary | |
|---|---|
TBaseLine |
copy()
Makes a copy of this object. |
TBaseLine |
copy(boolean deepcopy)
Makes a copy of this object. |
TBaseLine |
copy(boolean deepcopy,
java.sql.Connection con)
Makes a copy of this object using connection. |
TBaseLine |
copy(java.sql.Connection con)
Makes a copy of this object using connection. |
protected TBaseLine |
copyInto(TBaseLine copyObj)
Fills the copyObj with the contents of this object. |
protected TBaseLine |
copyInto(TBaseLine copyObj,
boolean deepcopy)
Fills the copyObj with the contents of this object. |
protected TBaseLine |
copyInto(TBaseLine copyObj,
boolean deepcopy,
java.sql.Connection con)
Fills the copyObj with the contents of this object using connection. |
protected TBaseLine |
copyInto(TBaseLine copyObj,
java.sql.Connection con)
Fills the copyObj with the contents of this object using connection. |
static TBaseLine |
createTBaseLine(TBaseLineBean bean)
Creates an instance of TBaseLine with the contents of a TBaseLineBean. |
static TBaseLine |
createTBaseLine(TBaseLineBean bean,
IdentityMap createdObjects)
Creates an instance of TBaseLine with the contents of a TBaseLineBean. |
TBaseLineBean |
getBean()
Creates a TBaseLineBean with the contents of this object This also creates beans for cached related objects, if they exist |
TBaseLineBean |
getBean(IdentityMap createdBeans)
Creates a TBaseLineBean with the contents of this object intended for internal use only |
java.lang.Object |
getByName(java.lang.String name)
Retrieves a field from the object by field (Java) name passed in as a String. |
java.lang.Object |
getByPeerName(java.lang.String name)
Retrieves a field from the object by name passed in as a String. |
java.lang.Object |
getByPosition(int pos)
Retrieves a field from the object by Position as specified in the xml schema. |
java.lang.Integer |
getChangedByID()
Get the ChangedByID |
java.util.Date |
getEndDate()
Get the EndDate |
static java.util.List |
getFieldNames()
Generate a list of field names. |
java.util.Date |
getLastEdit()
Get the LastEdit |
java.lang.Integer |
getObjectID()
Get the ObjectID |
TBaseLinePeer |
getPeer()
returns a peer instance associated with this om. |
ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
java.lang.String |
getReasonForChange()
Get the ReasonForChange |
java.util.Date |
getStartDate()
Get the StartDate |
TableMap |
getTableMap()
Retrieves the TableMap object related to this Table data without compiler warnings of using getPeer().getTableMap(). |
TPerson |
getTPerson()
Returns the associated TPerson object. |
TPerson |
getTPerson(java.sql.Connection connection)
Return the associated TPerson object If it was not retrieved before, the object is retrieved from the database using the passed connection |
TWorkItem |
getTWorkItem()
Returns the associated TWorkItem object. |
TWorkItem |
getTWorkItem(java.sql.Connection connection)
Return the associated TWorkItem object If it was not retrieved before, the object is retrieved from the database using the passed connection |
java.lang.Integer |
getWorkItemID()
Get the WorkItemID |
void |
save()
Stores the object in the database. |
void |
save(java.sql.Connection con)
Stores the object in the database. |
void |
save(java.lang.String dbName)
Stores the object in the database. |
boolean |
setByName(java.lang.String name,
java.lang.Object value)
Set a field in the object by field (Java) name. |
boolean |
setByPeerName(java.lang.String name,
java.lang.Object value)
Set field values by Peer Field Name |
boolean |
setByPosition(int position,
java.lang.Object value)
Set field values by its position (zero based) in the XML schema. |
void |
setChangedByID(java.lang.Integer v)
Set the value of ChangedByID |
void |
setEndDate(java.util.Date v)
Set the value of EndDate |
void |
setLastEdit(java.util.Date v)
Set the value of LastEdit |
void |
setObjectID(java.lang.Integer v)
Set the value of ObjectID |
void |
setPrimaryKey(ObjectKey key)
Set the PrimaryKey using ObjectKey. |
void |
setReasonForChange(java.lang.String v)
Set the value of ReasonForChange |
void |
setStartDate(java.util.Date v)
Set the value of StartDate |
void |
setTPerson(TPerson v)
Declares an association between this object and a TPerson object |
void |
setTPersonKey(ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey()) |
void |
setTWorkItem(TWorkItem v)
Declares an association between this object and a TWorkItem object |
void |
setTWorkItemKey(ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey()) |
void |
setWorkItemID(java.lang.Integer v)
Set the value of WorkItemID |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseTBaseLine()
| Method Detail |
|---|
public java.lang.Integer getObjectID()
public void setObjectID(java.lang.Integer v)
v - new valuepublic java.lang.Integer getWorkItemID()
public void setWorkItemID(java.lang.Integer v)
throws TorqueException
v - new value
TorqueExceptionpublic java.util.Date getStartDate()
public void setStartDate(java.util.Date v)
v - new valuepublic java.util.Date getEndDate()
public void setEndDate(java.util.Date v)
v - new valuepublic java.lang.String getReasonForChange()
public void setReasonForChange(java.lang.String v)
v - new valuepublic java.lang.Integer getChangedByID()
public void setChangedByID(java.lang.Integer v)
throws TorqueException
v - new value
TorqueExceptionpublic java.util.Date getLastEdit()
public void setLastEdit(java.util.Date v)
v - new value
public void setTWorkItem(TWorkItem v)
throws TorqueException
v - TWorkItem
TorqueException
public TWorkItem getTWorkItem()
throws TorqueException
TorqueException
public TWorkItem getTWorkItem(java.sql.Connection connection)
throws TorqueException
connection - the connection used to retrieve the associated object
from the database, if it was not retrieved before
TorqueException
public void setTWorkItemKey(ObjectKey key)
throws TorqueException
bar.setFooKey(foo.getPrimaryKey())
TorqueException
public void setTPerson(TPerson v)
throws TorqueException
v - TPerson
TorqueException
public TPerson getTPerson()
throws TorqueException
TorqueException
public TPerson getTPerson(java.sql.Connection connection)
throws TorqueException
connection - the connection used to retrieve the associated object
from the database, if it was not retrieved before
TorqueException
public void setTPersonKey(ObjectKey key)
throws TorqueException
bar.setFooKey(foo.getPrimaryKey())
TorqueExceptionpublic static java.util.List getFieldNames()
public java.lang.Object getByName(java.lang.String name)
name - field name
public boolean setByName(java.lang.String name,
java.lang.Object value)
throws TorqueException,
java.lang.IllegalArgumentException
name - field namevalue - field value
java.lang.IllegalArgumentException - if object type of value does not match field object type.
TorqueException - If a problem occurs with the set[Field] method.public java.lang.Object getByPeerName(java.lang.String name)
name - peer name
public boolean setByPeerName(java.lang.String name,
java.lang.Object value)
throws TorqueException,
java.lang.IllegalArgumentException
name - field namevalue - field value
java.lang.IllegalArgumentException - if object type of value does not match field object type.
TorqueException - If a problem occurs with the set[Field] method.public java.lang.Object getByPosition(int pos)
pos - position in xml schema
public boolean setByPosition(int position,
java.lang.Object value)
throws TorqueException,
java.lang.IllegalArgumentException
position - The field positionvalue - field value
java.lang.IllegalArgumentException - if object type of value does not match field object type.
TorqueException - If a problem occurs with the set[Field] method.
public void save()
throws java.lang.Exception
java.lang.Exception
public void save(java.lang.String dbName)
throws TorqueException
dbName -
TorqueException
public void save(java.sql.Connection con)
throws TorqueException
con -
TorqueExceptionpublic void setPrimaryKey(ObjectKey key)
key - objectID ObjectKeypublic ObjectKey getPrimaryKey()
public TBaseLine copy()
throws TorqueException
TorqueException
public TBaseLine copy(java.sql.Connection con)
throws TorqueException
con - the database connection to read associated objects.
TorqueException
public TBaseLine copy(boolean deepcopy)
throws TorqueException
deepcopy - whether to copy the associated objects.
TorqueException
public TBaseLine copy(boolean deepcopy,
java.sql.Connection con)
throws TorqueException
deepcopy - whether to copy the associated objects.con - the database connection to read associated objects.
TorqueException
protected TBaseLine copyInto(TBaseLine copyObj)
throws TorqueException
copyObj - the object to fill.
TorqueException
protected TBaseLine copyInto(TBaseLine copyObj,
java.sql.Connection con)
throws TorqueException
copyObj - the object to fill.con - the database connection to read associated objects.
TorqueException
protected TBaseLine copyInto(TBaseLine copyObj,
boolean deepcopy)
throws TorqueException
copyObj - the object to fill.deepcopy - whether the associated objects should be copied.
TorqueException
protected TBaseLine copyInto(TBaseLine copyObj,
boolean deepcopy,
java.sql.Connection con)
throws TorqueException
copyObj - the object to fill.deepcopy - whether the associated objects should be copied.con - the database connection to read associated objects.
TorqueExceptionpublic TBaseLinePeer getPeer()
public TableMap getTableMap()
throws TorqueException
TorqueExceptionpublic TBaseLineBean getBean()
public TBaseLineBean getBean(IdentityMap createdBeans)
createdBeans - a IdentityMap which maps objects
to already created beans
public static TBaseLine createTBaseLine(TBaseLineBean bean)
throws TorqueException
bean - the TBaseLineBean which contents are used to create
the resulting class
TorqueException
public static TBaseLine createTBaseLine(TBaseLineBean bean,
IdentityMap createdObjects)
throws TorqueException
bean - the TBaseLineBean which contents are used to create
the resulting classcreatedObjects - a IdentityMap which maps beans
to already created objects
TorqueExceptionpublic java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||