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


org.cougaar.tools.csmart.core.property.BaseComponent

All known Subclasses:   org.cougaar.tools.csmart.society.cdata.BaseCDataComponent,  org.cougaar.tools.csmart.core.property.ConfigurableComponent,
BaseComponent
public interface BaseComponent extends ComposableComponent,Serializable(Code)
The interface that every configurable component must implement. This interface handles all operations related to the ComponentData structures of a component and also all of the Properties within a component. The gui uses this interface to get and set properties.




Method Summary
 ComponentDataaddComponentData(ComponentData data)
     Adds a ComponentData to this component.
 voidaddPropertiesListener(PropertiesListener l)
     Adds a PropertiesListener to this component.
 PropertyaddProperty(String name, Object value)
     Add a property with a given value.
 booleancomponentWasRemoved()
    
 BaseComponentcopy(BaseComponent result)
     Makes a copy of a BaseComponent Object.
 URLgetDescription()
     Get a URL for a description of the component.
 CompositeNamegetFullName()
     Gets the full name of this component.
 PropertygetInvisibleProperty(CompositeName name)
    
 PropertygetInvisibleProperty(String localName)
    
 IteratorgetLocalPropertyNames()
     Returns a Iterator of all local property names for this component.
 IteratorgetProperties()
    
 PropertygetProperty(CompositeName name)
    
 PropertygetProperty(String localName)
    
 IteratorgetPropertyNames()
     Returns a Iterator of all known property names for this component.
 ListgetPropertyNamesList()
     Returns a List of all property names.
 StringgetShortName()
     Gets the short name of this component.
 booleanhasUnboundProperties()
    
 voidinitProperties()
     Initialize the properties of a new instance.
 ComponentDatamodifyComponentData(ComponentData data)
    
 ComponentDatamodifyComponentData(ComponentData data, PopulateDb pdb)
     Describe modifyComponentData method here.
 voidremovePropertiesListener(PropertiesListener l)
     Removes a PropertiesListener to this component.
 voidsetName(String newName)
     Set the name of this component.
 voidsetProperties(Map props)
     Set a bunch of Properties at once.



Method Detail
addComponentData
ComponentData addComponentData(ComponentData data)(Code)
Adds a ComponentData to this component.
Parameters:
  data - ComponentData the ComponentData that was just added.
See Also:   ComponentData



addPropertiesListener
void addPropertiesListener(PropertiesListener l)(Code)
Adds a PropertiesListener to this component.
Parameters:
  l - The PropertiesListener
See Also:   PropertiesListener



addProperty
Property addProperty(String name, Object value)(Code)
Add a property with a given value. A new Property is created having the given name and value. In addition the other fields of the property set to default values consistent with the class of the value.
Parameters:
  name - the name of the property
Parameters:
  value - must be one of the supported value types a Property object for the new Property



componentWasRemoved
boolean componentWasRemoved()(Code)



copy
BaseComponent copy(BaseComponent result)(Code)
Makes a copy of a BaseComponent Object.
Parameters:
  result - object to copy a ComponentProperties copy



getDescription
URL getDescription()(Code)
Get a URL for a description of the component. May return null. an URL describing this component.



getFullName
CompositeName getFullName()(Code)
Gets the full name of this component. All component names are made up of a chain based on the component hierarchy. This chain is: grandparent.parent.child Full name is the complete chain. a CompositeName value of the full component name.



getInvisibleProperty
Property getInvisibleProperty(CompositeName name)(Code)



getInvisibleProperty
Property getInvisibleProperty(String localName)(Code)



getLocalPropertyNames
Iterator getLocalPropertyNames()(Code)
Returns a Iterator of all local property names for this component. Iterator of Local Property Names



getProperties
Iterator getProperties()(Code)



getProperty
Property getProperty(CompositeName name)(Code)
Gets a Property based on the property name specified as a CompositeName
Parameters:
  name - of the Property Property object for the property.



getProperty
Property getProperty(String localName)(Code)
Get a property using its local name
Parameters:
  localName - of property object for the property.



getPropertyNames
Iterator getPropertyNames()(Code)
Returns a Iterator of all known property names for this component. Iterator of Property Names



getPropertyNamesList
List getPropertyNamesList()(Code)
Returns a List of all property names. List of all property names



getShortName
String getShortName()(Code)
Gets the short name of this component. All component names are made up of a chain based on the component hierarchy. This chain is: grandparent.parent.child Short name is just 'child'. a String value of the short name.



hasUnboundProperties
boolean hasUnboundProperties()(Code)
Test if this has any unbound properties (properties for which isValueSet() return false) true if there are one or more unbound properties



initProperties
void initProperties()(Code)
Initialize the properties of a new instance. All components implementing this interface should delay the initialization of their properties until this method is called;



modifyComponentData
ComponentData modifyComponentData(ComponentData data)(Code)
Modifies a ComponentData
Parameters:
  data - a modified ComponentData the modified ComponentData object.



modifyComponentData
ComponentData modifyComponentData(ComponentData data, PopulateDb pdb)(Code)
Describe modifyComponentData method here.
Parameters:
  data - a modified ComponentData
Parameters:
  pdb - the modified ComponentData object



removePropertiesListener
void removePropertiesListener(PropertiesListener l)(Code)
Removes a PropertiesListener to this component.
Parameters:
  l - The PropertiesListener



setName
void setName(String newName)(Code)
Set the name of this component. The name is relative to the parent and must be distinct in that context.
Parameters:
  newName - the new name for this component.



setProperties
void setProperties(Map props)(Code)
Set a bunch of Properties at once. Used when creating a component from the database.
Parameters:
  props - a Map of String property names and Object values



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