Issue #176 fix PersistablePluginDataObject
Change-Id: I29f37b0fceb180eb0950ff1e00c44eb94b05f82e Former-commit-id:873ee3ed41
[formerly3ed59f81ec
] [formerly20247d0d89
] [formerly6d901d27ae
[formerly20247d0d89
[formerly 34eb69e6ead3aa811c018e364517998d356e4feb]]] Former-commit-id:6d901d27ae
Former-commit-id: d4431a08dccab4217d79b8e75d636a66ad256b70 [formerly22809228d6
] Former-commit-id:2437d60929
This commit is contained in:
parent
e7ce35acd0
commit
ae653bead2
1 changed files with 10 additions and 3 deletions
|
@ -23,14 +23,17 @@ import java.util.Calendar;
|
|||
import java.util.Date;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Inheritance;
|
||||
import javax.persistence.InheritanceType;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlAttribute;
|
||||
|
||||
import com.raytheon.uf.common.dataplugin.PluginDataObject;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
||||
|
||||
/**
|
||||
* Provides an abstract implementation of plugindataobject with clustered file
|
||||
|
@ -57,6 +60,11 @@ public abstract class PersistablePluginDataObject extends PluginDataObject
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Column
|
||||
@XmlAttribute
|
||||
@DynamicSerializeElement
|
||||
private Integer hdfFileId;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
|
@ -76,17 +84,16 @@ public abstract class PersistablePluginDataObject extends PluginDataObject
|
|||
*
|
||||
* @see com.raytheon.edex.plugin.IPersistable#getHdfFileId()
|
||||
*/
|
||||
@Override
|
||||
public Integer getHdfFileId() {
|
||||
return null;
|
||||
return hdfFileId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param hdfFileId
|
||||
* the hdfFileId to set
|
||||
*/
|
||||
@Override
|
||||
public void setHdfFileId(Integer hdfFileId) {
|
||||
this.hdfFileId = hdfFileId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue