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


java.lang.Object
   org.andromda.core.configuration.Model

Model
public class Model implements Serializable(Code)
Stores the model information for each model that AndroMDA will process.
author:
   Chad Brandon




Method Summary
public  voidaddModuleSearchLocation(Location location)
     Adds a module search location (these are the locations in which a search for module is performed).
public  voidaddModuleSearchLocation(String path)
     Adds a module search location path (a location without a pattern defined).
public  voidaddTransformation(Transformation transformation)
     Adds a transformation to this configuration instance.
public  voidaddUri(String uri)
     Adds the location as a URI to one of the model files.
static  voidclearLastModifiedTimes()
     Clears out the current last modified times.
public  FiltersgetConstraints()
     Stores the information about what constraints should/shouldn't be enforced.
public  longgetLastModified()
     Gets the time of the latest modified uri of the model as a long.
public  String[]getModuleSearchLocationPaths()
     Gets all found module search location paths for this model instance.
public  URL[]getModuleSearchLocationResources()
     Gets the accumulation of all files found when combining the contents of all module search location paths and their patterns by which they are filtered as well as the model URI.
public  Location[]getModuleSearchLocations()
     Gets the module searach locations for this model instance.
public  FiltersgetPackages()
     Stores the information about what packages should/shouldn't be processed.
public  RepositorygetRepository()
     Gets the repository to which this model belongs.
public  Transformation[]getTransformations()
     Gets the transformations belonging to this configuration.
public  StringgetType()
     Gets the type of the model (i.e.
public  String[]getUris()
     All URIs that make up the model.
public  booleanisChanged()
     Indicates whether or not the given model has changed since the previous call to this method.
public  booleanisLastModifiedCheck()
     Whether or not to perform a last modified check on the model.
public  voidsetConstraints(Filters constraints)
     Sets the constraints for this model.
public  voidsetEnforceAllConstraints(boolean enforceAllConstraints)
     Sets the applyAll flag on the internal filters instance of this model.
public  voidsetLastModifiedCheck(boolean lastModifiedCheck)
     Sets whether or not to perform a last modified check when processing the model.
public  voidsetPackages(Filters packages)
     Sets the model packages for this model.
public  voidsetProcessAllPackages(boolean processAllPackages)
     Sets the processAll flag on the internal model packages instance of this model.
 voidsetRepository(Repository repository)
     Sets the repository to which this model belongs.
public  voidsetType(String type)
     Sets the type of model (i.e.
public  StringtoString()
    



Method Detail
addModuleSearchLocation
public void addModuleSearchLocation(Location location)(Code)
Adds a module search location (these are the locations in which a search for module is performed).
Parameters:
  location - a location path.
See Also:   Model.addModuleSearchLocation(String)



addModuleSearchLocation
public void addModuleSearchLocation(String path)(Code)
Adds a module search location path (a location without a pattern defined).
Parameters:
  path - a location path.
See Also:   Model.addModuleSearchLocation(Location)



addTransformation
public void addTransformation(Transformation transformation)(Code)
Adds a transformation to this configuration instance.
Parameters:
  transformation - the transformation instance to add.



addUri
public void addUri(String uri)(Code)
Adds the location as a URI to one of the model files.
Parameters:
  uri - the URI to the model.



clearLastModifiedTimes
static void clearLastModifiedTimes()(Code)
Clears out the current last modified times.



getConstraints
public Filters getConstraints()(Code)
Stores the information about what constraints should/shouldn't be enforced. Returns the constraints instance.



getLastModified
public long getLastModified()(Code)
Gets the time of the latest modified uri of the model as a long. If it can not be determined 0 is returned. the time this model was last modified



getModuleSearchLocationPaths
public String[] getModuleSearchLocationPaths()(Code)
Gets all found module search location paths for this model instance. the module search location paths.
See Also:   Model.getModuleSearchLocations()



getModuleSearchLocationResources
public URL[] getModuleSearchLocationResources()(Code)
Gets the accumulation of all files found when combining the contents of all module search location paths and their patterns by which they are filtered as well as the model URI. all module search location files.



getModuleSearchLocations
public Location[] getModuleSearchLocations()(Code)
Gets the module searach locations for this model instance. the module search locations.
See Also:   Model.getModuleSearchLocationPaths()



getPackages
public Filters getPackages()(Code)
Stores the information about what packages should/shouldn't be processed. Returns the packages.



getRepository
public Repository getRepository()(Code)
Gets the repository to which this model belongs. the repository to which this model belongs.



getTransformations
public Transformation[] getTransformations()(Code)
Gets the transformations belonging to this configuration. the array of Transformation instances.



getType
public String getType()(Code)
Gets the type of the model (i.e. the type of metamodel this model is based upon). Returns the type.



getUris
public String[] getUris()(Code)
All URIs that make up the model. Returns the uri.



isChanged
public boolean isChanged()(Code)
Indicates whether or not the given model has changed since the previous call to this method. true/false



isLastModifiedCheck
public boolean isLastModifiedCheck()(Code)
Whether or not to perform a last modified check on the model. Returns the lastModifiedCheck.



setConstraints
public void setConstraints(Filters constraints)(Code)
Sets the constraints for this model. This indicates what constraints should and should not be processed from this model.
Parameters:
  constraints - the packages to process.



setEnforceAllConstraints
public void setEnforceAllConstraints(boolean enforceAllConstraints)(Code)
Sets the applyAll flag on the internal filters instance of this model.
Parameters:
  enforceAllConstraints - whether or not all constraints should be enforced by default.



setLastModifiedCheck
public void setLastModifiedCheck(boolean lastModifiedCheck)(Code)
Sets whether or not to perform a last modified check when processing the model. If true the model will be checked for a timestamp before processing occurs.
Parameters:
  lastModifiedCheck - true/false



setPackages
public void setPackages(Filters packages)(Code)
Sets the model packages for this model. This indicates what packages should and should not be processed from this model.
Parameters:
  packages - the packages to process.



setProcessAllPackages
public void setProcessAllPackages(boolean processAllPackages)(Code)
Sets the processAll flag on the internal model packages instance of this model.
Parameters:
  processAllPackages - whether or not all packages should be processed by default.



setRepository
void setRepository(Repository repository)(Code)
Sets the repository to which this model belongs.
Parameters:
  repository - the repository configuration to which this model belongs.



setType
public void setType(String type)(Code)
Sets the type of model (i.e. the type of metamodel this model is based upon).
Parameters:
  type - The type to set.



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.