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, Steve Witten, Maciej Zawadzki
Constructor Summary |
AtomicProperty(java.lang.String xmlName,
java.lang.String javaType)
This will create a new AtomicProperty with
the specified information. |
AtomicProperty(java.lang.String xmlName,
java.lang.String javaType,
java.util.BitSet modifier)
This will create a new AtomicProperty with
the specified information. |
AtomicProperty(java.lang.String xmlName,
java.lang.String javaType,
java.util.BitSet modifier,
java.util.Vector enumeration,
java.lang.Object defaultValue)
This will create a new AtomicProperty with
the specified information. |
Methods inherited from class org.enhydra.zeus.binding.BaseProperty |
BaseProperty, getDefaultValue, getEnumeration, getModifier, getModifierString, hasDefaultValue, hasEnumeration, isCollection, setDefaultValue, setEnumeration, setIsCollection, setModifier |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomicProperty
public AtomicProperty(java.lang.String xmlName,
java.lang.String javaType,
java.util.BitSet modifier,
java.util.Vector enumeration,
java.lang.Object defaultValue)
This will create a new AtomicProperty
with
the specified information.
- Parameters:
xmlName
- the String
XML 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}
,
{@link Property#STORAGE_STATIC}
,
{@link Property#MUTABILITY_VOLATILE}
,
{@link Property#MUTABILITY_FINAL}
AtomicProperty
public AtomicProperty(java.lang.String xmlName,
java.lang.String javaType)
This will create a new AtomicProperty
with
the specified information. The property will be, by default,
Property.ACCESS_PRIVATE
.
- Parameters:
xmlName
- the String
XML name of this property.javaType
- the Java class name of the property type.
AtomicProperty
public AtomicProperty(java.lang.String xmlName,
java.lang.String javaType,
java.util.BitSet modifier)
This will create a new AtomicProperty
with
the specified information. The property will be
Property.ACCESS_PRIVATE
.
- Parameters:
xmlName
- the String
XML name of this property.javaType
- the Java class name of the property type.modifier
- the BitSet containing modifiers for this property
Copyright © 2001 Enhydra. All Rights Reserved.