org.apache.tuscany.sca.databinding.annotation
Annotation Type DataBinding


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

Used to demarcate the mapping style for an interface or operation


Required Element Summary
 java.lang.String value
          Indicate the effective databinding that controls the WSDL/Java mapping of the interface/operation
 
Optional Element Summary
 boolean wrapped
          Indicate if the operation is mapped using WRAPPED or BARE style.
 

Element Detail

value

public abstract java.lang.String value
Indicate the effective databinding that controls the WSDL/Java mapping of the interface/operation

Returns:
the data binding with the MIME media type syntax

wrapped

public abstract boolean wrapped
Indicate if the operation is mapped using WRAPPED or BARE style. Originated from javax.jws.soap.SOAPBinding.ParameterStyle: Determines whether method parameters represent the entire message body, or whether the parameters are elements wrapped inside a top-level element named after the operation

Returns:
true if the parameter style is WRAPPED, false if BARE
Default:
false