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.

Author:
Brett McLaughlin, Steve Witten, Maciej Zawadzki, Sean Ogle

Fields inherited from class org.enhydra.zeus.binding.BaseProperty
defaultValue, enumeration, isCollection, modifier
 
Fields inherited from class org.enhydra.zeus.binding.BaseBinding
isJavaSerializable, isXMLRootElement, javaCollectionClass, javaImplementationPackage, javaInterfacePackage, javaName, javaType, javaVariableName, xmlName, xmlNamespaceURI, xmlParentType, xmlParentTypeNamespaceURI, xmlType, xmlTypeNamespaceURI
 
Fields inherited from interface org.enhydra.zeus.binding.Property
ACCESS_PRIVATE, ACCESS_PROTECTED, ACCESS_PUBLIC, MUTABILITY_FINAL, MUTABILITY_SYNCHRONIZED, MUTABILITY_TRANSIENT, MUTABILITY_VOLATILE, SOURCE_ATTLIST, SOURCE_ELEMENT, STORAGE_STATIC
 
Constructor Summary
AtomicProperty(java.lang.String xmlName, java.lang.String xmlType)
           This will create a new AtomicProperty with the specified information.
AtomicProperty(java.lang.String xmlName, java.lang.String xmlNamespaceURI, java.lang.String xmlType, java.lang.String xmlTypeNamespaceURI)
           This will create a new AtomicProperty with the specified information.
AtomicProperty(java.lang.String xmlName, java.lang.String xmlNamespaceURI, java.lang.String xmlType, java.lang.String xmlTypeNamespaceURI, 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 org.enhydra.zeus.binding.BaseBinding
getJavaCollectionClass, getJavaImplementationPackage, getJavaInterfacePackage, getJavaName, getJavaType, getJavaVariableName, getXMLName, getXMLNamespaceURI, getXMLParentType, getXMLParentTypeNamespaceURI, getXMLType, getXMLTypeNamespaceURI, isJavaSerializable, isXMLRootElement, setIsJavaSerializable, setIsXMLRootElement, setJavaCollectionClass, setJavaImplementationPackage, setJavaInterfacePackage, setJavaName, setJavaType, setJavaVariableName, setXMLName, setXMLNamespaceURI, setXMLParentType, setXMLParentTypeNamespaceURI, setXMLType, setXMLTypeNamespaceURI
 
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
getJavaCollectionClass, getJavaImplementationPackage, getJavaInterfacePackage, getJavaName, getJavaType, getJavaVariableName, getXMLName, getXMLNamespaceURI, getXMLParentType, getXMLParentTypeNamespaceURI, getXMLType, getXMLTypeNamespaceURI, isJavaSerializable, isXMLRootElement, setIsJavaSerializable, setIsXMLRootElement, setJavaCollectionClass, setJavaImplementationPackage, setJavaInterfacePackage, setJavaName, setJavaType, setJavaVariableName, setXMLName, setXMLNamespaceURI, setXMLParentType, setXMLParentTypeNamespaceURI, setXMLType, setXMLTypeNamespaceURI
 

Constructor Detail

AtomicProperty

public AtomicProperty(java.lang.String xmlName,
                      java.lang.String xmlNamespaceURI,
                      java.lang.String xmlType,
                      java.lang.String xmlTypeNamespaceURI,
                      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.
xmlNamespaceURI - the XML namespace URI associated with the property's XML name.
xmlType - the XML type associated with the property.
xmlTypeNamespaceURI - the XML namespace URI associated with the property's XML type.
modifier - the int constant for the property's access modifier.
enumeration - the vector of possible values for this property.
defaultValue - the default value for this property.
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 xmlNamespaceURI,
                      java.lang.String xmlType,
                      java.lang.String xmlTypeNamespaceURI)

This will create a new AtomicProperty with the specified information. The modifier will be set to ACCESS_PRIVATE, the default value and the enumeration will be set to null.

Parameters:
xmlName - the String XML name of this property.
xmlNamespaceURI - the XML namespace URI associated with the property's XML name.
xmlType - the XML type associated with the property.
xmlTypeNamespaceURI - the XML namespace URI associated with the property's XML type.
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 xmlType)

This will create a new AtomicProperty with the specified information. The modifier will be set to ACCESS_PRIVATE, the default value and the enumeration will be set to null, and both the XML name and XML type namespaces are set to an empty string, the equivalent of no namespace.

Parameters:
xmlName - the String XML name of this property.
xmlType - the XML type associated with the property.
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}


Copyright © 2002 Enhydra. All Rights Reserved.