Java Doc for MetafacadeMapping.java in  » UML » AndroMDA-3.2 » org » andromda » core » metafacade » 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 » UML » AndroMDA 3.2 » org.andromda.core.metafacade 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.andromda.core.metafacade.MetafacadeMapping

MetafacadeMapping
public class MetafacadeMapping (Code)
A meta facade mapping class. This class is a child of MetafacadeMappings (that is: instances of this class below to an instance of MetafacadeMappings ).
author:
   Chad Brandon

Inner Class :final static class PropertyGroup
Inner Class :final static class Property



Method Summary
public  voidaddMappingProperty(String name, String value)
     Adds a mapping property.
final  voidaddMappingPropertyGroup(PropertyGroup propertyGroup)
     Adds the propertyGroup to the existing mapping property groups within this mapping.
public  voidaddPropertyReference(String reference)
     Adds a mapping property reference.
public  voidaddPropertyReferences(Collection propertyReferences)
     Adds all propertyReferences to the property references contained in this MetafacadeMapping instance.
public  voidaddStereotype(String stereotype)
     Adds a stereotype to the stereotypes.
final  StringgetContext()
     Gets the context to which this mapping applies.
protected  StringgetMappingClassName()
     Gets the name of the metaobject class used for this mapping.
final  PropertyGroupgetMappingProperties()
     Gets the mapping properties associated this this mapping directly (contained within a PropertyGroup instance).
final  CollectiongetMappingPropertyGroups()
     Returns all mapping property groups for this MetafacadeMapping instance.
public  ClassgetMetafacadeClass()
     Gets the metafacadeClass for this mapping.
final  MetafacadeMappingsgetMetafacadeMappings()
     Gets the "parent" MetafacadeMappings instance to which this mapping belongs.
public  CollectiongetPropertyReferences()
     Returns all mapping references for this MetafacadeMapping instance.
final  ListgetStereotypes()
     Gets the stereotypes which apply to this mapping.
final  booleanhasContext()
     Indicates whether or not this mapping has a context.
final  booleanhasMappingProperties()
     Indicates whether or not this mapping contains any mapping properties.
final  booleanhasStereotypes()
     Indicates whether or not this mapping has any stereotypes defined.
public  booleanisContextRoot()
    

Gets whether or not this mapping represents a contextRoot, by default a mapping is NOT a contextRoot.

final  booleanisMappingClassNamePresent()
     Indicates whether or not the mapping class has been present.
final  booleanmatch(MetafacadeMapping mapping)
     Indicates whether or not the mapping matches this mapping.
public  voidsetContext(String context)
     Sets the context to which this mapping applies.
public  voidsetContextRoot(boolean contextRoot)
     Sets the name of the contextRoot for this mapping.
public  voidsetMappingClassName(String mappingClassName)
     The name of the metaobject class to use for this mapping.
public  voidsetMetafacadeClassName(String metafacadeClassName)
     Sets the metafacadeClassName for this mapping.
final  voidsetMetafacadeMappings(MetafacadeMappings mappings)
     Sets the metafacade mappings instance to which this particular mapping belongs.
public  StringtoString()
    



Method Detail
addMappingProperty
public void addMappingProperty(String name, String value)(Code)
Adds a mapping property. This are used to narrow the metafacade to which the mapping can apply. The properties must exist and must evaluate to the specified value if given for the mapping to match.
Parameters:
  name - the name of the reference.
Parameters:
  value - the default value of the property reference.



addMappingPropertyGroup
final void addMappingPropertyGroup(PropertyGroup propertyGroup)(Code)
Adds the propertyGroup to the existing mapping property groups within this mapping.
Parameters:
  propertyGroup - a property group for this mapping



addPropertyReference
public void addPropertyReference(String reference)(Code)
Adds a mapping property reference. These are used to populate metafacade impl classes with mapping files, etc. The property reference applies to the given mapping.
Parameters:
  reference - the name of the reference.
See Also:   MetafacadeMappings.addPropertyReference(String)



addPropertyReferences
public void addPropertyReferences(Collection propertyReferences)(Code)
Adds all propertyReferences to the property references contained in this MetafacadeMapping instance.
Parameters:
  propertyReferences - the property references to add.



addStereotype
public void addStereotype(String stereotype)(Code)
Adds a stereotype to the stereotypes.
Parameters:
  stereotype -



getContext
final String getContext()(Code)
Gets the context to which this mapping applies. the name of the context



getMappingClassName
protected String getMappingClassName()(Code)
Gets the name of the metaobject class used for this mapping. Returns the mappingClassName.



getMappingProperties
final PropertyGroup getMappingProperties()(Code)
Gets the mapping properties associated this this mapping directly (contained within a PropertyGroup instance). the mapping property group.



getMappingPropertyGroups
final Collection getMappingPropertyGroups()(Code)
Returns all mapping property groups for this MetafacadeMapping instance.



getMetafacadeClass
public Class getMetafacadeClass()(Code)
Gets the metafacadeClass for this mapping. Returns the metafacadeClass.



getMetafacadeMappings
final MetafacadeMappings getMetafacadeMappings()(Code)
Gets the "parent" MetafacadeMappings instance to which this mapping belongs. the parent metafacade mappings instance.



getPropertyReferences
public Collection getPropertyReferences()(Code)
Returns all mapping references for this MetafacadeMapping instance.



getStereotypes
final List getStereotypes()(Code)
Gets the stereotypes which apply to this mapping. the names of the stereotypes



hasContext
final boolean hasContext()(Code)
Indicates whether or not this mapping has a context. true/false



hasMappingProperties
final boolean hasMappingProperties()(Code)
Indicates whether or not this mapping contains any mapping properties. true/false



hasStereotypes
final boolean hasStereotypes()(Code)
Indicates whether or not this mapping has any stereotypes defined. true/false



isContextRoot
public boolean isContextRoot()(Code)

Gets whether or not this mapping represents a contextRoot, by default a mapping is NOT a contextRoot. You'll want to specify this as true when other metafacades need to be created within the context of this metafacade.

Returns the contextRoot.



isMappingClassNamePresent
final boolean isMappingClassNamePresent()(Code)
Indicates whether or not the mapping class has been present. whether or not the mapping class is present in this mapping.



match
final boolean match(MetafacadeMapping mapping)(Code)
Indicates whether or not the mapping matches this mapping. It matches on the following:
  • metafacadeClass
  • mappingClassName
  • stereotypes



setContext
public void setContext(String context)(Code)
Sets the context to which this mapping applies.
Parameters:
  context - The metafacade context name to set.



setContextRoot
public void setContextRoot(boolean contextRoot)(Code)
Sets the name of the contextRoot for this mapping.
Parameters:
  contextRoot - The contextRoot to set.
See Also:   MetafacadeMapping.isContextRoot()



setMappingClassName
public void setMappingClassName(String mappingClassName)(Code)
The name of the metaobject class to use for this mapping.
Parameters:
  mappingClassName - The mappingClassName to set.



setMetafacadeClassName
public void setMetafacadeClassName(String metafacadeClassName)(Code)
Sets the metafacadeClassName for this mapping.
Parameters:
  metafacadeClassName - The name of the metafaacde class to set.



setMetafacadeMappings
final void setMetafacadeMappings(MetafacadeMappings mappings)(Code)
Sets the metafacade mappings instance to which this particular mapping belongs. (i.e. the parent) Note, that this is populated during the call to MetafacadeMappings.addMapping(MetafacadeMapping) .
Parameters:
  mappings - the MetacadeMappings instance to which this mapping belongs.



toString
public String toString()(Code)

See Also:   java.lang.Object.toString



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.