public Record store(DataObjectInfo dataObjectInfo) {
Record record = null;
Registry.ObjectType objectType = dataObjectInfo.getObjectType();
- if (objectType == null || !objectType.canBeIncluded()) {
+ if (objectType == null || !objectType.isIncludable()) {
AbstractNamedAFPObject dataObj = factory.createObject(dataObjectInfo);
if (dataObj == null) {
log.error("Failed to create object: " + dataObjectInfo);
// Can this data object use the include object (IOB) referencing
// mechanism?
- if (objectType.canBeIncluded()) {
+ if (objectType.isIncludable()) {
// Create and return include
DataObjectFactory factory = cache.getFactory();
ObjectType objectType = dataObjectInfo.getObjectType();
- if (objectType != null && objectType.canBeIncluded()) {
+ if (objectType != null && objectType.isIncludable()) {
// Wrap newly created data object in a resource object
// if it is to reside within a resource group at print-file or external level
*
* @return true if this component can be included with an IOB structured field
*/
- public boolean canBeIncluded() {
+ public boolean isIncludable() {
return this.includable;
}