public class SequenceType extends DataType
Constructor and Description |
---|
SequenceType(DataType containedDataType,
int maxLength)
Constructor.
|
SequenceType(java.lang.String className)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCategory() |
DataType |
getContainedDataType()
Return the data type of the elements contained in the sequence.
|
int |
getMaxLength() |
construct, construct, equals, getJavaClass, getName, isAssignable, isContainer, isScalar
public SequenceType(DataType containedDataType, int maxLength)
containedDataType
- type of the elements contained
in the sequence.maxLength
- maximum length of the sequence; -1 for
an unbounded sequence.public SequenceType(java.lang.String className) throws DataTypeFormatException
className
- name of the sequence. This is of the
form "sequence[type,len]" where "type" is a datatype name
and len is optional.DataTypeFormatException
public int getMaxLength()
public DataType getContainedDataType()
public final int getCategory()
getCategory
in class DataType