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

Fields inherited from class org.enhydra.zeus.binding.BaseProperty
accessModifier, defaultValue, isCollection
 
Fields inherited from class org.enhydra.zeus.binding.BaseBinding
javaType, name
 
Fields inherited from interface org.enhydra.zeus.binding.Property
ACCESS_PRIVATE, ACCESS_PROTECTED, ACCESS_PUBLIC
 
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 org.enhydra.zeus.binding.BaseProperty
BaseProperty, getAccessModifier, getAccessModifierString, getDefaultValue, isCollection, setAccessModifier, setDefaultValue, setIsCollection
 
Methods inherited from class org.enhydra.zeus.binding.BaseBinding
getJavaType, getName, setJavaType, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.enhydra.zeus.Binding
getJavaType, getName, setJavaType, setName
 

Constructor Detail

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.