refactored clone to cloneObj
This commit is contained in:
parent
6aaa8e4b4d
commit
fb3790b2ef
4
.project
4
.project
|
@ -16,12 +16,12 @@
|
|||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
disabled=06target
|
||||
eclipse.preferences.version=1
|
|
@ -1,5 +1,6 @@
|
|||
package org.gcube.application.geoportaldatamapper.shared;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -16,7 +17,7 @@ import org.gcube.portlets.widgets.mpformbuilder.shared.metadata.MetadataFieldWra
|
|||
*
|
||||
* Nov 23, 2022
|
||||
*/
|
||||
public class MetaDataProfileBeanExt extends MetaDataProfileBean implements Cloneable {
|
||||
public class MetaDataProfileBeanExt extends MetaDataProfileBean implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -28,7 +29,7 @@ public class MetaDataProfileBeanExt extends MetaDataProfileBean implements Clone
|
|||
* Instantiates a new meta data profile bean ext.
|
||||
*/
|
||||
public MetaDataProfileBeanExt() {
|
||||
super();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -64,8 +65,12 @@ public class MetaDataProfileBeanExt extends MetaDataProfileBean implements Clone
|
|||
this.listFileset = listFileset;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected MetaDataProfileBeanExt clone() throws CloneNotSupportedException {
|
||||
/**
|
||||
* Clone obj.
|
||||
*
|
||||
* @return the meta data profile bean ext
|
||||
*/
|
||||
public MetaDataProfileBeanExt cloneObj() {
|
||||
|
||||
MetaDataProfileBeanExt clonedMDPBE = new MetaDataProfileBeanExt();
|
||||
clonedMDPBE.setTitle(this.getTitle());
|
||||
|
|
Loading…
Reference in New Issue