TWiki
>
WebXEO Web
>
XeoPrimer
>
XeoPrimerJavaAPI
>
XeoPrimerJavaAPIAttributeHandler
(revision 1) (raw view)
Edit
Attach
Tags:
tag this topic
create new tag
,
view all tags
-- Main.PedroRio - 30 Dec 2010 ---+ AttributeHandler - Dealing with Attributes The attributeHandler class is responsible for managing a single attribute in the a given boObject instance. In an Object Model, each attribute is of given type but in the Java API the attributeHandler class is responsible for dealing with all of them (except collection attributes, for that use the BridgeHandler). This means an attributeHandler class has methods to retrieve and set the value of the attribute with different types (it's up to the developer to know an attribute's type). It's possible, however, to check the attribute model definition for its data type. In the following sections the most important methods of the API will be presented. ---+++ Reading attribute value getValueBoolean getValueString getValueLong getValueDouble getValueDate getValueIFile getValueObject ---+++ Setting the attribute value setValueBoolean setValueString setValueLong setValueDouble setValueDate setValueIfile setValueObject ---+++ Definition getDefAttribute() getName() ---+++ Attribute Behavior hiddenWhen() disableWhen() required() valid() haveDefaultValue() defaultValue() isDisabled() setDisabled() isVisible() setVisible() setInvalid()
Edit
|
Attach
|
P
rint version
|
H
istory
:
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2010-12-30
-
PedroRio
WebXEO
XEO Primer
-
Instalation
-
Introduction
-
Concepts
-
Architecture
-
XEO Library
-
Deploy to EAR
-
PreferenceStore
XEO - Core
-
XEO Model Reference
-
Security
-
Java API
-
BOL
-
XEOQL (BOQL)
-
Administrating
-
Background Tasks
-
boConfig.xml
-
Web.xml
-
Known Issues
-
XEO Flags
XEO - XWC
- Web Components
- Java Samples
- Custom Components
- Component Plugins
- Internationalization
- Viewer Events
- Value Change Listeners
- XUIServlet
- XeoLocalization
- XvwTemplates
Create New Topic
WebXEO Web
No permission to view
TWiki.WebTopBar
No permission to view
TWiki.WebBottomBar