org.apache.tuscany.sca.databinding.javabeans
Class SimpleJavaDataBinding

java.lang.Object
  extended by org.apache.tuscany.sca.databinding.impl.BaseDataBinding
      extended by org.apache.tuscany.sca.databinding.javabeans.SimpleJavaDataBinding
All Implemented Interfaces:
DataBinding

public class SimpleJavaDataBinding
extends BaseDataBinding

DataBinding for Java simple types


Field Summary
static java.lang.String NAME
           
 
Fields inherited from interface org.apache.tuscany.sca.databinding.DataBinding
IDL_FAULT, IDL_INPUT, IDL_OUTPUT
 
Constructor Summary
SimpleJavaDataBinding()
           
 
Method Summary
 java.lang.Object copy(java.lang.Object arg, DataType dataType, Operation operation)
          Make a copy of the object for "pass-by-value" semantics.
 boolean introspect(DataType type, Operation operation)
          Introspect and populate information to a DataType model
 
Methods inherited from class org.apache.tuscany.sca.databinding.impl.BaseDataBinding
getName, getWrapperHandler, getXMLTypeHelper, introspect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

SimpleJavaDataBinding

public SimpleJavaDataBinding()
Method Detail

copy

public java.lang.Object copy(java.lang.Object arg,
                             DataType dataType,
                             Operation operation)
Description copied from interface: DataBinding
Make a copy of the object for "pass-by-value" semantics.

Specified by:
copy in interface DataBinding
Overrides:
copy in class BaseDataBinding
Parameters:
arg - source object to copy
dataType - The data type
operation - The operation
Returns:
copy of the object passed in as argument

introspect

public boolean introspect(DataType type,
                          Operation operation)
Description copied from interface: DataBinding
Introspect and populate information to a DataType model

Specified by:
introspect in interface DataBinding
Overrides:
introspect in class BaseDataBinding
Parameters:
type - The data type to be introspected
operation - The operation
Returns:
true if the databinding has recognized the given data type