org.enhydra.zeus.binding
Class AtomicProperty
java.lang.Object
|
+--org.enhydra.zeus.binding.BaseBinding
|
+--org.enhydra.zeus.binding.BaseProperty
|
+--org.enhydra.zeus.binding.AtomicProperty
- All Implemented Interfaces:
- Binding, Property
- public class AtomicProperty
- extends BaseProperty
AtomicProperty
implements the
Binding
and
Property
interfaces, and provides
for a simple name/value property representation.
An AtomicProperty
will most commonly represent
simple typed values in Java, such as a String
,
int
, or Date
.
- Version:
- 1.0
- Author:
- Brett McLaughlin
Constructor Summary |
AtomicProperty(java.lang.String name,
java.lang.String javaType)
This will create a new AtomicProperty with
the specified information. |
AtomicProperty(java.lang.String name,
java.lang.String javaType,
int accessModifer)
This will create a new AtomicProperty with
the specified information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomicProperty
public AtomicProperty(java.lang.String name,
java.lang.String javaType,
int accessModifer)
This will create a new AtomicProperty
with
the specified information.
- Parameters:
name
- the String
name of this property.javaType
- the Java class name of the property type.accessModifier
- the int constant for the
property's access modifier.- See Also:
{@link Property#ACCESS_PRIVATE}
,
{@link Property#ACCESS_PROTECTED}
,
{@link Property#ACCESS_PUBLIC}
AtomicProperty
public AtomicProperty(java.lang.String name,
java.lang.String javaType)
This will create a new AtomicProperty
with
the specified information. The property will be, by default,
Property.ACCESS_PRIVATE
.
- Parameters:
name
- the String
name of this property.javaType
- the Java class name of the property type.
Copyright © 2001 Enhydra. All Rights Reserved.