public class FieldInfoFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ARRAY_LIST |
static java.lang.String |
ODMG |
static java.lang.String |
VECTOR |
| Constructor and Description |
|---|
FieldInfoFactory()
Creates a new FieldInfoFactory.
|
FieldInfoFactory(java.lang.String collectionName) |
| Modifier and Type | Method and Description |
|---|---|
CollectionInfo |
createCollection(XSType contentType,
java.lang.String name,
java.lang.String elementName,
boolean usejava50) |
CollectionInfo |
createCollection(XSType contentType,
java.lang.String name,
java.lang.String elementName,
java.lang.String collectionName,
boolean useJava50) |
FieldInfo |
createFieldInfo(XSType type,
java.lang.String name) |
IdentityInfo |
createIdentity(java.lang.String name) |
void |
setBoundProperties(boolean bound)
Sets whether or not the fields should be bound properties.
|
void |
setCreateExtraMethods(boolean extraMethods)
Sets whether or not to create extra collection methods for accessing the
actual collection.
|
void |
setReferenceMethodSuffix(java.lang.String suffix)
Sets the method suffix (ending) to use when creating the extra collection
methods.
|
public static final java.lang.String VECTOR
public static final java.lang.String ARRAY_LIST
public static final java.lang.String ODMG
public FieldInfoFactory()
public FieldInfoFactory(java.lang.String collectionName)
public IdentityInfo createIdentity(java.lang.String name)
public CollectionInfo createCollection(XSType contentType, java.lang.String name, java.lang.String elementName, boolean usejava50)
public CollectionInfo createCollection(XSType contentType, java.lang.String name, java.lang.String elementName, java.lang.String collectionName, boolean useJava50)
public void setBoundProperties(boolean bound)
bound - a boolean that when true indicates the FieldInfo should have
the bound property enabled.public void setCreateExtraMethods(boolean extraMethods)
extraMethods - a boolean that when true indicates that extra collection
accessor methods should be created. False by default.setReferenceMethodSuffix(java.lang.String)public void setReferenceMethodSuffix(java.lang.String suffix)
suffix - the method suffix to use when creating the extra collection
methods. If null or emtpty the default value, as specified in
CollectionInfo will be used.setCreateExtraMethods(boolean)Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com