Java Doc for ConfigProperty.java in  » ESB » open-esb » com » sun » jbi » jsf » bean » 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 » ESB » open esb » com.sun.jbi.jsf.bean 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.jsf.bean.ConfigProperty

ConfigProperty
public class ConfigProperty (Code)
Defines when and how a configuration property is to be initialized, displayed, edited, and validated based on the option Open ESB configuration extension elements (e.g. <config:Property ...> in a JBI component's jbi.xml descriptor.
author:
   Sun Microsystems Inc.



Constructor Summary
public  ConfigProperty()
    

Method Summary
public  List<String>getConstraintEnumeration()
    
public  intgetConstraintMaxInclusive()
    
public  intgetConstraintMinInclusive()
    
public  intgetDefaultNumericValue()
    
public  StringgetDefaultStringValue()
    
public  StringgetDisplayDescription()
    
public  StringgetDisplayName()
    
public  booleangetIsAppRestartRequired()
    
public  booleangetIsCompRestartRequired()
    
public  booleangetIsEncrypted()
    
public  booleangetIsRequired()
    
public  booleangetIsServerRestartRequired()
    
public  StringgetName()
    
public  StringgetOnChangeMessage()
    
public  StringgetShowDisplay()
    
public  ObjectgetValue()
    
public  StringgetXSDType()
     Gets the Type attribute The XSD type of value for this property (which determineswhether it is boolean, numeric, or string).
public static  booleanisInstallTime(ConfigProperty aConfigProperty)
     Determines if the specified property is to be displayed during component installation configuration
Parameters:
  aConfigProperty - a property to be checked true for installation configuration display(i.e.
public static  booleanisRuntime(ConfigProperty aConfigProperty)
     Determines if the specified property is to be displayed during component runtime configuration
Parameters:
  aConfigProperty - a property to be checked true for runtime configuration display(i.e.
public  voidsetConstraintEnumeration(List<String> aConstraintEnumeration)
    
public  voidsetConstraintMaxInclusive(int aConstraintMaxInclusive)
    
public  voidsetConstraintMinInclusive(int aConstraintMinInclusive)
    
public  voidsetDefaultNumericValue(int aDefaultNumericValue)
    
public  voidsetDefaultStringValue(String aDefaultStringValue)
    
public  voidsetDisplayDescription(String aDisplayDescription)
     Sets the Display Description attribute
Parameters:
  aDisplayDescription - an I18n String to describe this propertye.g.
public  voidsetDisplayName(String aDisplayName)
    
public  voidsetIsAppRestartRequired(boolean isAppRestartRequired)
    
public  voidsetIsCompRestartRequired(boolean isCompRestartRequired)
    
public  voidsetIsEncrypted(boolean isEncrypted)
     Sets the Is Encrypted attribute
Parameters:
  isEncrypted - true if this property's value is to be hiddenwhen viewed or prompted-for (e.g.
public  voidsetIsRequired(boolean isRequired)
    
public  voidsetIsServerRestartRequired(boolean isServerRestartRequired)
    
public  voidsetName(String aName)
    
public  voidsetOnChangeMessage(String anOnChangeMessage)
    
public  voidsetShowDisplay(String aShowDisplay)
    
public  voidsetValue(Object aValue)
    
public  voidsetXSDType(String anXSDType)
    
public  StringtoString()
     Converts to a String representation of the object.


Constructor Detail
ConfigProperty
public ConfigProperty()(Code)
Empty Constructor (use setters after instantiation)




Method Detail
getConstraintEnumeration
public List<String> getConstraintEnumeration()(Code)
Gets the Constraint Enumeration if any A List of allowable values for a selection widgetor null if the field is to be manually entered



getConstraintMaxInclusive
public int getConstraintMaxInclusive()(Code)
Gets the Constraint Max Inclusive attribute if applicable The max allowed value for a numeric field



getConstraintMinInclusive
public int getConstraintMinInclusive()(Code)
Gets the Constraint Min Inclusive attribute if applicable The ConstraintMinInclusive value



getDefaultNumericValue
public int getDefaultNumericValue()(Code)
Gets the Default Numeric Value attribute, if any The DefaultNumericValue value or null if none



getDefaultStringValue
public String getDefaultStringValue()(Code)
Gets the Default String Value attribute, if any The DefaultStringValue value or null if none



getDisplayDescription
public String getDisplayDescription()(Code)
Gets the Display Description The DisplayDescription I18n value to be used for field help or tool tips



getDisplayName
public String getDisplayName()(Code)
Gets the Display Name The name to be displayed in user interface



getIsAppRestartRequired
public boolean getIsAppRestartRequired()(Code)
Gets the Application Restart Required attribute true if changing this property requires the displayof an application-restart-is-required message



getIsCompRestartRequired
public boolean getIsCompRestartRequired()(Code)
Gets the Component Restart Required attribute true if changing this property requires the displayof a component-restart-is-required message



getIsEncrypted
public boolean getIsEncrypted()(Code)
Gets the Is Encrypted attribute true if this property is to be hidden when viewing or editing



getIsRequired
public boolean getIsRequired()(Code)
Gets the Is Required attribute true if a value is required for this property



getIsServerRestartRequired
public boolean getIsServerRestartRequired()(Code)
Gets the Is Server Restart Required attribute true if changing this property requires the displayof a server-restart-is-required message



getName
public String getName()(Code)
Gets the Name attribute The non-I18n Name of this property



getOnChangeMessage
public String getOnChangeMessage()(Code)
Gets the On Change Message attribute, if any an I18n message to be displayed if this value is changedor null if there is no on-change-message for this property



getShowDisplay
public String getShowDisplay()(Code)
Gets the Show Display attribute one of: all, install, orruntime



getValue
public Object getValue()(Code)
Gets the Value attribute The current value of the property, if any



getXSDType
public String getXSDType()(Code)
Gets the Type attribute The XSD type of value for this property (which determineswhether it is boolean, numeric, or string). one of: xsd:boolean, xsd:int, or xsd:string.



isInstallTime
public static boolean isInstallTime(ConfigProperty aConfigProperty)(Code)
Determines if the specified property is to be displayed during component installation configuration
Parameters:
  aConfigProperty - a property to be checked true for installation configuration display(i.e. showDisplay of all orinstall)



isRuntime
public static boolean isRuntime(ConfigProperty aConfigProperty)(Code)
Determines if the specified property is to be displayed during component runtime configuration
Parameters:
  aConfigProperty - a property to be checked true for runtime configuration display(i.e. showDisplay of all orruntime)



setConstraintEnumeration
public void setConstraintEnumeration(List<String> aConstraintEnumeration)(Code)
Sets the Constraint Enumeration values
Parameters:
  aConstraintEnumeration - A list of display strings to be usedin a selection widget (or null ifthis is a manually entered value)



setConstraintMaxInclusive
public void setConstraintMaxInclusive(int aConstraintMaxInclusive)(Code)
Sets the Constraint Max Inclusive attribute
Parameters:
  aConstraintMaxInclusive - The maximum allowed numeric value



setConstraintMinInclusive
public void setConstraintMinInclusive(int aConstraintMinInclusive)(Code)
Sets the Constraint Min Inclusive attribute
Parameters:
  aConstraintMinInclusive - The minimum allowed numeric value



setDefaultNumericValue
public void setDefaultNumericValue(int aDefaultNumericValue)(Code)
Sets the Default Numeric Value attribute
Parameters:
  aDefaultNumericValue - The default value to display, if numericor null if non-numeric



setDefaultStringValue
public void setDefaultStringValue(String aDefaultStringValue)(Code)
Sets the Default String Value attribute
Parameters:
  aDefaultStringValue - The new DefaultStringValue value



setDisplayDescription
public void setDisplayDescription(String aDisplayDescription)(Code)
Sets the Display Description attribute
Parameters:
  aDisplayDescription - an I18n String to describe this propertye.g. for inline help or tooltip



setDisplayName
public void setDisplayName(String aDisplayName)(Code)
Sets the Display Name attribute
Parameters:
  aDisplayName - The I18n String to be displayed in the user interface



setIsAppRestartRequired
public void setIsAppRestartRequired(boolean isAppRestartRequired)(Code)
Sets the Is Application Restart Required attribute
Parameters:
  isAppRestartRequired - true if changing this propertyshould result in anapplication-restart-required message



setIsCompRestartRequired
public void setIsCompRestartRequired(boolean isCompRestartRequired)(Code)
Sets the IsCompRestartRequired attribute of the ConfigProperty object
Parameters:
  isCompRestartRequired - true if changing this propertyshould result in ancomponent-restart-required message



setIsEncrypted
public void setIsEncrypted(boolean isEncrypted)(Code)
Sets the Is Encrypted attribute
Parameters:
  isEncrypted - true if this property's value is to be hiddenwhen viewed or prompted-for (e.g. password field)(also hidden during logging)



setIsRequired
public void setIsRequired(boolean isRequired)(Code)
Sets the Is Required attribute
Parameters:
  isRequired - true if a value is required for this property



setIsServerRestartRequired
public void setIsServerRestartRequired(boolean isServerRestartRequired)(Code)
Sets the IsServerRestartRequired attribute of the ConfigProperty object
Parameters:
  isServerRestartRequired - true if changing this propertyshould result in ancomponent-restart-required message



setName
public void setName(String aName)(Code)
Sets the Name attribute
Parameters:
  aName - a non-I18n String to name this property



setOnChangeMessage
public void setOnChangeMessage(String anOnChangeMessage)(Code)
Sets the On Change Message attribute
Parameters:
  anOnChangeMessage - an I18n String with a message to bedisplayed if this property's value is changed(or null if there is no such message)



setShowDisplay
public void setShowDisplay(String aShowDisplay)(Code)
Sets the Show Display attribute
Parameters:
  aShowDisplay - an I18n String to display in the user-interface



setValue
public void setValue(Object aValue)(Code)
Sets the Value attribute
Parameters:
  aValue - The value of this property to be viewed, edited,and passed to the component's installation configuration and/or runtime configuration MBean.



setXSDType
public void setXSDType(String anXSDType)(Code)
Sets the Type attribute to specify if this is a boolean, numeric, or string property
Parameters:
  anXSDType - one of: xsd:boolean, xsd:int,or xsd:string



toString
public String toString()(Code)
Converts to a String representation of the object. A non-I18n String for logging the state of this object(for an "encrypted" property,the value is *hidden*)



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.