Java Doc for Type.java in  » Content-Management-System » contelligent » de » finix » contelligent » 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 » Content Management System » contelligent » de.finix.contelligent 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.finix.contelligent.Type

All known Subclasses:   de.finix.contelligent.core.TypeImpl,
Type
public interface Type (Code)
This class represents the type of a Contelligent Component .




Method Summary
 booleanequals(Object anObject)
    
 ComponentPathgetBlueprintPath()
    
 StringgetClassName()
    
 MapgetMergedPropertyMap()
    
 TypeMetainfoElementgetMetainfoElement()
    
 StringgetName()
    
 MapgetOriginalPropertyMap()
    
 MapgetProperties(Component component, boolean includeRN)
     Returns a Map containing those properties of the given component whose values differ from those of this type.
 MapgetProperties(Component component, boolean includeRN, boolean includeW)
     Returns a Map containing those properties of the given component whose values differ from those of this type.
 MapgetProperties(Map componentPropertyMap, boolean includeRN)
     Returns a newly created Map containing the converted properties of the given map.
 TypegetSuperType()
     Anser this type's supertype.
 StringgetSuperTypeName()
    
 ClassgetTypeClass()
    
 StringgetTypeGroup()
    
 inthashCode()
    
 booleanisBlueprint()
    
 booleanisInstanceOf(String type)
     Check whether this type is a subtype of the given type or equal the given type.
 booleanisSubTypeOf(String type)
     Check whether this type is a subtype of the given type.
 booleanrestrictsOnly()
    
 voidsetProperties(Component component, Map propertyValues)
     Sets all properties of the given component according to this type definition.
 StringtoString()
    



Method Detail
equals
boolean equals(Object anObject)(Code)



getBlueprintPath
ComponentPath getBlueprintPath()(Code)



getClassName
String getClassName()(Code)



getMergedPropertyMap
Map getMergedPropertyMap()(Code)



getMetainfoElement
TypeMetainfoElement getMetainfoElement()(Code)



getName
String getName()(Code)



getOriginalPropertyMap
Map getOriginalPropertyMap()(Code)



getProperties
Map getProperties(Component component, boolean includeRN) throws TypeException(Code)
Returns a Map containing those properties of the given component whose values differ from those of this type. This means that final properties are never contained in this map.
The keys of the map are the TypeProperty.getName names of the properties and the values may either be String or Double instances depending on the type of the property. All numeric types will be converted into Double and all others will be converted into a String instance using the converter method Type.toString defined in this handler class.
To determine the value of a property a get method is called which means the components class must define a method 'getProp' for a property named 'prop'.
Parameters:
  component - a Component value
Parameters:
  includeRN - indicates whether non-persistent properties are included ornot. a Map value
exception:
  TypeException - if an error occurs
See Also:   PropertyType



getProperties
Map getProperties(Component component, boolean includeRN, boolean includeW) throws TypeException(Code)
Returns a Map containing those properties of the given component whose values differ from those of this type. This means that final properties are never contained in this map.
The keys of the map are the TypeProperty.getName names of the properties and the values may either be String or Double instances depending on the type of the property. All numeric types will be converted into Double and all others will be converted into a String instance using the converter method Type.toString defined in this handler class.
To determine the value of a property a get method is called which means the components class must define a method 'getProp' for a property named 'prop'.
Parameters:
  component - a Component value
Parameters:
  includeRN - indicates whether non-persistent properties are included ornot.
Parameters:
  includeW - indicates whether write-only are included ornot. Note that these should never be made accessibleto clients. a Map value
exception:
  TypeException - if an error occurs
See Also:   PropertyType



getProperties
Map getProperties(Map componentPropertyMap, boolean includeRN) throws TypeException(Code)
Returns a newly created Map containing the converted properties of the given map. The conversion is equivalent to that made by Type.getProperties(Component,boolean) , the only difference is that this method is not able to convert any instance values (which may be of type int or float) but only the String values from the given map.
So the given map is expected to contain (String,String) entries only while the returned one contains either (String, String) or (String,Double) entries depending on the PropertyType type of the property. Only whose values differ from those of this type will be converted, for example final properties are never contained in the returned map.
Parameters:
  componentPropertyMap - a Map value
Parameters:
  typeInfo - a TypeInfo value a Map value
exception:
  PropertyException - if an error occurs



getSuperType
Type getSuperType()(Code)
Anser this type's supertype.



getSuperTypeName
String getSuperTypeName()(Code)



getTypeClass
Class getTypeClass()(Code)



getTypeGroup
String getTypeGroup()(Code)



hashCode
int hashCode()(Code)



isBlueprint
boolean isBlueprint()(Code)



isInstanceOf
boolean isInstanceOf(String type)(Code)
Check whether this type is a subtype of the given type or equal the given type.
Parameters:
  type -



isSubTypeOf
boolean isSubTypeOf(String type)(Code)
Check whether this type is a subtype of the given type.
Parameters:
  type -



restrictsOnly
boolean restrictsOnly()(Code)



setProperties
void setProperties(Component component, Map propertyValues) throws TypeException(Code)
Sets all properties of the given component according to this type definition. The map is expected to contain either (String,String) or (String,Double) entries only. If the map is null or empty all properties will receive the default value of this type. Properties which are not defined by this type are ignored.
Parameters:
  component - a Component value
Parameters:
  propertyMap - a map containing either (String,String) or (String,Double)entries



toString
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.