Java Doc for ComplexRecipeBase.java in  » Science » Cougaar12_4 » org » cougaar » tools » csmart » recipe » 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 » Science » Cougaar12_4 » org.cougaar.tools.csmart.recipe 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.cougaar.tools.csmart.recipe.RecipeBase
   org.cougaar.tools.csmart.recipe.ComplexRecipeBase

All known Subclasses:   org.cougaar.tools.csmart.recipe.ComponentCollectionRecipe,  org.cougaar.tools.csmart.recipe.CompleteAgentRecipe,
ComplexRecipeBase
public class ComplexRecipeBase extends RecipeBase implements ComplexRecipeComponent,Serializable(Code)
ComplexRecipeBase.java Base component for a ComplexRecipe. A ComplexRecipe is a recipe that requires storage in both the recipe tables and an assembly in the asb table. The primary key is an assembly Id which is a hidden property of the recipe. This key is stored as the primary argument in the recipe args table. On load, the assembly Id is used to obtain all recipe related data from the assembly tables. Created: Thu Jun 20 13:52:13 2002


Field Summary
final public static  StringASSEMBLY_PROP
    
protected static  StringDESCRIPTION_RESOURCE_NAME
    
final public static  StringPROP_TARGET_COMPONENT_QUERY
    
final public static  StringPROP_TARGET_COMPONENT_QUERY_DESC
    
final public static  StringPROP_TARGET_COMPONENT_QUERY_DFLT
    
protected  StringassemblyId
    
protected  ComponentDatacdata
    
protected  StringoldAssemblyId
    
protected  StringrecipeId
    

Constructor Summary
public  ComplexRecipeBase(String name)
    
public  ComplexRecipeBase(String name, String assemblyId)
    
public  ComplexRecipeBase(String name, String assemblyId, String recipeId)
    
public  ComplexRecipeBase(String name, String assemblyId, String recipeId, String initName)
    
public  ComplexRecipeBase(ComponentData cdata, String assemblyId)
    

Method Summary
public  ComponentDataaddComponentData(ComponentData data)
     Adds all the component data relevant to this recipe.
protected  PropertyaddRecipeQueryProperty(String name, String dflt)
    
public  voidaddTargetQueryProperty()
    
public  ModifiableComponentcopy(String name)
    
public  StringgetAssemblyId()
     Get the assembly id for this Recipe.
protected  ComponentDatagetComponentData()
    
public  URLgetDescription()
    
public  voidinitProperties()
    
public  booleansaveToDatabase()
     Save the recipe to the database.

Field Detail
ASSEMBLY_PROP
final public static String ASSEMBLY_PROP(Code)
Identifier String for the hidden Assembly Id Property *



DESCRIPTION_RESOURCE_NAME
protected static String DESCRIPTION_RESOURCE_NAME(Code)



PROP_TARGET_COMPONENT_QUERY
final public static String PROP_TARGET_COMPONENT_QUERY(Code)



PROP_TARGET_COMPONENT_QUERY_DESC
final public static String PROP_TARGET_COMPONENT_QUERY_DESC(Code)



PROP_TARGET_COMPONENT_QUERY_DFLT
final public static String PROP_TARGET_COMPONENT_QUERY_DFLT(Code)



assemblyId
protected String assemblyId(Code)



cdata
protected ComponentData cdata(Code)



oldAssemblyId
protected String oldAssemblyId(Code)



recipeId
protected String recipeId(Code)




Constructor Detail
ComplexRecipeBase
public ComplexRecipeBase(String name)(Code)



ComplexRecipeBase
public ComplexRecipeBase(String name, String assemblyId)(Code)



ComplexRecipeBase
public ComplexRecipeBase(String name, String assemblyId, String recipeId)(Code)



ComplexRecipeBase
public ComplexRecipeBase(String name, String assemblyId, String recipeId, String initName)(Code)



ComplexRecipeBase
public ComplexRecipeBase(ComponentData cdata, String assemblyId)(Code)




Method Detail
addComponentData
public ComponentData addComponentData(ComponentData data)(Code)
Adds all the component data relevant to this recipe.
Parameters:
  data - a ComponentData value



addRecipeQueryProperty
protected Property addRecipeQueryProperty(String name, String dflt)(Code)



addTargetQueryProperty
public void addTargetQueryProperty()(Code)



copy
public ModifiableComponent copy(String name)(Code)
Copies a ComplexRecipe
Parameters:
  name - a ModifiableComponent value



getAssemblyId
public String getAssemblyId()(Code)
Get the assembly id for this Recipe. a String which is the assembly id for this Recipe



getComponentData
protected ComponentData getComponentData()(Code)



getDescription
public URL getDescription()(Code)
Returns the description of this society an URL value



initProperties
public void initProperties()(Code)
Initializes the hidden assembly id property, or CDATA



saveToDatabase
public boolean saveToDatabase()(Code)
Save the recipe to the database. This save performs the saving of all data to the assembly tables. It then calls it's parents save to save the assembly Id and recipe name to the recipe tables. a boolean value



Fields inherited from org.cougaar.tools.csmart.recipe.RecipeBase
final public static int RECIPE_SAVED(Code)(Java Doc)
protected transient Logger log(Code)(Java Doc)
protected boolean modified(Code)(Java Doc)
ModificationListener myModificationListener(Code)(Java Doc)
PropertyListener myPropertyListener(Code)(Java Doc)
protected transient boolean saveInProgress(Code)(Java Doc)

Methods inherited from org.cougaar.tools.csmart.recipe.RecipeBase
public Property addBooleanProperty(String name, boolean dflt)(Code)(Java Doc)
public int addChild(ComposableComponent c)(Code)(Java Doc)
public ComponentData addComponentData(ComponentData data)(Code)(Java Doc)
public ModifiableComponent copy(String name)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public void fireModification()(Code)(Java Doc)
public AgentComponent[] getAgents()(Code)(Java Doc)
public String getRecipeName()(Code)(Java Doc)
public void installListeners()(Code)(Java Doc)
public boolean isModified()(Code)(Java Doc)
public void propertyAdded(PropertyEvent e)(Code)(Java Doc)
public void propertyRemoved(PropertyEvent e)(Code)(Java Doc)
public void removeChild(ComposableComponent c)(Code)(Java Doc)
public void resetModified()(Code)(Java Doc)
public boolean saveToDatabase()(Code)(Java Doc)
public void setName(String newName)(Code)(Java Doc)

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