Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.mdds
Interface ArrayPrototype

All Superinterfaces:
Prototype

public interface ArrayPrototype
extends Prototype

Field Summary
static int TYPE_EMBEDDED
           
static int TYPE_LIST
           
static int TYPE_SOAP
           

 

Fields inherited from interface oracle.webservices.mdds.Prototype
EXTENSION_TYPE, XSD_STRING

 

Method Summary
 int getMaxLength()
          Max allowed length for the array.
 int getMinLength()
          Min allowed length for the array.
 int getNumDimensions()
          Return the number of dimensions for this array.
 Prototype getPrototype()
          Return the prototype for child elements
 int getType()
          Type of array (SOAP, Embedded or List)
 boolean isAnonymous()
          Gets the serialization hint as to whether this array is "anonymous", meaning that the array itself should not generate start and end tags around the contained data.
 void setAnonymous(boolean anonymous)
          Sets the serialization hint that this array is "anonymous", meaning that the array itself should not generate start and end tags around the contained data.

 

Field Detail

TYPE_SOAP

static final int TYPE_SOAP
See Also:
Constant Field Values

TYPE_EMBEDDED

static final int TYPE_EMBEDDED
See Also:
Constant Field Values

TYPE_LIST

static final int TYPE_LIST
See Also:
Constant Field Values

Method Detail

getPrototype

Prototype getPrototype()
Return the prototype for child elements
Returns:

getNumDimensions

int getNumDimensions()
Return the number of dimensions for this array. Dimensions will be greater than one only for SOAP type arrays.
Returns:

getMinLength

int getMinLength()
Min allowed length for the array.
Returns:

getMaxLength

int getMaxLength()
Max allowed length for the array.
Returns:

getType

int getType()
Type of array (SOAP, Embedded or List)
Returns:

isAnonymous

boolean isAnonymous()
Gets the serialization hint as to whether this array is "anonymous", meaning that the array itself should not generate start and end tags around the contained data.
Returns:
whether or not this array serializes as "anonymous".

setAnonymous

void setAnonymous(boolean anonymous)
Sets the serialization hint that this array is "anonymous", meaning that the array itself should not generate start and end tags around the contained data.
Parameters:
anonymous - whether this array serializes as "anonymous".

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.