public interface IlrBusinessObjectModelServices
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COLLECTIONS_FACTORY_CONTENT_INPUT_PARAMETER
The name of the extra factory input parameter added for collection
initialization.
|
| Modifier and Type | Method and Description |
|---|---|
IlrBOMTypeDescriptor |
getFieldDeclaringClass(java.lang.String theBOMTypeFullyQualifiedName,
java.lang.String theFieldName)
Returns the BOM type descriptor for the class in which a field in the
class is declared.
|
java.util.Map<java.lang.String,IlrObjectFactoryParameter> |
getObjectFactorySignature(IlrBOMTypeDescriptor theBOMType)
Returns the factory signature for a BOM type.
|
IlrBOMTypeDescriptor |
getTypeOfArrayElements(java.lang.String theBOMTypeFullyQualifiedName)
Returns the BOM type of the elements in an array.
|
boolean |
isArrayType(java.lang.String theBOMTypeFullyQualifiedName)
Tests if a BOM type is an array.
|
boolean |
isCollection(java.lang.String theBOMTypeFullyQualifiedName)
Tests if a BOM type is a collection.
|
boolean |
isCollectionWithSingleFactoryParameterForContent(IlrBOMTypeDescriptor theBOMDescriptor)
Tests if a BOM type is a collection holding a single array that contains
the elements used to initialize this collection.
|
static final java.lang.String COLLECTIONS_FACTORY_CONTENT_INPUT_PARAMETER
java.util.Map<java.lang.String,IlrObjectFactoryParameter> getObjectFactorySignature(IlrBOMTypeDescriptor theBOMType) throws IlrUnsupportedBOMTypeException
IlrUnsupportedBOMTypeException - if this factory cannot create
an instance of theBOMType.theBOMType - The BOM type.boolean isArrayType(java.lang.String theBOMTypeFullyQualifiedName)
throws IlrUnsupportedBOMTypeException
IlrUnsupportedBOMTypeException - if
theBOMTypeFullyQualifiedName is not defined in the BOM.theBOMTypeFullyQualifiedName - The fully qualified name of the BOM
type.true if theBOMTypeFullyQualifiedName is an array.IlrBOMTypeDescriptor getFieldDeclaringClass(java.lang.String theBOMTypeFullyQualifiedName, java.lang.String theFieldName) throws IlrUnsupportedBOMTypeException
IlrUnsupportedBOMTypeException - if the class
theBOMTypeFullyQualifiedName is not defined in the BOM.theBOMTypeFullyQualifiedName - The fully qualified name of the
class that contains the field.theFieldName - The name of the field.theBOMTypeFullyQualifiedName,
null is returned.IlrBOMTypeDescriptor getTypeOfArrayElements(java.lang.String theBOMTypeFullyQualifiedName) throws IlrUnsupportedBOMTypeException
IlrUnsupportedBOMTypeException - if
theBOMTypeFullyQualifiedName is not defined in the BOM.theBOMTypeFullyQualifiedName - The fully qualified name of a BOM
type. This object must be an array, that is, calls to
theBOMTypeFullyQualifiedName.isArrayType(String)
must return true.theBOMTypeFullyQualifiedName is not an array,
null is returned.boolean isCollection(java.lang.String theBOMTypeFullyQualifiedName)
throws IlrUnsupportedBOMTypeException
IlrUnsupportedBOMTypeException - if
theBOMTypeFullyQualifiedName is not defined in the BOM.theBOMTypeFullyQualifiedName - The fully qualified name of the BOM
type to test.true if the BOM type is a collection.boolean isCollectionWithSingleFactoryParameterForContent(IlrBOMTypeDescriptor theBOMDescriptor) throws IlrUnsupportedBOMTypeException
IlrUnsupportedBOMTypeExceptiontheBOMDescriptor - The BOM type to test.true if theBOMDescriptor holds a single factory
parameter containing the elements used to initialize this collection.© Copyright IBM Corp. 1987, 2017