Java Doc for DivisionData.java in  » J2EE » fleXive » com » flexive » shared » 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 » J2EE » fleXive » com.flexive.shared.configuration 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.flexive.shared.configuration.DivisionData

All known Subclasses:   com.flexive.shared.configuration.DivisionDataEdit,
DivisionData
public class DivisionData implements Serializable(Code)
Container for division data read from the global configuration.
author:
   Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)


Field Summary
final public static  intDIVISION_GLOBAL
    
final public static  intDIVISION_TEST
    
protected  booleanavailable
    
protected  StringdataSource
    
protected  DBVendordbVendor
    
protected  StringdbVersion
    
protected  PatterndomainPattern
    
protected  StringdomainRegEx
    
protected  intid
    

Constructor Summary
public  DivisionData(int id, boolean available, String dataSource, String domainRegEx, DBVendor dbVendor, String dbVersion)
     Constructor.

Method Summary
public  DivisionDataEditasEditable()
     Returns an editable division data object initialized with this instance.
public  booleanequals(Object o)
    
public  StringgetDataSource()
     Returns the JNDI path to this division's datasource.
public  DBVendorgetDbVendor()
    
public  StringgetDbVersion()
    
public  StringgetDomainRegEx()
     The regular expression describing matching domains for this divison.
public  intgetId()
     Return the unique ID of this division.
public  inthashCode()
    
public  booleanisAvailable()
    
public  booleanisMatchingDomain(String domain)
     Returns true when the given domain matches, false otherwise.
public static  booleanisValidDivisionId(int divisionId)
     Checks if the given division ID is valid (i.e.

Field Detail
DIVISION_GLOBAL
final public static int DIVISION_GLOBAL(Code)
Global configuration division



DIVISION_TEST
final public static int DIVISION_TEST(Code)
Division to be used for automated tests



available
protected boolean available(Code)



dataSource
protected String dataSource(Code)



dbVendor
protected DBVendor dbVendor(Code)



dbVersion
protected String dbVersion(Code)



domainPattern
protected Pattern domainPattern(Code)



domainRegEx
protected String domainRegEx(Code)



id
protected int id(Code)




Constructor Detail
DivisionData
public DivisionData(int id, boolean available, String dataSource, String domainRegEx, DBVendor dbVendor, String dbVersion)(Code)
Constructor.
Parameters:
  id - the division ID
Parameters:
  available - if division is available
Parameters:
  dataSource - datasource JNDI path
Parameters:
  domainRegEx - domain name matcher
Parameters:
  dbVendor - database vendor
Parameters:
  dbVersion - database version




Method Detail
asEditable
public DivisionDataEdit asEditable()(Code)
Returns an editable division data object initialized with this instance. Note that the edit object does not influence the original division data object, so it is safe to create edit objects from system division data entries without cloning them first. an editable division data object initialized with this instance



equals
public boolean equals(Object o)(Code)



getDataSource
public String getDataSource()(Code)
Returns the JNDI path to this division's datasource. the JNDI path to this division's datasource.



getDbVendor
public DBVendor getDbVendor()(Code)
Get the DB Vendor DB Vendor



getDbVersion
public String getDbVersion()(Code)
Get the DB Version DB Version



getDomainRegEx
public String getDomainRegEx()(Code)
The regular expression describing matching domains for this divison. the regular expression describing matching domains for this divison.



getId
public int getId()(Code)
Return the unique ID of this division. the unique ID of this division.



hashCode
public int hashCode()(Code)



isAvailable
public boolean isAvailable()(Code)
Is this division available (ie can a connection be retrieved) available



isMatchingDomain
public boolean isMatchingDomain(String domain)(Code)
Returns true when the given domain matches, false otherwise.
Parameters:
  domain - the domain to be checked true when the given domain matches, false otherwise.



isValidDivisionId
public static boolean isValidDivisionId(int divisionId)(Code)
Checks if the given division ID is valid (i.e. if the division parameter has been set). This method does not check if the given division is available, i.e. if corresponding entries exist in the global configuration.
Parameters:
  divisionId - the division ID to be checked true for valid division IDs



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.