org.exolab.castor.builder
Class CollectionInfoODMG30
public class CollectionInfoODMG30
A helper used for generating source that deals with Collections.
Version:
- Frank Thelen
- Bernd Deichmann
createAccessMethods, createAddInsertMethod, createAddMethod, createBoundPropertyCode, createEnumerateMethod, createGetByIndexMethod, createGetCollectionReferenceMethod, createGetCountMethod, createGetMethod, createRemoveAllMethod, createRemoveByIndexMethod, createRemoveByObjectMethod, createSetArrayMethod, createSetByIndexMethod, createSetCollectionMethod, createSetCollectionReferenceMethod, extraMethods, generateInitializerCode, getContent, getContentName, getContentType, getElementName, getReadMethod, getReadMethodName, getWriteMethodName, getXSList, isMultivalued |
createAccessMethods, createGetterComment, createJavaField, createSetterComment, generateInitializerCode, getComment, getDeclaringClassInfo, getDefaultValue, getDeleteMethodName, getFixedValue, getHasMethodName, getName, getReadMethodName, getValidator, getWriteMethodName, getXMLFieldHandler, isBound, isContainer, isTransient, methodSuffix, setBound, setComment, setContainer, setDeclaringClassInfo, setDefaultValue, setFinal, setFixedValue, setStatic, setTransient, setValidator, setXMLFieldHandler |
getNamespacePrefix, getNamespaceURI, getNodeName, getNodeType, getNodeTypeName, getSchemaType, isMultivalued, isRequired, setMultivalued, setNamespacePrefix, setNamespaceURI, setNodeName, setNodeType, setRequired, setSchemaType |
CollectionInfoODMG30
public CollectionInfoODMG30(XSType contentType,
String name,
String elementName) Creates a new CollectionInfoODMG30
name - the name of the CollectionelementName - the element name for each element in collection
createAddInsertMethod
public void createAddInsertMethod(JMethod method)
Creates implementation of add method with index.
- createAddInsertMethod in interface CollectionInfo
method - the JMethod in which to create the source
code.
createAddMethod
public void createAddMethod(JMethod method)
Creates implementation of add method.
- createAddMethod in interface CollectionInfo
createEnumerateMethod
public void createEnumerateMethod(JMethod method)
Creates implementation of Enumerate method.
- createEnumerateMethod in interface CollectionInfo
createGetByIndexMethod
public void createGetByIndexMethod(JMethod method)
Creates implementation of the get(index) method.
- createGetByIndexMethod in interface CollectionInfo
createGetCountMethod
public void createGetCountMethod(JMethod method)
Creates implementation of getCount method.
- createGetCountMethod in interface CollectionInfo
createGetMethod
public void createGetMethod(JMethod method)
Creates implementation of object[] get() method.
- createGetMethod in interface CollectionInfo
createRemoveAllMethod
public void createRemoveAllMethod(JMethod method)
Creates implementation of removeAll() method.
- createRemoveAllMethod in interface CollectionInfo
createRemoveByIndexMethod
public void createRemoveByIndexMethod(JMethod method)
Creates implementation of remove(int i) method.
- createRemoveByIndexMethod in interface CollectionInfo
createRemoveByObjectMethod
public void createRemoveByObjectMethod(JMethod method)
Creates implementation of remove(Object) method.
- createRemoveByObjectMethod in interface CollectionInfo
createSetArrayMethod
public void createSetArrayMethod(JMethod method)
Creates implementation of array set method
Method added 12/14/2000 BD
- createSetArrayMethod in interface CollectionInfo
createSetByIndexMethod
public void createSetByIndexMethod(JMethod method)
Creates implementation of set method.
- createSetByIndexMethod in interface CollectionInfo
generateInitializerCode
public void generateInitializerCode(JSourceCode jsc)
Creates code for initialization of this Member
- generateInitializerCode in interface CollectionInfo
jsc - the JSourceCode in which to add the source to
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com