|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBaseObject
com.aurel.track.persist.BaseTField
public abstract class BaseTField
You should not use this class directly. It should not even be extended all references should be to TField
| Field Summary | |
|---|---|
protected java.util.List |
collTAttributeValues
Collection to store aggregation of collTAttributeValues |
protected java.util.List |
collTFieldConfigs
Collection to store aggregation of collTFieldConfigs |
protected java.util.List |
collTRoleFields
Collection to store aggregation of collTRoleFields |
protected java.util.List |
collTScreenFields
Collection to store aggregation of collTScreenFields |
| Constructor Summary | |
|---|---|
BaseTField()
|
|
| Method Summary | |
|---|---|
void |
addTAttributeValue(TAttributeValue l)
Method called to associate a TAttributeValue object to this object through the TAttributeValue foreign key attribute |
void |
addTAttributeValue(TAttributeValue l,
java.sql.Connection con)
Method called to associate a TAttributeValue object to this object through the TAttributeValue foreign key attribute using connection. |
protected void |
addTAttributeValueFromBean(TAttributeValue toAdd)
Method called to associate a TAttributeValue object to this object. |
void |
addTFieldConfig(TFieldConfig l)
Method called to associate a TFieldConfig object to this object through the TFieldConfig foreign key attribute |
void |
addTFieldConfig(TFieldConfig l,
java.sql.Connection con)
Method called to associate a TFieldConfig object to this object through the TFieldConfig foreign key attribute using connection. |
protected void |
addTFieldConfigFromBean(TFieldConfig toAdd)
Method called to associate a TFieldConfig object to this object. |
void |
addTRoleField(TRoleField l)
Method called to associate a TRoleField object to this object through the TRoleField foreign key attribute |
void |
addTRoleField(TRoleField l,
java.sql.Connection con)
Method called to associate a TRoleField object to this object through the TRoleField foreign key attribute using connection. |
protected void |
addTRoleFieldFromBean(TRoleField toAdd)
Method called to associate a TRoleField object to this object. |
void |
addTScreenField(TScreenField l)
Method called to associate a TScreenField object to this object through the TScreenField foreign key attribute |
void |
addTScreenField(TScreenField l,
java.sql.Connection con)
Method called to associate a TScreenField object to this object through the TScreenField foreign key attribute using connection. |
protected void |
addTScreenFieldFromBean(TScreenField toAdd)
Method called to associate a TScreenField object to this object. |
TField |
copy()
Makes a copy of this object. |
TField |
copy(boolean deepcopy)
Makes a copy of this object. |
TField |
copy(boolean deepcopy,
java.sql.Connection con)
Makes a copy of this object using connection. |
TField |
copy(java.sql.Connection con)
Makes a copy of this object using connection. |
protected TField |
copyInto(TField copyObj)
Fills the copyObj with the contents of this object. |
protected TField |
copyInto(TField copyObj,
boolean deepcopy)
Fills the copyObj with the contents of this object. |
protected TField |
copyInto(TField copyObj,
boolean deepcopy,
java.sql.Connection con)
Fills the copyObj with the contents of this object using connection. |
protected TField |
copyInto(TField copyObj,
java.sql.Connection con)
Fills the copyObj with the contents of this object using connection. |
static TField |
createTField(TFieldBean bean)
Creates an instance of TField with the contents of a TFieldBean. |
static TField |
createTField(TFieldBean bean,
IdentityMap createdObjects)
Creates an instance of TField with the contents of a TFieldBean. |
TFieldBean |
getBean()
Creates a TFieldBean with the contents of this object This also creates beans for cached related objects, if they exist |
TFieldBean |
getBean(IdentityMap createdBeans)
Creates a TFieldBean 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.String |
getDeprecated()
Get the Deprecated |
java.lang.String |
getDescription()
Get the Description |
static java.util.List |
getFieldNames()
Generate a list of field names. |
java.lang.String |
getFieldType()
Get the FieldType |
java.lang.String |
getIsCustom()
Get the IsCustom |
java.lang.String |
getName()
Get the Name |
java.lang.Integer |
getObjectID()
Get the ObjectID |
java.lang.Integer |
getOwner()
Get the Owner |
TFieldPeer |
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 |
getRequired()
Get the Required |
TableMap |
getTableMap()
Retrieves the TableMap object related to this Table data without compiler warnings of using getPeer().getTableMap(). |
java.util.List |
getTAttributeValues()
If this collection has already been initialized, returns the collection. |
java.util.List |
getTAttributeValues(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getTAttributeValues(Criteria criteria,
java.sql.Connection con)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getTAttributeValuesJoinTField(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getTAttributeValuesJoinTWorkItem(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getTFieldConfigs()
If this collection has already been initialized, returns the collection. |
java.util.List |
getTFieldConfigs(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getTFieldConfigs(Criteria criteria,
java.sql.Connection con)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getTFieldConfigsJoinTField(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getTFieldConfigsJoinTListType(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getTFieldConfigsJoinTProject(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getTFieldConfigsJoinTProjectType(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
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 |
java.util.List |
getTRoleFields()
If this collection has already been initialized, returns the collection. |
java.util.List |
getTRoleFields(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getTRoleFields(Criteria criteria,
java.sql.Connection con)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getTRoleFieldsJoinTField(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getTRoleFieldsJoinTRole(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getTScreenFields()
If this collection has already been initialized, returns the collection. |
java.util.List |
getTScreenFields(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getTScreenFields(Criteria criteria,
java.sql.Connection con)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getTScreenFieldsJoinTField(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getTScreenFieldsJoinTScreenPanel(Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected void |
initTAttributeValues()
Temporary storage of collTAttributeValues to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initTFieldConfigs()
Temporary storage of collTFieldConfigs to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initTRoleFields()
Temporary storage of collTRoleFields to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initTScreenFields()
Temporary storage of collTScreenFields to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
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 |
setDeprecated(java.lang.String v)
Set the value of Deprecated |
void |
setDescription(java.lang.String v)
Set the value of Description |
void |
setFieldType(java.lang.String v)
Set the value of FieldType |
void |
setIsCustom(java.lang.String v)
Set the value of IsCustom |
void |
setName(java.lang.String v)
Set the value of Name |
void |
setObjectID(java.lang.Integer v)
Set the value of ObjectID |
void |
setOwner(java.lang.Integer v)
Set the value of Owner |
void |
setPrimaryKey(ObjectKey key)
Set the PrimaryKey using ObjectKey. |
void |
setRequired(java.lang.String v)
Set the value of Required |
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()) |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List collTFieldConfigs
protected java.util.List collTRoleFields
protected java.util.List collTAttributeValues
protected java.util.List collTScreenFields
| Constructor Detail |
|---|
public BaseTField()
| Method Detail |
|---|
public java.lang.Integer getObjectID()
public void setObjectID(java.lang.Integer v)
throws TorqueException
v - new value
TorqueExceptionpublic java.lang.String getName()
public void setName(java.lang.String v)
v - new valuepublic java.lang.String getFieldType()
public void setFieldType(java.lang.String v)
v - new valuepublic java.lang.String getDeprecated()
public void setDeprecated(java.lang.String v)
v - new valuepublic java.lang.String getIsCustom()
public void setIsCustom(java.lang.String v)
v - new valuepublic java.lang.String getRequired()
public void setRequired(java.lang.String v)
v - new valuepublic java.lang.String getDescription()
public void setDescription(java.lang.String v)
v - new valuepublic java.lang.Integer getOwner()
public void setOwner(java.lang.Integer v)
throws TorqueException
v - new value
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())
TorqueExceptionprotected void initTFieldConfigs()
public void addTFieldConfig(TFieldConfig l)
throws TorqueException
l - TFieldConfig
TorqueException
public void addTFieldConfig(TFieldConfig l,
java.sql.Connection con)
throws TorqueException
l - TFieldConfig
TorqueException
public java.util.List getTFieldConfigs()
throws TorqueException
TorqueException
public java.util.List getTFieldConfigs(Criteria criteria)
throws TorqueException
TorqueException
public java.util.List getTFieldConfigs(Criteria criteria,
java.sql.Connection con)
throws TorqueException
TorqueException
protected java.util.List getTFieldConfigsJoinTField(Criteria criteria)
throws TorqueException
TorqueException
protected java.util.List getTFieldConfigsJoinTListType(Criteria criteria)
throws TorqueException
TorqueException
protected java.util.List getTFieldConfigsJoinTProjectType(Criteria criteria)
throws TorqueException
TorqueException
protected java.util.List getTFieldConfigsJoinTProject(Criteria criteria)
throws TorqueException
TorqueExceptionprotected void initTRoleFields()
public void addTRoleField(TRoleField l)
throws TorqueException
l - TRoleField
TorqueException
public void addTRoleField(TRoleField l,
java.sql.Connection con)
throws TorqueException
l - TRoleField
TorqueException
public java.util.List getTRoleFields()
throws TorqueException
TorqueException
public java.util.List getTRoleFields(Criteria criteria)
throws TorqueException
TorqueException
public java.util.List getTRoleFields(Criteria criteria,
java.sql.Connection con)
throws TorqueException
TorqueException
protected java.util.List getTRoleFieldsJoinTRole(Criteria criteria)
throws TorqueException
TorqueException
protected java.util.List getTRoleFieldsJoinTField(Criteria criteria)
throws TorqueException
TorqueExceptionprotected void initTAttributeValues()
public void addTAttributeValue(TAttributeValue l)
throws TorqueException
l - TAttributeValue
TorqueException
public void addTAttributeValue(TAttributeValue l,
java.sql.Connection con)
throws TorqueException
l - TAttributeValue
TorqueException
public java.util.List getTAttributeValues()
throws TorqueException
TorqueException
public java.util.List getTAttributeValues(Criteria criteria)
throws TorqueException
TorqueException
public java.util.List getTAttributeValues(Criteria criteria,
java.sql.Connection con)
throws TorqueException
TorqueException
protected java.util.List getTAttributeValuesJoinTField(Criteria criteria)
throws TorqueException
TorqueException
protected java.util.List getTAttributeValuesJoinTWorkItem(Criteria criteria)
throws TorqueException
TorqueExceptionprotected void initTScreenFields()
public void addTScreenField(TScreenField l)
throws TorqueException
l - TScreenField
TorqueException
public void addTScreenField(TScreenField l,
java.sql.Connection con)
throws TorqueException
l - TScreenField
TorqueException
public java.util.List getTScreenFields()
throws TorqueException
TorqueException
public java.util.List getTScreenFields(Criteria criteria)
throws TorqueException
TorqueException
public java.util.List getTScreenFields(Criteria criteria,
java.sql.Connection con)
throws TorqueException
TorqueException
protected java.util.List getTScreenFieldsJoinTScreenPanel(Criteria criteria)
throws TorqueException
TorqueException
protected java.util.List getTScreenFieldsJoinTField(Criteria criteria)
throws TorqueException
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 -
TorqueException
public void setPrimaryKey(ObjectKey key)
throws TorqueException
key - objectID ObjectKey
TorqueExceptionpublic ObjectKey getPrimaryKey()
public TField copy()
throws TorqueException
TorqueException
public TField copy(java.sql.Connection con)
throws TorqueException
con - the database connection to read associated objects.
TorqueException
public TField copy(boolean deepcopy)
throws TorqueException
deepcopy - whether to copy the associated objects.
TorqueException
public TField 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 TField copyInto(TField copyObj)
throws TorqueException
copyObj - the object to fill.
TorqueException
protected TField copyInto(TField copyObj,
java.sql.Connection con)
throws TorqueException
copyObj - the object to fill.con - the database connection to read associated objects.
TorqueException
protected TField copyInto(TField copyObj,
boolean deepcopy)
throws TorqueException
copyObj - the object to fill.deepcopy - whether the associated objects should be copied.
TorqueException
protected TField copyInto(TField 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 TFieldPeer getPeer()
public TableMap getTableMap()
throws TorqueException
TorqueExceptionpublic TFieldBean getBean()
public TFieldBean getBean(IdentityMap createdBeans)
createdBeans - a IdentityMap which maps objects
to already created beans
public static TField createTField(TFieldBean bean)
throws TorqueException
bean - the TFieldBean which contents are used to create
the resulting class
TorqueException
public static TField createTField(TFieldBean bean,
IdentityMap createdObjects)
throws TorqueException
bean - the TFieldBean which contents are used to create
the resulting classcreatedObjects - a IdentityMap which maps beans
to already created objects
TorqueExceptionprotected void addTFieldConfigFromBean(TFieldConfig toAdd)
toAdd - TFieldConfigprotected void addTRoleFieldFromBean(TRoleField toAdd)
toAdd - TRoleFieldprotected void addTAttributeValueFromBean(TAttributeValue toAdd)
toAdd - TAttributeValueprotected void addTScreenFieldFromBean(TScreenField toAdd)
toAdd - TScreenFieldpublic java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||