Java Doc for Field.java in  » Development » ivatamasks » com » ivata » mask » field » 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 » Development » ivatamasks » com.ivata.mask.field 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.ivata.mask.field.Field

All known Subclasses:   com.ivata.mask.field.FieldImpl,
Field
public interface Field (Code)
Defines a single field within a mask or group of masks.
since:
   ivata masks 0.1 (2004-02-26)
author:
   Colin MacLeod
author:
   colin.macleod@ivata.com


Field Summary
 StringTYPE_AMOUNT
     Indicates the fields contents should be formatted as an amount.
 StringTYPE_DATE
     Indicates the fields contents should be formatted as a date.
 StringTYPE_NUMBER
     Indicates the fields contents should be formatted as a number.
 StringTYPE_PASSWORD
     Indicates the field is an option to be displayed as a password field.
 StringTYPE_RADIO
     Indicates the field is an option to be displayed as a radio button.
 StringTYPE_SELECT
     Indicates the field is displayed as a choice combo box.
 StringTYPE_STRING
     Indicates the field is displayed as a short text.
 StringTYPE_TEXTAREA
     Indicates the field is displayed as a long text.
 StringTYPE_TIMESTAMP
     Indicates the fields contents should be formatted as a long timestamp.


Method Summary
 PropertiesgetChoiceProperties()
     If this field represents a combo (select) type, returns the choices as a Properties instance.
 ListgetChoicePropertyKeys()
     If this field represents a combo (select) type, returns the choice keys as a List of String instances.
 ClassgetDOClass()
     Get the data object class for this field, if appropriate.
 StringgetDefaultValue()
     Get the default value for this field.
 StringgetName()
     Id of just this field.
 FieldgetParent()
    

Get the field which contains this one.

 StringgetPath()
    

Return the full path to this field, including the names of parent fields separated by '.' characters.

 StringgetType()
     Indicates what sort of data this field should hold.
 MaskgetValueObjectMask()
    

If this field represents a value object, get the mask associated with this value object.

 booleanisDisplayOnly()
     Get whether or not this field can be amended.
 booleanisHidden()
    
 booleanisMandatory()
    

Is this field required or optional?

true if this field is required and must have anon- null, non-empty value.
 booleanisOneToOne()
     If this field represents another value object, but the relationship with its container is one-to-one, then it can be included in the parent's mask directly.

Field Detail
TYPE_AMOUNT
String TYPE_AMOUNT(Code)
Indicates the fields contents should be formatted as an amount.



TYPE_DATE
String TYPE_DATE(Code)
Indicates the fields contents should be formatted as a date.



TYPE_NUMBER
String TYPE_NUMBER(Code)
Indicates the fields contents should be formatted as a number.



TYPE_PASSWORD
String TYPE_PASSWORD(Code)
Indicates the field is an option to be displayed as a password field.



TYPE_RADIO
String TYPE_RADIO(Code)
Indicates the field is an option to be displayed as a radio button.



TYPE_SELECT
String TYPE_SELECT(Code)
Indicates the field is displayed as a choice combo box.



TYPE_STRING
String TYPE_STRING(Code)
Indicates the field is displayed as a short text.



TYPE_TEXTAREA
String TYPE_TEXTAREA(Code)
Indicates the field is displayed as a long text.



TYPE_TIMESTAMP
String TYPE_TIMESTAMP(Code)
Indicates the fields contents should be formatted as a long timestamp.





Method Detail
getChoiceProperties
Properties getChoiceProperties()(Code)
If this field represents a combo (select) type, returns the choices as a Properties instance. Properties instance representing the possiblevalues.



getChoicePropertyKeys
List getChoicePropertyKeys()(Code)
If this field represents a combo (select) type, returns the choice keys as a List of String instances. List of String instancesrepresenting the key values of all choice options.



getDOClass
Class getDOClass()(Code)
Get the data object class for this field, if appropriate. data object class if this field links to a data object, otherwisenull.



getDefaultValue
String getDefaultValue()(Code)
Get the default value for this field. If no default has been defined for this field, is null. default value for this field, or null if none isdefined.



getName
String getName()(Code)
Id of just this field. Id of just this field.



getParent
Field getParent()(Code)

Get the field which contains this one.

Field which contains this field, or null if thisis a top-level field.



getPath
String getPath()(Code)

Return the full path to this field, including the names of parent fields separated by '.' characters.

Full path to this field, to uniquely identify it within thesystem.



getType
String getType()(Code)
Indicates what sort of data this field should hold. type of the field, from one of the TYPE_ values inthis interface.



getValueObjectMask
Mask getValueObjectMask()(Code)

If this field represents a value object, get the mask associated with this value object. Note: this is not the mask the field is in!.

Mask associated with this value object or null ifthis field is not a value object.



isDisplayOnly
boolean isDisplayOnly()(Code)
Get whether or not this field can be amended. Useful for automatically generated fields such as timestamps. true if the field cannot be manually changed.



isHidden
boolean isHidden()(Code)

Is this field hidden or displayed?

true if this field is hidden.



isMandatory
boolean isMandatory()(Code)

Is this field required or optional?

true if this field is required and must have anon- null, non-empty value. Otherwise,false for an optional field.



isOneToOne
boolean isOneToOne()(Code)
If this field represents another value object, but the relationship with its container is one-to-one, then it can be included in the parent's mask directly. true if this field should be displayed directlyin the mask of the parent field.



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