NatureExtendable
, PropertyHolder
, XMLInfo
CollectionInfoJ2Collection
, CollectionInfoJ2Set
, CollectionInfoJ2SortedSet
public class CollectionInfoJ2 extends CollectionInfo
DEFAULT_REFERENCE_SUFFIX, REFERENCE_SUFFIX_PROPERTY
METHOD_PREFIX_ADD, METHOD_PREFIX_DELETE, METHOD_PREFIX_GET, METHOD_PREFIX_HAS, METHOD_PREFIX_IS, METHOD_PREFIX_SET, READ_METHOD, READ_WRITE_METHODS, WRITE_METHOD
CHOICE_NODE_NAME_ERROR_INDICATION
Constructor | Description |
---|---|
CollectionInfoJ2(XSType contentType,
java.lang.String name,
java.lang.String elementName,
java.lang.String collectionType,
boolean useJava50,
FieldMemberAndAccessorFactory memberAndAccessorFactory,
FieldMemberAndAccessorFactory contentMemberAndAccessorFactory) |
getContent, getContentName, getContentType, getElementName, getMethodSuffix, getParameterPrefix, getReferenceMethodSuffix, getReferenceSuffix, getXSList, isExtraMethods, setCreateExtraMethods, setReferenceMethodSuffix
addNature, getComment, getDeclaringClassInfo, getDefaultValue, getDeleteMethodName, getFieldInfoReference, getFixedValue, getHasMethodName, getIsMethodName, getMemberAndAccessorFactory, getMethods, getName, getProperty, getReadMethodName, getSubstitutionGroupMembers, getValidator, getVisibility, getWriteMethodName, getXMLFieldHandler, hasNature, isBound, isContainer, isFinal, isNillable, isStatic, isTransient, requiresHasAndDeleteMethods, setBound, setComment, setContainer, setDeclaringClassInfo, setDefaultValue, setFieldInfoReference, setFinal, setFixedValue, setMethods, setNillable, setProperty, setStatic, setSubstitutionGroupMembers, setTransient, setValidator, setVisibility, setXMLFieldHandler
public CollectionInfoJ2(XSType contentType, java.lang.String name, java.lang.String elementName, java.lang.String collectionType, boolean useJava50, FieldMemberAndAccessorFactory memberAndAccessorFactory, FieldMemberAndAccessorFactory contentMemberAndAccessorFactory)
contentType
- The content type of the collection, ie. the type of
objects that the collection will contain.name
- The name of the Collection.elementName
- The element name for each element in collection.collectionType
- Java type (e.g., 'arraylist') to use to store the
collection. The name is NOT fully specified and is all lowercase.
Currently, any value but "arraylist" does not work. See
org.exolab.castor.builder.FieldInfoFactory#ARRAY_LIST
useJava50
- true if code is supposed to be generated for Java 5memberAndAccessorFactory
- the FieldMemberAndAccessorFactory to be usedIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com