org.exolab.castor.builder
public class FieldInfoFactory extends Object
Version: $Revision: 1.4 $ $Date: 2005/03/05 13:41:42 $
Constructor Summary | |
---|---|
FieldInfoFactory()
Creates a new FieldInfoFactory. | |
FieldInfoFactory(String collectionName) |
Method Summary | |
---|---|
CollectionInfo | createCollection(XSType contentType, String name, String elementName) |
CollectionInfo | createCollection(XSType contentType, String name, String elementName, String collectionName) |
FieldInfo | createFieldInfo(XSType type, String name) |
IdentityInfo | createIdentity(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(String suffix)
Sets the method suffix (ending) to use when creating
the extra collection methods.
|
Parameters: bound a boolean that when true indicates the FieldInfo should have the bound property enabled.
Parameters: extraMethods a boolean that when true indicates that extra collection accessor methods should be created. False by default.
See Also: FieldInfoFactory
Parameters: 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.
See Also: FieldInfoFactory