Fixed jackson annotations for a proper marshalling/unmarshalling
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib@153170 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
07dfa4248f
commit
2b10846ee9
|
@ -69,6 +69,7 @@ public interface Record extends Comparable<Record>, Serializable {
|
|||
* Return the {@link Record} Type
|
||||
* @return {@link Record} Type
|
||||
*/
|
||||
@JsonIgnore
|
||||
public String getRecordType();
|
||||
|
||||
|
||||
|
@ -76,6 +77,7 @@ public interface Record extends Comparable<Record>, Serializable {
|
|||
* Return the unique id for this {@link Record}
|
||||
* @return {@link Record} Unique ID
|
||||
*/
|
||||
@JsonIgnore
|
||||
public String getId();
|
||||
|
||||
/**
|
||||
|
|
|
@ -339,6 +339,7 @@ public abstract class AbstractRecord implements Record {
|
|||
return timestampToCalendar(millis);
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
protected int getOperationCount() {
|
||||
return (Integer) this.resourceProperties.get(AggregatedRecord.OPERATION_COUNT);
|
||||
}
|
||||
|
@ -385,6 +386,7 @@ public abstract class AbstractRecord implements Record {
|
|||
* Return the boolean aggregate by this Record
|
||||
* @return Boolean Aggregate
|
||||
*/
|
||||
@JsonIgnore
|
||||
protected Boolean isAggregated() {
|
||||
Boolean bool = (Boolean) this.resourceProperties.get(AggregatedRecord.AGGREGATED);
|
||||
if(bool==null){
|
||||
|
|
Loading…
Reference in New Issue