public interface MSequenceDescription extends MClassDescription
MSequenceDescription
describes a sequence class object.
A sequence is basically a typed array, which may be bounded or unbounded.
Applications use this class to define a sequence which can then be used as
an attribute type for a classs attribute.
This class is instantiated automatically when you use a sequence[ ]
as a type for an attribute. Using custom sequence types can result in a more
robust application.
The idea of a sequence is taken from CORBA-IDL. A sequence is basically a typed array, which may be bounded or unbounded. An upper bound for the array size may be specified.
The general syntax is:
sequence[type, size]
Sequences may be nested, that is, they may be arrays of arrays. Here are some examples of sequence types:
sequence[i4]
        Unbounded sequence of
4-byte ints. sequence[string,10]
  Sequence of up to 10 strings. sequence[sequence[fixed.10.2],10]
    Sequence of up to 10
sequences, each containing an unbounded number of fixed-point values. sequence[any,4]
    Sequence of up to 4 values
whose type is not specified. Modifier and Type | Field and Description |
---|---|
static int |
NO_SIZE_LIMIT
Constant denoting no size limit.
|
Modifier and Type | Method and Description |
---|---|
MClassDescription |
getContainedClassDescription()
Return the class description of the contained items.
|
java.lang.String |
getContainedClassName()
Deprecated.
internal use only - do not document
|
int |
getSizeLimit()
Return the size limit of the sequence; a value less than zero means no limit in size.
|
addDefaultValue, construct, getClassDescriptionGlobalName, getClassDescriptionName, getClassDescriptionShortName, getClassRegistry, getDataType, getDefaultList, getDefaultValue, getFullName, getPathName, getShortName, getXsiTypeName, getXsiTypeRelPath, isAssignable, isSubclass, isSuperclass, setXsiTypeName, setXsiTypeRelPath
getProperties, getProperty, getPropertyCount, getPropertyNames, isOK, isOK
static final int NO_SIZE_LIMIT
MClassDescription getContainedClassDescription()
MClassDescription
that describes strings is returned.int getSizeLimit()
java.lang.String getContainedClassName()