Java Doc for ComponentModel.java in  » Web-Framework » Tapestry » org » apache » tapestry » model » 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 » Web Framework » Tapestry » org.apache.tapestry.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.tapestry.model.ComponentModel

ComponentModel
public interface ComponentModel (Code)
Defines a component in terms of its capabilities, parameters, sub-components, etc. During runtime, the component model is immutable. During construction time, when the class is being transformed and loaded, the model is mutable.
See Also:   MutableComponentModel




Method Summary
 ResourcegetBaseResource()
     Returns the resource corresponding to the class file for this component.
 StringgetComponentClassName()
     The FQCN of the component.
 List<String>getDeclaredParameterNames()
     Returns an alphabetically sorted list of the names of all formal parameters defined by this specific class (parameters inherited from base classes are not identified).
 List<String>getEmbeddedComponentIds()
     Returns the ids of all embedded components defined within the component class (via the org.apache.tapestry.annotations.Component annotation).
 EmbeddedComponentModelgetEmbeddedComponentModel(String componentId)
     Returns an embedded component.
 StringgetFieldPersistenceStrategy(String fieldName)
     Returns the persistent strategy associated with the field.
 LoggetLog()
     Returns object that will be used to log warnings and errors related to this component.
 StringgetMeta(String key)
     Gets a meta value identified by the given key.
 List<String>getMixinClassNames()
     Returns a list of the class names of mixins that are part of the component's implementation.
 ParameterModelgetParameterModel(String parameterName)
     Return a single parameter model by parameter name, or null if the parameter is not defined.
 List<String>getParameterNames()
     Returns an alphabetically sorted list of the names of all formal parameters.
 ComponentModelgetParentModel()
     Returns the component model for this component's super-class, if it exists.
 List<String>getPersistentFieldNames()
     Returns a list of the names of all persistent fields (within this class, or any super-class).
 booleangetSupportsInformalParameters()
     Returns true if the model indicates that informal parameters, additional parameters beyond the formal parameter defined for the component, are supported.
 booleanisMixinAfter()
     Relevant for component mixins only.
 booleanisRootClass()
     Returns true if the modeled component is a root class, a component class whose parent does not have the ComponentClass annotation.



Method Detail
getBaseResource
Resource getBaseResource()(Code)
Returns the resource corresponding to the class file for this component. This is used to find related resources, such as the component's template and message catalog.



getComponentClassName
String getComponentClassName()(Code)
The FQCN of the component.



getDeclaredParameterNames
List<String> getDeclaredParameterNames()(Code)
Returns an alphabetically sorted list of the names of all formal parameters defined by this specific class (parameters inherited from base classes are not identified).



getEmbeddedComponentIds
List<String> getEmbeddedComponentIds()(Code)
Returns the ids of all embedded components defined within the component class (via the org.apache.tapestry.annotations.Component annotation).



getEmbeddedComponentModel
EmbeddedComponentModel getEmbeddedComponentModel(String componentId)(Code)
Returns an embedded component.
Parameters:
  componentId - the id of the embedded component the embedded component model, or null if no component exists with that id



getFieldPersistenceStrategy
String getFieldPersistenceStrategy(String fieldName)(Code)
Returns the persistent strategy associated with the field.
Parameters:
  fieldName - the corresponding strategy, or the empty string



getLog
Log getLog()(Code)
Returns object that will be used to log warnings and errors related to this component.



getMeta
String getMeta(String key)(Code)
Gets a meta value identified by the given key. If the current model does not provide a value for the key, then the parent component model (if any) is searched.
Parameters:
  key - identifies the value to be accessed the value for the key (possibly inherited from a parent model), or null



getMixinClassNames
List<String> getMixinClassNames()(Code)
Returns a list of the class names of mixins that are part of the component's implementation.



getParameterModel
ParameterModel getParameterModel(String parameterName)(Code)
Return a single parameter model by parameter name, or null if the parameter is not defined.
Parameters:
  parameterName - the name of the parameter (case is ignored)



getParameterNames
List<String> getParameterNames()(Code)
Returns an alphabetically sorted list of the names of all formal parameters. This includes parameters defined by a base class.



getParentModel
ComponentModel getParentModel()(Code)
Returns the component model for this component's super-class, if it exists. Remember that only classes with the ComponentClass annotation, and in the correct packages, are considered component classes. the parent class model, or null if this component's super class is not itself acomponent class



getPersistentFieldNames
List<String> getPersistentFieldNames()(Code)
Returns a list of the names of all persistent fields (within this class, or any super-class). The names are sorted alphabetically.
See Also:   Persist



getSupportsInformalParameters
boolean getSupportsInformalParameters()(Code)
Returns true if the model indicates that informal parameters, additional parameters beyond the formal parameter defined for the component, are supported. This is false in most cases, but may be set to true for specific classes (when the SupportsInformalParameters annotation is present, or inherited from a super-class). true if this component model supports informal parameters



isMixinAfter
boolean isMixinAfter()(Code)
Relevant for component mixins only. Indicates that the mixin behavior should occur after (not before) the component. Normally, this flag is set by the presence of the MixinAfter annotation. true if the mixin should operate after, not before, the component



isRootClass
boolean isRootClass()(Code)
Returns true if the modeled component is a root class, a component class whose parent does not have the ComponentClass annotation. This is often used to determine whether to invoke the super-class implementation of certain methods. true if a root class, false if a subclass



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