Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-07

weblogic.jws
Annotation Type Types


@Retention(value=RUNTIME)
@Target(value={java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER})
public @interface Types

Inferface that defines the Types annotation. Used to specify alternative types and types contained in collections for web method return types and parameter types.


Required Element Summary
 String[] value
          The annotation content is a comma separated list of fully qualified class names of alternative types for a return type or parameter.
 

Element Detail

value

public abstract String[] value
The annotation content is a comma separated list of fully qualified class names of alternative types for a return type or parameter. The alternative types must extend the initial type. If the return type or parameter is a Collection out of java.util.*, this specifies the allowed contained types.


Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-07