Public Member Functions | |
XSList (XSType contentType) | |
JType | getJType () |
int | getMinimumSize () |
int | getMaximumSize () |
XSType | getContentType () |
void | setMaximumSize (int size) |
void | setMinimumSize (int size) |
void | setFacets (SimpleType simpleType) |
void | validationCode (JSourceCode jsc, String fixedValue, String fieldValidatorInstanceName) |
Package Attributes | |
int | maxSize = -1 |
int | minSize = 0 |
XSType | contentType = null |
A list type....this will change soon
org.exolab.castor.builder.types.XSList.XSList | ( | XSType | contentType | ) |
XSType org.exolab.castor.builder.types.XSList.getContentType | ( | ) |
Reimplemented in org.exolab.castor.builder.types.XSListJ2, and org.exolab.castor.builder.types.XSListODMG30.
References org.exolab.castor.builder.types.XSList.contentType.
JType org.exolab.castor.builder.types.XSList.getJType | ( | ) | [virtual] |
Returns the JType that this XSType represents
Implements org.exolab.castor.builder.types.XSType.
Reimplemented in org.exolab.castor.builder.types.XSListJ2, and org.exolab.castor.builder.types.XSListODMG30.
int org.exolab.castor.builder.types.XSList.getMaximumSize | ( | ) |
Reimplemented in org.exolab.castor.builder.types.XSListJ2, and org.exolab.castor.builder.types.XSListODMG30.
References org.exolab.castor.builder.types.XSList.maxSize.
Referenced by org.exolab.castor.builder.CollectionInfoODMG30.createAddInsertMethod(), org.exolab.castor.builder.CollectionInfoJ2.createAddInsertMethod(), org.exolab.castor.builder.CollectionInfo.createAddInsertMethod(), org.exolab.castor.builder.CollectionInfoODMG30.createAddMethod(), org.exolab.castor.builder.CollectionInfoJ2.createAddMethod(), org.exolab.castor.builder.CollectionInfo.createAddMethod(), org.exolab.castor.builder.CollectionInfoODMG30.createSetByIndexMethod(), org.exolab.castor.builder.CollectionInfoJ2.createSetByIndexMethod(), and org.exolab.castor.builder.CollectionInfo.createSetByIndexMethod().
int org.exolab.castor.builder.types.XSList.getMinimumSize | ( | ) |
Reimplemented in org.exolab.castor.builder.types.XSListJ2, and org.exolab.castor.builder.types.XSListODMG30.
References org.exolab.castor.builder.types.XSList.minSize.
void org.exolab.castor.builder.types.XSList.setFacets | ( | SimpleType | simpleType | ) | [virtual] |
Reads and sets the facets for XSType
simpleType | the SimpleType containing the facets |
Implements org.exolab.castor.builder.types.XSType.
void org.exolab.castor.builder.types.XSList.setMaximumSize | ( | int | size | ) |
Reimplemented in org.exolab.castor.builder.types.XSListJ2, and org.exolab.castor.builder.types.XSListODMG30.
References org.exolab.castor.builder.types.XSList.maxSize.
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo(), and org.exolab.castor.builder.MemberFactory.createFieldInfoForAny().
void org.exolab.castor.builder.types.XSList.setMinimumSize | ( | int | size | ) |
Reimplemented in org.exolab.castor.builder.types.XSListJ2, and org.exolab.castor.builder.types.XSListODMG30.
References org.exolab.castor.builder.types.XSList.minSize.
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo(), and org.exolab.castor.builder.MemberFactory.createFieldInfoForAny().
void org.exolab.castor.builder.types.XSList.validationCode | ( | JSourceCode | jsc, | |
String | fixedValue, | |||
String | fieldValidatorInstanceName | |||
) | [virtual] |
Creates the validation code for an instance of this XSType. The validation code should if necessary create a newly configured TypeValidator, that should then be added to a FieldValidator instance whose name is provided.
fixedValue | a fixed value to use if any | |
jsc | the JSourceCode to fill in. | |
fieldValidatorInstanceName | the name of the FieldValidator that the configured TypeValidator should be added to. |
Implements org.exolab.castor.builder.types.XSType.
XSType org.exolab.castor.builder.types.XSList.contentType = null [package] |
Reimplemented in org.exolab.castor.builder.types.XSListJ2, and org.exolab.castor.builder.types.XSListODMG30.
Referenced by org.exolab.castor.builder.types.XSList.getContentType().
int org.exolab.castor.builder.types.XSList.maxSize = -1 [package] |
int org.exolab.castor.builder.types.XSList.minSize = 0 [package] |