Java Doc for BaseCondition.java in  » Issue-Tracking » scarab-0.21 » org » tigris » scarab » om » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Issue Tracking » scarab 0.21 » org.tigris.scarab.om 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.tigris.scarab.om.BaseCondition

All known Subclasses:   org.tigris.scarab.om.Condition,
BaseCondition
abstract public class BaseCondition extends BaseObject implements org.apache.fulcrum.intake.Retrievable(Code)
You should not use this class directly. It should not even be extended all references should be to Condition




Method Summary
public  Conditioncopy()
     Makes a copy of this object.
protected  ConditioncopyInto(Condition copyObj)
    
public  AttributegetAttribute()
     Returns the associated Attribute object.
public  AttributegetAttribute(Connection connection)
    
public  IntegergetAttributeId()
    
public  AttributeOptiongetAttributeOption()
     Returns the associated AttributeOption object.
public  AttributeOptiongetAttributeOption(Connection connection)
    
public  ObjectgetByName(String name)
     Retrieves a field from the object by name passed in as a String.
public  ObjectgetByPeerName(String name)
     Retrieves a field from the object by name passed in as a String.
public  ObjectgetByPosition(int pos)
     Retrieves a field from the object by Position as specified in the xml schema.
public  LonggetConditionId()
    
public static synchronized  ListgetFieldNames()
     Generate a list of field names.
public  IntegergetIssueTypeId()
    
public  IntegergetModuleId()
    
public  IntegergetOptionId()
    
public  ConditionPeergetPeer()
     returns a peer instance associated with this om.
public  ObjectKeygetPrimaryKey()
     returns an id that differentiates this object from others of its class.
public  StringgetQueryKey()
     get an id that differentiates this object from others of its class.
public  RModuleAttributegetRModuleAttribute()
     Returns the associated RModuleAttribute object.
public  RModuleAttributegetRModuleAttribute(Connection connection)
    
public  RModuleIssueTypegetRModuleIssueType()
     Returns the associated RModuleIssueType object.
public  RModuleIssueTypegetRModuleIssueType(Connection connection)
    
public  TransitiongetTransition()
     Returns the associated Transition object.
public  TransitiongetTransition(Connection connection)
    
public  IntegergetTransitionId()
    
protected  booleanisCacheOnSave()
     Specify whether to cache the object after saving to the db.
public  voidsave()
     Stores the object in the database.
public  voidsave(String dbName)
     Stores the object in the database.
public  voidsave(Connection con)
     Stores the object in the database.
public  voidsetAttribute(Attribute v)
    
public  voidsetAttributeId(Integer v)
    
public  voidsetAttributeKey(ObjectKey key)
    
public  voidsetAttributeOption(AttributeOption v)
    
public  voidsetAttributeOptionKey(ObjectKey key)
    
public  voidsetConditionId(Long v)
    
public  voidsetIssueTypeId(Integer v)
    
public  voidsetModuleId(Integer v)
    
public  voidsetOptionId(Integer v)
    
public  voidsetPrimaryKey(ObjectKey key)
     Set the PrimaryKey using ObjectKey.
public  voidsetPrimaryKey(String key)
     Set the PrimaryKey using a String.
public  voidsetQueryKey(String key)
     set an id that differentiates this object from others of its class.
public  voidsetRModuleAttribute(RModuleAttribute v)
    
public  voidsetRModuleAttributeKey(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.
public  voidsetRModuleIssueType(RModuleIssueType v)
    
public  voidsetRModuleIssueTypeKey(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.
public  voidsetTransition(Transition v)
    
public  voidsetTransitionId(Integer v)
    
public  voidsetTransitionKey(ObjectKey key)
    
public  StringtoString()
    



Method Detail
copy
public Condition copy() throws TorqueException(Code)
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.



copyInto
protected Condition copyInto(Condition copyObj) throws TorqueException(Code)



getAttribute
public Attribute getAttribute() throws TorqueException(Code)
Returns the associated Attribute object. If it was not retrieved before, the object is retrieved from the database the associated Attribute object
throws:
  TorqueException -



getAttribute
public Attribute getAttribute(Connection connection) throws TorqueException(Code)
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 -



getAttributeId
public Integer getAttributeId()(Code)
Get the AttributeId Integer



getAttributeOption
public AttributeOption getAttributeOption() throws TorqueException(Code)
Returns the associated AttributeOption object. If it was not retrieved before, the object is retrieved from the database the associated AttributeOption object
throws:
  TorqueException -



getAttributeOption
public AttributeOption getAttributeOption(Connection connection) throws TorqueException(Code)
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 -



getByName
public Object getByName(String name)(Code)
Retrieves a field from the object by name passed in as a String.
Parameters:
  name - field name value



getByPeerName
public Object getByPeerName(String name)(Code)
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



getByPosition
public Object getByPosition(int pos)(Code)
Retrieves a field from the object by Position as specified in the xml schema. Zero-based.
Parameters:
  pos - position in xml schema value



getConditionId
public Long getConditionId()(Code)
Get the ConditionId Long



getFieldNames
public static synchronized List getFieldNames()(Code)
Generate a list of field names. a list of field names



getIssueTypeId
public Integer getIssueTypeId()(Code)
Get the IssueTypeId Integer



getModuleId
public Integer getModuleId()(Code)
Get the ModuleId Integer



getOptionId
public Integer getOptionId()(Code)
Get the OptionId Integer



getPeer
public ConditionPeer getPeer()(Code)
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.



getPrimaryKey
public ObjectKey getPrimaryKey()(Code)
returns an id that differentiates this object from others of its class.



getQueryKey
public String getQueryKey()(Code)
get an id that differentiates this object from others of its class.



getRModuleAttribute
public RModuleAttribute getRModuleAttribute() throws TorqueException(Code)
Returns the associated RModuleAttribute object. If it was not retrieved before, the object is retrieved from the database the associated RModuleAttribute object
throws:
  TorqueException -



getRModuleAttribute
public RModuleAttribute getRModuleAttribute(Connection connection) throws TorqueException(Code)
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 -



getRModuleIssueType
public RModuleIssueType getRModuleIssueType() throws TorqueException(Code)
Returns the associated RModuleIssueType object. If it was not retrieved before, the object is retrieved from the database the associated RModuleIssueType object
throws:
  TorqueException -



getRModuleIssueType
public RModuleIssueType getRModuleIssueType(Connection connection) throws TorqueException(Code)
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 -



getTransition
public Transition getTransition() throws TorqueException(Code)
Returns the associated Transition object. If it was not retrieved before, the object is retrieved from the database the associated Transition object
throws:
  TorqueException -



getTransition
public Transition getTransition(Connection connection) throws TorqueException(Code)
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 -



getTransitionId
public Integer getTransitionId()(Code)
Get the TransitionId Integer



isCacheOnSave
protected boolean isCacheOnSave()(Code)
Specify whether to cache the object after saving to the db. This method returns true



save
public void save() throws TorqueException(Code)
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 -



save
public void save(Connection con) throws TorqueException(Code)
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())



setAttributeOption
public void setAttributeOption(AttributeOption v) throws TorqueException(Code)
Declares an association between this object and a AttributeOption object
Parameters:
  v - AttributeOption
throws:
  TorqueException -



setAttributeOptionKey
public void setAttributeOptionKey(ObjectKey key) throws TorqueException(Code)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())



setConditionId
public void setConditionId(Long v)(Code)
Set the value of ConditionId
Parameters:
  v - new value



setIssueTypeId
public void setIssueTypeId(Integer v) throws TorqueException(Code)
Set the value of IssueTypeId
Parameters:
  v - new value



setModuleId
public void setModuleId(Integer v) throws TorqueException(Code)
Set the value of ModuleId
Parameters:
  v - new value



setOptionId
public void setOptionId(Integer v) throws TorqueException(Code)
Set the value of OptionId
Parameters:
  v - new value



setPrimaryKey
public void setPrimaryKey(ObjectKey key)(Code)
Set the PrimaryKey using ObjectKey.
Parameters:
  key - conditionId ObjectKey



setPrimaryKey
public void setPrimaryKey(String key)(Code)
Set the PrimaryKey using a String.
Parameters:
  key -



setQueryKey
public void setQueryKey(String key) throws TorqueException(Code)
set an id that differentiates this object from others of its class.



setRModuleAttribute
public void setRModuleAttribute(RModuleAttribute v) throws TorqueException(Code)
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.



setRModuleIssueType
public void setRModuleIssueType(RModuleIssueType v) throws TorqueException(Code)
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())



toString
public String toString()(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.