org.exolab.castor.builder.types
Class XSListType
public abstract class XSListType
A base class for all list types.
$Revision: 6678 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
ANYURI_TYPE, BASE64BINARY_TYPE, BOOLEAN_TYPE, BYTE_TYPE, CLASS, COLLECTION, DATETIME_TYPE, DATE_TYPE, DECIMAL_TYPE, DOUBLE_TYPE, DURATION_TYPE, ENTITIES, ENTITY, FLOAT_TYPE, GDAY_TYPE, GMONTHDAY_TYPE, GMONTH_TYPE, GYEARMONTH_TYPE, GYEAR_TYPE, HEXBINARY_TYPE, IDREFS_TYPE, IDREF_TYPE, ID_TYPE, INTEGER_TYPE, INT_TYPE, LANGUAGE_TYPE, LONG_TYPE, NAME_TYPE, NCNAME_TYPE, NEGATIVE_INTEGER_TYPE, NMTOKENS_TYPE, NMTOKEN_TYPE, NON_NEGATIVE_INTEGER_TYPE, NON_POSITIVE_INTEGER_TYPE, NORMALIZEDSTRING_TYPE, NOTATION_TYPE, NULL, POSITIVE_INTEGER_TYPE, QNAME_TYPE, SHORT_TYPE, STRING_TYPE, TIME_TYPE, TOKEN_TYPE, UNSIGNED_BYTE_TYPE, UNSIGNED_INT_TYPE, UNSIGNED_LONG_TYPE, UNSIGNED_SHORT_TYPE |
XSListType(String colType, XSType contentType, boolean useJava50)- Creates an instance of this (abstract base) collection type.
|
createDefaultValueWithString, createFromJavaObjectCode, createToJavaObjectCode, getJType, getName, getType, isCollection, isDateTime, isEnumerated, isPrimitive, newInstanceCode, setAsEnumerated, setFacet, setFacets, validationCode |
XSListType
public XSListType(String colType,
XSType contentType,
boolean useJava50) Creates an instance of this (abstract base) collection type.
colType - Type of collection to use.contentType - Type of the collection members.useJava50 - If true, the collection will be generated using Java 5
getContentType
public final XSType getContentType()
Returns the type contained in the list.
- The type contained in the list.
getMaximumSize
public final int getMaximumSize()
Returns the maximum allowed size for this list.
- The maximum allowed size for this list.
getMinimumSize
public final int getMinimumSize()
Returns the minimum allowed size for this list.
- The minimum allowed size for this list.
setMaximumSize
public final void setMaximumSize(int size)
Sets the maximum allowed size for this list.
size - New maximum size for this list
setMinimumSize
public final void setMinimumSize(int size)
Sets the minimum allowed size for this list.
size - New minimum size for this list
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com