Java Doc for PlanningFactory.java in  » Science » Cougaar12_4 » org » cougaar » planning » ldm » 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.planning.ldm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.cougaar.planning.ldm.PlanningFactory

All known Subclasses:   org.cougaar.planning.ldm.PlanningFactoryImpl,
PlanningFactory
public interface PlanningFactory extends Factory,ClusterObjectFactory(Code)
Factory methods for all LDM objects.




Method Summary
 voidaddAssetFactory(EssentialAssetFactory af)
     register an assetfactory with us so that we can (1) find an asset class from an asset name and (2) can figure out which factory to use for a given asset class.
 voidaddPropertyGroupFactory(Object pf)
     register a propertyfactory with us so that short (no package!) property group names may be used in createPropertyGroup(String).
 AssetcloneInstance(Asset asset)
     make an evil twin of an instance.
 booleancontainsAssetFactory(Object f)
    
 booleancontainsPropertyGroupFactory(Object pf)
    
 AssetcopyInstance(Asset asset)
     Make a copy of an instance.
 Objectcreate(String objectname)
    
 Objectcreate(Class objectclass)
    
 AssetcreateAggregate(Asset prototypeAsset, int quantity)
     Create an aggregate asset instance of a prototypical asset.
 AssetcreateAggregate(String prototypeAssetTypeId, int quantity)
     Create an aggregate asset instance of a prototypical asset.
 AssetcreateAsset(String classname)
     Create a raw Asset instance for use by LDM Plugins which are PrototypeProviders. The asset created will have *no* propertygroups. This *always* creates a prototype of the specific class. most plugins want to call getPrototype(String typeid);
Parameters:
  classname - One of the defined LDM class names.
 AssetcreateAsset(Class assetClass)
     Create a raw Asset instance for use by LDM Plugins which are PrototypeProviders.
 AssetcreateInstance(Asset prototypeAsset)
     Create an instance of a prototypical asset. This variation does not add an ItemIdentificationCode to the constructed asset instance.
 AssetcreateInstance(String prototypeAssetTypeId)
     Create an instance of a prototypical asset. This variation does not add an ItemIdentificationCode to the constructed asset instance.
 AssetcreateInstance(Asset prototypeAsset, String uniqueId)
     Create an instance of a prototypical asset, specifying an initial UniqueID for its itemIdentificationPG .
 AssetcreateInstance(String prototypeAssetTypeId, String uniqueId)
     Create an instance of a prototypical asset, specifying an initial UniqueID for its itemIdentificationPG.
 AssetcreateInstance(String prototypeAssetTypeId, int quantity)
     Create an aggregate asset instance of a prototypical asset.
 PropertyGroupcreatePropertyGroup(String propertyName)
     create a new property group, given a PropertyGroup name.
 PropertyGroupcreatePropertyGroup(Class propertyClass)
     create a new property group, given a PropertyGroupGroup name.
 PropertyGroupcreatePropertyGroup(PropertyGroup originalProperty)
    
 AssetcreatePrototype(String classname, String typeid)
     convenience routine for creating prototype assets.
 AssetcreatePrototype(Class assetclass, String typeid)
     convenience routine for creating prototype assets.
 AssetcreatePrototype(String classname, String typeid, String nomen)
     convenience routine for creating prototype assets.
 AssetgetPrototype(String aTypeName)
     Find a prototype Asset based on it's typeid description, (e.g.



Method Detail
addAssetFactory
void addAssetFactory(EssentialAssetFactory af)(Code)
register an assetfactory with us so that we can (1) find an asset class from an asset name and (2) can figure out which factory to use for a given asset class.



addPropertyGroupFactory
void addPropertyGroupFactory(Object pf)(Code)
register a propertyfactory with us so that short (no package!) property group names may be used in createPropertyGroup(String). Either a PropertyGroupFactory class or an instance of such may be passed in.



cloneInstance
Asset cloneInstance(Asset asset)(Code)
make an evil twin of an instance. The result will be a shallow copy of the original (as in copyInstance), with locked PropertyGroups. The copy will have the same UID as the original, so will, in a systems sense actually be the same asset. It could be very bad for multiple clones of an asset to show up in someone's Blackboard. This method should be used when subsetting the capabilities of an asset for some other consumer. Eg. when you want to allow a client to use just one capability of your organization. Note: This method name may change.



containsAssetFactory
boolean containsAssetFactory(Object f)(Code)



containsPropertyGroupFactory
boolean containsPropertyGroupFactory(Object pf)(Code)
true iff the factory parameter is already registered as apropertygroup factory.



copyInstance
Asset copyInstance(Asset asset)(Code)
Make a copy of an instance. The result will be a shallow copy of the original - that is, it will share most PropertyGroups with the original instance. The differences will be that the copy's PGs will be locked and the copy will have a different UID. The copy will truly be a different asset which happens to (initially) have identical propertygroups. This method should be used to create new assets which are very much like another instance. The use of this method is a less-desirable alternative to creating a new instance of your original's prototype and then adding back any extra properties. This is less desirable because it doesn't allow the LDM to participate in the construction of the copy.



create
Object create(String objectname)(Code)
dummy for create(String) *



create
Object create(Class objectclass)(Code)
dummy for create(Class) *



createAggregate
Asset createAggregate(Asset prototypeAsset, int quantity)(Code)
Create an aggregate asset instance of a prototypical asset.



createAggregate
Asset createAggregate(String prototypeAssetTypeId, int quantity)(Code)
Create an aggregate asset instance of a prototypical asset.



createAsset
Asset createAsset(String classname)(Code)
Create a raw Asset instance for use by LDM Plugins which are PrototypeProviders. The asset created will have *no* propertygroups. This *always* creates a prototype of the specific class. most plugins want to call getPrototype(String typeid);
Parameters:
  classname - One of the defined LDM class names. This mustbe the actual class name without the package path. For example,"Container" is correct, "org.cougaar.planning.ldm.asset.Container" is not.



createAsset
Asset createAsset(Class assetClass)(Code)
Create a raw Asset instance for use by LDM Plugins which are PrototypeProviders. The asset created will have *no* propertygroups. This *always* creates a prototype of the specific class. most plugins want to call getPrototype(String typeid);
Parameters:
  assetClass - an LDM Asset class.



createInstance
Asset createInstance(Asset prototypeAsset)(Code)
Create an instance of a prototypical asset. This variation does not add an ItemIdentificationCode to the constructed asset instance. Without itemIDs, multiple instances of a prototype will test as .equals(), and can be confusing if they're added to the logplan. Most users will find #createInstance(Asset, String) more convenient.



createInstance
Asset createInstance(String prototypeAssetTypeId)(Code)
Create an instance of a prototypical asset. This variation does not add an ItemIdentificationCode to the constructed asset instance. Without itemIDs, multiple instances of a prototype will test as .equals(), and can be confusing if they're added to the logplan. Most users will find #createInstance(String, String) more convenient.



createInstance
Asset createInstance(Asset prototypeAsset, String uniqueId)(Code)
Create an instance of a prototypical asset, specifying an initial UniqueID for its itemIdentificationPG .



createInstance
Asset createInstance(String prototypeAssetTypeId, String uniqueId)(Code)
Create an instance of a prototypical asset, specifying an initial UniqueID for its itemIdentificationPG.



createInstance
Asset createInstance(String prototypeAssetTypeId, int quantity)(Code)
Create an aggregate asset instance of a prototypical asset.



createPropertyGroup
PropertyGroup createPropertyGroup(String propertyName)(Code)
create a new property group, given a PropertyGroup name. The name should not have any package prefix and should be the cannonical name (not the implementation class name).



createPropertyGroup
PropertyGroup createPropertyGroup(Class propertyClass)(Code)
create a new property group, given a PropertyGroupGroup name. The name should not have any package prefix and should be the cannonical name (not the implementation class name).



createPropertyGroup
PropertyGroup createPropertyGroup(PropertyGroup originalProperty)(Code)
a copy of another property group *



createPrototype
Asset createPrototype(String classname, String typeid)(Code)
convenience routine for creating prototype assets. does a createAsset followed by setting the TypeIdentification to the specified string.



createPrototype
Asset createPrototype(Class assetclass, String typeid)(Code)
convenience routine for creating prototype assets. does a createAsset followed by setting the TypeIdentification to the specified string.



createPrototype
Asset createPrototype(String classname, String typeid, String nomen)(Code)
convenience routine for creating prototype assets. does a createAsset followed by setting the TypeIdentification and the nomenclature to the specified string.



getPrototype
Asset getPrototype(String aTypeName)(Code)
Find a prototype Asset based on it's typeid description, (e.g. "NSN/1234567890123") either by looking up an existing object or by creating one of the appropriate type. Shorthand for LDMServesPlugin.getPrototype(aTypeName);



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