public class CollectionInfoODMG30 extends CollectionInfo
DEFAULT_REFERENCE_SUFFIX, REFERENCE_SUFFIX_PROPERTYREAD_METHOD, READ_WRITE_METHODS, WRITE_METHODATTRIBUTE_TYPE, CHOICE_NODE_NAME_ERROR_INDICATION, ELEMENT_TYPE, TEXT_TYPE| Constructor and Description |
|---|
CollectionInfoODMG30(XSType contentType,
java.lang.String name,
java.lang.String elementName,
boolean useJava50)
Creates a new CollectionInfoODMG30
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createEnumerateMethod(JClass jClass,
boolean useJava50) |
void |
generateInitializerCode(JSourceCode jsc)
Creates code for initialization of this Member
|
addMaxSizeCheck, createAccessMethods, createAddAndRemoveMethods, createAddMethod, createBoundPropertyCode, createCollectionIterationMethods, createExtraMethods, createGetAndSetMethods, createGetAsArrayMethod, createGetAsReferenceMethod, createGetByIndexMethod, createGetCountMethod, createInsertMethod, createIteratorMethod, createRemoveAllMethod, createRemoveByIndexMethod, createRemoveObjectMethod, createSetAsArrayMethod, createSetAsCopyMethod, createSetAsReferenceMethod, createSetByIndexMethod, getContent, getContentName, getContentType, getElementName, getMethodSuffix, getReferenceMethodSuffix, getXSList, isMultivalued, setCreateExtraMethods, setReferenceMethodSuffixcreateGetterComment, createGetterMethod, createHasAndDeleteMethods, createJavaField, createSetterComment, createSetterMethod, getComment, getDeclaringClassInfo, getDefaultValue, getDeleteMethodName, getFixedValue, getHasMethodName, getMethods, getName, getReadMethodName, getValidator, getWriteMethodName, getXMLFieldHandler, isBound, isContainer, isHasAndDeleteMethods, isNillable, isTransient, setBound, setComment, setContainer, setDeclaringClassInfo, setDefaultValue, setFieldInfoReference, setFinal, setFixedValue, setMethods, setNillable, setStatic, setTransient, setValidator, setXMLFieldHandlergetNamespacePrefix, getNamespaceURI, getNodeName, getNodeType, getNodeTypeName, getSchemaType, isElementDefinition, isRequired, setElementDefinition, setMultivalued, setNamespacePrefix, setNamespaceURI, setNodeName, setNodeType, setRequired, setSchemaTypepublic CollectionInfoODMG30(XSType contentType, java.lang.String name, java.lang.String elementName, boolean useJava50)
contentType - the content type of the collection, ie. the type of objects
that the collection will containname - the name of the CollectionelementName - the element name for each element in collectionuseJava50 - true if source code is supposed to be generated for Java 5public void generateInitializerCode(JSourceCode jsc)
generateInitializerCode in class CollectionInfojsc - the JSourceCode in which to add the source toFieldInfo.generateInitializerCode(org.exolab.javasource.JSourceCode)protected void createEnumerateMethod(JClass jClass, boolean useJava50)
createEnumerateMethod in class CollectionInfoIntalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com