This repository was archived by the owner on Jul 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
src/main/java/org/energyos/espi/common Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 2424
2525package org .energyos .espi .common .domain ;
2626
27+ import java .io .Serializable ;
2728import java .util .ArrayList ;
2829import java .util .GregorianCalendar ;
2930import java .util .List ;
8283 ReadingType .class
8384})
8485@ MappedSuperclass
85- public class IdentifiedObject extends Resource implements Linkable {
86+ public class IdentifiedObject extends Resource implements Linkable , Serializable {
8687
88+ @ XmlTransient
89+ private static final long serialVersionUID = -5263186855332223773L ;
90+
8791 public interface ResourceEnumClass {
8892 ResourceEnum getEnumType ();
8993 }
Original file line number Diff line number Diff line change 2424
2525package org .energyos .espi .common .models .atom ;
2626
27+ import java .io .Serializable ;
28+
2729import javax .persistence .Embeddable ;
2830import javax .xml .bind .annotation .XmlAccessType ;
2931import javax .xml .bind .annotation .XmlAccessorType ;
3032import javax .xml .bind .annotation .XmlAttribute ;
3133import javax .xml .bind .annotation .XmlSchemaType ;
34+ import javax .xml .bind .annotation .XmlTransient ;
3235
3336
3437/**
5861 */
5962@ XmlAccessorType (XmlAccessType .FIELD )
6063@ Embeddable
61- public class LinkType {
64+ public class LinkType implements Serializable {
6265
63- public static final String SELF = "self" ;
66+ @ XmlTransient
67+ private static final long serialVersionUID = 528461832553643471L ;
68+
69+ public static final String SELF = "self" ;
6470 public static final String UP = "up" ;
6571 public static final String RELATED = "related" ;
6672 public static final String HREF = "href" ;
You can’t perform that action at this time.
0 commit comments