Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.api.annotation
Annotation Type DataType


@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface DataType

Used to demarcate expected data types for an operation

Version:
$Rev: 437540 $ $Date: 2006-08-27 22:39:00 -0700 (Sun, 27 Aug 2006) $

Required Element Summary
 String name
          Returns the unique name of the data binding
 
Optional Element Summary
 DataContext[] context
          Returns an array of extensibility elements
 Class logicalType
          Returns the logical data type
 Class physicalType
          Returns the physical data type
 

Element Detail

name

public abstract String name
Returns the unique name of the data binding

Returns:
the unique name of the data binding

logicalType

public abstract Class logicalType
Returns the logical data type

Returns:
the logical data type
Default:
java.lang.Object.class

physicalType

public abstract Class physicalType
Returns the physical data type

Returns:
the physical data type
Default:
java.lang.Object.class

context

public abstract DataContext[] context
Returns an array of extensibility elements

Returns:
an array of extensibility elements
Default:
{}

Apache Tuscany SCA Kernel Sub-Project

-