/** * @see stream.Data#copy() */ @Override public Data createCopy() { // if (!deepClone) { return new DataImpl(this); // } // // return DataFactory.copy(this); } }
/** * <p> * This method will create a new Data item. * </p> * * @return */ public Data createDataItem() { // // The DataImpl constructor is only marked as deprecated to make // developers move to this factory class. // return new DataImpl(); }
/** * <p> * This method will create a new Data item. * </p> * * @return */ public Data createDataItem() { // // The DataImpl constructor is only marked as deprecated to make // developers move to this factory class. // return new DataImpl(); }
/*** * <p> * This method will create a new Data item and will add the contents of the * specified item to the newly created item. * </p> * * @param data * @return */ @SuppressWarnings("deprecation") public Data createDataItem(Map<String, Serializable> item) { // // The DataImpl constructor is only marked as deprecated to make // developers move to this factory class. // return new DataImpl(item); }
/*** * <p> * This method will create a new Data item and will add the contents of the * specified item to the newly created item. * </p> * * @param data * @return */ @SuppressWarnings("deprecation") public Data createDataItem(Map<String, Serializable> item) { // // The DataImpl constructor is only marked as deprecated to make // developers move to this factory class. // return new DataImpl(item); }
/** * @see stream.Data#copy() */ @Override public Data createCopy() { if (!deepClone) { return new DataImpl(this); } return DataFactory.copy(this); } }