Java Doc for Validation.java in  » GIS » GeoTools-2.4.1 » org » geotools » validation » 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 » GIS » GeoTools 2.4.1 » org.geotools.validation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.validation.Validation

Validation
public interface Validation (Code)
Used to define a type of validation test that is performed on Features.

Each ValidationPlugIn is very specific in nature: it performs one test extermly well. This simplifies design decisions, documenation configuration and use.

The PlugIn is also required to supply some metadata to aid in its deployment, scripting, logging and execution and error recovery:

  • name: user's name of validation test
  • description: user's description of validation test
  • priority: used to schedule validation test
  • typeNames: used to connect validaiton test to transaction opperation


author:
   bowens, Refractions Research, Inc.
author:
   $Author: dmzwiers $ (last modification)
version:
   $Id: Validation.java 20884 2006-08-07 14:10:46Z jgarnett $


Field Summary
final public static  String[]ALL
     Empty String array for use with getTypeNames().

Used to denote that all FeatureTypes should be tested.

final public static  intPRIORITY_COMPLEX
     A constant for getPriority() used for complex validation checks.
final public static  intPRIORITY_INVOLVED
     A constant for getPriority() used for involved validation checks.
final public static  intPRIORITY_SIMPLE
     A constant for getPriority() used for simple validation checks.
final public static  intPRIORITY_TRIVIAL
     A constant for getPriority() used for Trivial validation checks.


Method Summary
 StringgetDescription()
     User's Description of this Validation.
 StringgetName()
     User's name for the validation.
 intgetPriority()
     Priority used in scheduling this Validation test.
 String[]getTypeRefs()
     Identify the FeatureTypes that this validation test is run against.

If this list is empty the ValidationProcess will run the test against all FeatureTypes.

 voidsetDescription(String description)
     Sets the description of the validation.
 voidsetName(String name)
     Sets the name of the validation.

Field Detail
ALL
final public static String[] ALL(Code)
Empty String array for use with getTypeNames().

Used to denote that all FeatureTypes should be tested. (If this does not Pan out we may have to define the wild-card character "" or support Regex based typeName matching.




PRIORITY_COMPLEX
final public static int PRIORITY_COMPLEX(Code)
A constant for getPriority() used for complex validation checks.

This is a Priority Hint to Validation Processor based on computational expense.

Used for complex validations, basically anything that is has a Chance of being worse then O(N).

Any integrity tests between two FeatureTypes should be an example of a PRIORITY_COMPLEX.




PRIORITY_INVOLVED
final public static int PRIORITY_INVOLVED(Code)
A constant for getPriority() used for involved validation checks.

This is a Priority Hint to Validation Processor based on computational expense.

Used for involved validations, basically anything that is has a Chance of being worse then O(N^2).

Any integrity tests involving network code, were we have to build the network and then walk it, is an example of PRIORITY_INVOLVED.




PRIORITY_SIMPLE
final public static int PRIORITY_SIMPLE(Code)
A constant for getPriority() used for simple validation checks.

This is a Priority Hint to Validation Processor based on computational expense.

Used for simple attribute or geometry validations, basically anything that is Order(N) like a Bounds check.




PRIORITY_TRIVIAL
final public static int PRIORITY_TRIVIAL(Code)
A constant for getPriority() used for Trivial validation checks.

This is a Priority Hint to Validation Processor based on computational expense.

Trivial is used for thing that don't require any real work - like checking for any O(1) opperations such as checking null values.






Method Detail
getDescription
String getDescription()(Code)
User's Description of this Validation. the description of the validation.



getName
String getName()(Code)
User's name for the validation. the name of the validation.



getPriority
int getPriority()(Code)
Priority used in scheduling this Validation test. The priority (time cost) of the validation test



getTypeRefs
String[] getTypeRefs()(Code)
Identify the FeatureTypes that this validation test is run against.

If this list is empty the ValidationProcess will run the test against all FeatureTypes. The ValidationProcess expects these names to be in the format dataStoreId:typeName.

FeatureType names that this validation test is run against,empty for all, null to disable



setDescription
void setDescription(String description)(Code)
Sets the description of the validation.
Parameters:
  description - of the validation



setName
void setName(String name)(Code)
Sets the name of the validation.
Parameters:
  name - the name of the validation.



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