org.enhydra.zeus.binding
Class AtomicProperty

org.enhydra.zeus.binding.BaseBinding
  |
  +--org.enhydra.zeus.binding.BaseProperty
        |
        +--org.enhydra.zeus.binding.AtomicProperty

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.

Author:
Brett McLaughlin
Version: 1.0

Constructor Summary
AtomicProperty(String name, String javaType, int accessModifer)
           This will create a new AtomicProperty with the specified information.
AtomicProperty(String name, String javaType)
           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

Constructor Detail

AtomicProperty

public AtomicProperty(String name, 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(String name, 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.