|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBaseObject
com.aurel.track.persist.BaseTAttributeType
public abstract class BaseTAttributeType
You should not use this class directly. It should not even be extended all references should be to TAttributeType
| Constructor Summary | |
|---|---|
BaseTAttributeType()
|
|
| Method Summary | |
|---|---|
TAttributeType |
copy()
Makes a copy of this object. |
TAttributeType |
copy(boolean deepcopy)
Makes a copy of this object. |
TAttributeType |
copy(boolean deepcopy,
java.sql.Connection con)
Makes a copy of this object using connection. |
TAttributeType |
copy(java.sql.Connection con)
Makes a copy of this object using connection. |
protected TAttributeType |
copyInto(TAttributeType copyObj)
Fills the copyObj with the contents of this object. |
protected TAttributeType |
copyInto(TAttributeType copyObj,
boolean deepcopy)
Fills the copyObj with the contents of this object. |
protected TAttributeType |
copyInto(TAttributeType copyObj,
boolean deepcopy,
java.sql.Connection con)
Fills the copyObj with the contents of this object using connection. |
protected TAttributeType |
copyInto(TAttributeType copyObj,
java.sql.Connection con)
Fills the copyObj with the contents of this object using connection. |
static TAttributeType |
createTAttributeType(TAttributeTypeBean bean)
Creates an instance of TAttributeType with the contents of a TAttributeTypeBean. |
static TAttributeType |
createTAttributeType(TAttributeTypeBean bean,
IdentityMap createdObjects)
Creates an instance of TAttributeType with the contents of a TAttributeTypeBean. |
java.lang.Integer |
getAttributeClass()
Get the AttributeClass |
java.lang.String |
getAttributeTypeName()
Get the AttributeTypeName |
TAttributeTypeBean |
getBean()
Creates a TAttributeTypeBean with the contents of this object This also creates beans for cached related objects, if they exist |
TAttributeTypeBean |
getBean(IdentityMap createdBeans)
Creates a TAttributeTypeBean 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. |
static java.util.List |
getFieldNames()
Generate a list of field names. |
java.lang.String |
getJavaClassName()
Get the JavaClassName |
java.lang.Integer |
getObjectID()
Get the ObjectID |
TAttributeTypePeer |
getPeer()
returns a peer instance associated with this om. |
ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
TableMap |
getTableMap()
Retrieves the TableMap object related to this Table data without compiler warnings of using getPeer().getTableMap(). |
TAttributeClass |
getTAttributeClass()
Returns the associated TAttributeClass object. |
TAttributeClass |
getTAttributeClass(java.sql.Connection connection)
Return the associated TAttributeClass object If it was not retrieved before, the object is retrieved from the database using the passed connection |
java.lang.String |
getValidationKey()
Get the ValidationKey |
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. |
void |
setAttributeClass(java.lang.Integer v)
Set the value of AttributeClass |
void |
setAttributeTypeName(java.lang.String v)
Set the value of AttributeTypeName |
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 |
setJavaClassName(java.lang.String v)
Set the value of JavaClassName |
void |
setObjectID(java.lang.Integer v)
Set the value of ObjectID |
void |
setPrimaryKey(ObjectKey key)
Set the PrimaryKey using ObjectKey. |
void |
setTAttributeClass(TAttributeClass v)
Declares an association between this object and a TAttributeClass object |
void |
setTAttributeClassKey(ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey()) |
void |
setValidationKey(java.lang.String v)
Set the value of ValidationKey |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseTAttributeType()
| Method Detail |
|---|
public java.lang.Integer getObjectID()
public void setObjectID(java.lang.Integer v)
v - new valuepublic java.lang.String getAttributeTypeName()
public void setAttributeTypeName(java.lang.String v)
v - new valuepublic java.lang.Integer getAttributeClass()
public void setAttributeClass(java.lang.Integer v)
throws TorqueException
v - new value
TorqueExceptionpublic java.lang.String getJavaClassName()
public void setJavaClassName(java.lang.String v)
v - new valuepublic java.lang.String getValidationKey()
public void setValidationKey(java.lang.String v)
v - new value
public void setTAttributeClass(TAttributeClass v)
throws TorqueException
v - TAttributeClass
TorqueException
public TAttributeClass getTAttributeClass()
throws TorqueException
TorqueException
public TAttributeClass getTAttributeClass(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 setTAttributeClassKey(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 TAttributeType copy()
throws TorqueException
TorqueException
public TAttributeType copy(java.sql.Connection con)
throws TorqueException
con - the database connection to read associated objects.
TorqueException
public TAttributeType copy(boolean deepcopy)
throws TorqueException
deepcopy - whether to copy the associated objects.
TorqueException
public TAttributeType 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 TAttributeType copyInto(TAttributeType copyObj)
throws TorqueException
copyObj - the object to fill.
TorqueException
protected TAttributeType copyInto(TAttributeType copyObj,
java.sql.Connection con)
throws TorqueException
copyObj - the object to fill.con - the database connection to read associated objects.
TorqueException
protected TAttributeType copyInto(TAttributeType copyObj,
boolean deepcopy)
throws TorqueException
copyObj - the object to fill.deepcopy - whether the associated objects should be copied.
TorqueException
protected TAttributeType copyInto(TAttributeType 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 TAttributeTypePeer getPeer()
public TableMap getTableMap()
throws TorqueException
TorqueExceptionpublic TAttributeTypeBean getBean()
public TAttributeTypeBean getBean(IdentityMap createdBeans)
createdBeans - a IdentityMap which maps objects
to already created beans
public static TAttributeType createTAttributeType(TAttributeTypeBean bean)
throws TorqueException
bean - the TAttributeTypeBean which contents are used to create
the resulting class
TorqueException
public static TAttributeType createTAttributeType(TAttributeTypeBean bean,
IdentityMap createdObjects)
throws TorqueException
bean - the TAttributeTypeBean 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 | ||||||||