Merge "Issue #176 fix PersistablePluginDataObject" into 4-Thin_Client
Former-commit-id: fd1087a87366dfd51789c50ee56c4b43e3404f11
This commit is contained in:
commit
e79aa3bfa1
1 changed files with 10 additions and 3 deletions
|
@ -23,14 +23,17 @@ import java.util.Calendar;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.TimeZone;
|
import java.util.TimeZone;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.Inheritance;
|
import javax.persistence.Inheritance;
|
||||||
import javax.persistence.InheritanceType;
|
import javax.persistence.InheritanceType;
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
import javax.xml.bind.annotation.XmlAccessType;
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
import javax.xml.bind.annotation.XmlAccessorType;
|
||||||
|
import javax.xml.bind.annotation.XmlAttribute;
|
||||||
|
|
||||||
import com.raytheon.uf.common.dataplugin.PluginDataObject;
|
import com.raytheon.uf.common.dataplugin.PluginDataObject;
|
||||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
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
|
* 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;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
@XmlAttribute
|
||||||
|
@DynamicSerializeElement
|
||||||
|
private Integer hdfFileId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
|
@ -76,17 +84,16 @@ public abstract class PersistablePluginDataObject extends PluginDataObject
|
||||||
*
|
*
|
||||||
* @see com.raytheon.edex.plugin.IPersistable#getHdfFileId()
|
* @see com.raytheon.edex.plugin.IPersistable#getHdfFileId()
|
||||||
*/
|
*/
|
||||||
@Override
|
|
||||||
public Integer getHdfFileId() {
|
public Integer getHdfFileId() {
|
||||||
return null;
|
return hdfFileId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param hdfFileId
|
* @param hdfFileId
|
||||||
* the hdfFileId to set
|
* the hdfFileId to set
|
||||||
*/
|
*/
|
||||||
@Override
|
|
||||||
public void setHdfFileId(Integer hdfFileId) {
|
public void setHdfFileId(Integer hdfFileId) {
|
||||||
|
this.hdfFileId = hdfFileId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue