public class IlpTableRowFactory extends Object implements IlpRepresentationObjectFactory
The rows are created with an IlpExtendedAttributeGroup object
as their attribute group.
IlpExtendedAttributeGroup,
IlpTableRow| Constructor and Description |
|---|
IlpTableRowFactory(IlpClass clazz)
Deprecated.
Please use the constructor
IlpTableRowFactory(IlpTableRowAdapter) instead. |
IlpTableRowFactory(IlpExtendedAttributeGroup attrGroup)
Deprecated.
Please use the constructor
IlpTableRowFactory(IlpTableListAdapter) instead. |
IlpTableRowFactory(IlpTableListAdapter adpt)
Creates a representation object factory.
|
| Modifier and Type | Method and Description |
|---|---|
IlpRepresentationObject |
createRepresentation(IlpObject ilpObject,
IlpExpansionStrategy expansionStrategy)
Returns a representation object corresponding to a business object.
|
IlpExtendedAttributeGroup |
getExtendedAttributeGroup()
Gets the extended attribute model that is used when creating the
representation objects.
|
void |
setExtendedAttributeGroup(IlpExtendedAttributeGroup attrGroup)
Sets the extended attribute group for representation objects that
are being used by this factory.
|
public IlpTableRowFactory(IlpTableListAdapter adpt)
This factory creates table row (IlpTableRow) objects
containing an IlpExtendedAttributeGroup that wraps the
accepted class from the adapter.
adpt - The adapter that enables the factory to access the
accepted class used to create the
IlpExtendedAttributeGroup object.IlpRepresentationObjectFactory,
IlpListAdapter.getAcceptedClass(),
IlpExtendedAttributeGroup,
IlpTableListAdapter,
IlpTableRow@Deprecated public IlpTableRowFactory(IlpClass clazz)
IlpTableRowFactory(IlpTableRowAdapter) instead.IlpExtendedAttributeGroup object that wraps the
IlpClass class.clazz - The class used to create an
IlpExtendedAttributeGroup object.@Deprecated public IlpTableRowFactory(IlpExtendedAttributeGroup attrGroup)
IlpTableRowFactory(IlpTableListAdapter) instead.IlpExtendedAttributeGroup object.attrGroup - The IlpExtendedAttributeGroup object to be
used when creating the representation objects
(IlpTableRow instances).public void setExtendedAttributeGroup(IlpExtendedAttributeGroup attrGroup)
Note: This method calls the method
setAttributeGroup in the adapter only if none of the
deprecated constructors have been used.
attrGroup - The new attribute group of the representation objects.public IlpExtendedAttributeGroup getExtendedAttributeGroup()
public IlpRepresentationObject createRepresentation(IlpObject ilpObject, IlpExpansionStrategy expansionStrategy)
IlpTableRow.createRepresentation in interface IlpRepresentationObjectFactoryilpObject - The business object.expansionStrategy - The expansion strategy.IlpTableRow© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.