setRModuleAttributeKey(ObjectKey key) Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
Note: It is important that the xml schema used to create this class
maintains consistency in the order of related columns between
SCARAB_CONDITION and SCARAB_R_MODULE_ATTRIBUTE.
setRModuleIssueTypeKey(ObjectKey key) Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
Note: It is important that the xml schema used to create this class
maintains consistency in the order of related columns between
SCARAB_CONDITION and SCARAB_R_MODULE_ISSUE_TYPE.
Makes a copy of this object.
It creates a new object filling in the simple attributes.
It then fills all the association collections and sets the
related objects to isNew=true.
Returns the associated Attribute object.
If it was not retrieved before, the object is retrieved from
the database
the associated Attribute object throws: TorqueException -
Return the associated Attribute object
If it was not retrieved before, the object is retrieved from
the database using the passed connection
Parameters: connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated Attribute object throws: TorqueException -
Returns the associated AttributeOption object.
If it was not retrieved before, the object is retrieved from
the database
the associated AttributeOption object throws: TorqueException -
Return the associated AttributeOption object
If it was not retrieved before, the object is retrieved from
the database using the passed connection
Parameters: connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated AttributeOption object throws: TorqueException -
Retrieves a field from the object by name passed in
as a String. The String must be one of the static
Strings defined in this Class' Peer.
Parameters: name - peer name value
returns a peer instance associated with this om. Since Peer classes
are not to have any instance attributes, this method returns the
same instance for all member of this class. The method could therefore
be static, but this would prevent one from overriding the behavior.
Returns the associated RModuleAttribute object.
If it was not retrieved before, the object is retrieved from
the database
the associated RModuleAttribute object throws: TorqueException -
Return the associated RModuleAttribute object
If it was not retrieved before, the object is retrieved from
the database using the passed connection
Parameters: connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated RModuleAttribute object throws: TorqueException -
Returns the associated RModuleIssueType object.
If it was not retrieved before, the object is retrieved from
the database
the associated RModuleIssueType object throws: TorqueException -
Return the associated RModuleIssueType object
If it was not retrieved before, the object is retrieved from
the database using the passed connection
Parameters: connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated RModuleIssueType object throws: TorqueException -
Returns the associated Transition object.
If it was not retrieved before, the object is retrieved from
the database
the associated Transition object throws: TorqueException -
Return the associated Transition object
If it was not retrieved before, the object is retrieved from
the database using the passed connection
Parameters: connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated Transition object throws: TorqueException -
Stores the object in the database. If the object is new,
it inserts it; otherwise an update is performed.
throws: TorqueException -
save
public void save(String dbName) throws TorqueException(Code)
Stores the object in the database. If the object is new,
it inserts it; otherwise an update is performed.
Note: this code is here because the method body is
auto-generated conditionally and therefore needs to be
in this file instead of in the super class, BaseObject.
Parameters: dbName - throws: TorqueException -
Stores the object in the database. If the object is new,
it inserts it; otherwise an update is performed. This method
is meant to be used as part of a transaction, otherwise use
the save() method and the connection details will be handled
internally
Parameters: con - throws: TorqueException -
setAttribute
public void setAttribute(Attribute v) throws TorqueException(Code)
Declares an association between this object and a Attribute object
Parameters: v - Attribute throws: TorqueException -
setAttributeId
public void setAttributeId(Integer v) throws TorqueException(Code)
Set the value of AttributeId
Parameters: v - new value
setAttributeKey
public void setAttributeKey(ObjectKey key) throws TorqueException(Code)
Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
Declares an association between this object and a RModuleAttribute object
Parameters: v - RModuleAttribute throws: TorqueException -
setRModuleAttributeKey
public void setRModuleAttributeKey(ObjectKey key) throws TorqueException(Code)
Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
Note: It is important that the xml schema used to create this class
maintains consistency in the order of related columns between
SCARAB_CONDITION and SCARAB_R_MODULE_ATTRIBUTE.
If for some reason this is impossible, this method should be
overridden in Condition.
Declares an association between this object and a RModuleIssueType object
Parameters: v - RModuleIssueType throws: TorqueException -
setRModuleIssueTypeKey
public void setRModuleIssueTypeKey(ObjectKey key) throws TorqueException(Code)
Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
Note: It is important that the xml schema used to create this class
maintains consistency in the order of related columns between
SCARAB_CONDITION and SCARAB_R_MODULE_ISSUE_TYPE.
If for some reason this is impossible, this method should be
overridden in Condition.
setTransition
public void setTransition(Transition v) throws TorqueException(Code)
Declares an association between this object and a Transition object
Parameters: v - Transition throws: TorqueException -
setTransitionId
public void setTransitionId(Integer v) throws TorqueException(Code)
Set the value of TransitionId
Parameters: v - new value
setTransitionKey
public void setTransitionKey(ObjectKey key) throws TorqueException(Code)
Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())