.. java:import:: com.fasterxml.jackson.annotation JsonIgnore .. java:import:: com.fasterxml.jackson.annotation JsonProperty .. java:import:: dk.magenta.datafordeler.core.database IdentifiedEntity .. java:import:: dk.magenta.datafordeler.core.database Monotemporal .. java:import:: dk.magenta.datafordeler.core.util Monotemporality .. java:import:: dk.magenta.datafordeler.geo.data GeoEntity .. java:import:: dk.magenta.datafordeler.geo.data WireCache .. java:import:: org.hibernate Session .. java:import:: org.hibernate.annotations FilterDef .. java:import:: org.hibernate.annotations FilterDefs .. java:import:: org.hibernate.annotations ParamDef .. java:import:: javax.persistence Column .. java:import:: javax.persistence MappedSuperclass .. java:import:: javax.xml.bind.annotation XmlElement .. java:import:: java.time Instant .. java:import:: java.time OffsetDateTime .. java:import:: java.time ZoneOffset .. java:import:: java.util ArrayList .. java:import:: java.util Collection .. java:import:: java.util Comparator .. java:import:: java.util Objects GeoMonotemporalRecord ===================== .. java:package:: dk.magenta.datafordeler.geo.data.common :noindex: .. java:type:: @MappedSuperclass @FilterDefs public class GeoMonotemporalRecord extends GeoNontemporalRecord implements Monotemporal Fields ------ DB_FIELD_EDITOR ^^^^^^^^^^^^^^^ .. java:field:: public static final String DB_FIELD_EDITOR :outertype: GeoMonotemporalRecord DB_FIELD_ENTITY ^^^^^^^^^^^^^^^ .. java:field:: public static final String DB_FIELD_ENTITY :outertype: GeoMonotemporalRecord DB_FIELD_REGISTRATION_FROM ^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public static final String DB_FIELD_REGISTRATION_FROM :outertype: GeoMonotemporalRecord DB_FIELD_REGISTRATION_TO ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public static final String DB_FIELD_REGISTRATION_TO :outertype: GeoMonotemporalRecord IO_FIELD_EDITOR ^^^^^^^^^^^^^^^ .. java:field:: public static final String IO_FIELD_EDITOR :outertype: GeoMonotemporalRecord IO_FIELD_REGISTRATION_FROM ^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public static final String IO_FIELD_REGISTRATION_FROM :outertype: GeoMonotemporalRecord IO_FIELD_REGISTRATION_TO ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:field:: public static final String IO_FIELD_REGISTRATION_TO :outertype: GeoMonotemporalRecord Methods ------- compareTo ^^^^^^^^^ .. java:method:: public int compareTo(GeoMonotemporalRecord o) :outertype: GeoMonotemporalRecord For sorting purposes; we implement the Comparable interface, so we should provide a comparison method. Here, we sort CvrRecord objects by registrationFrom, with nulls first copy ^^^^ .. java:method:: protected static void copy(GeoMonotemporalRecord from, GeoMonotemporalRecord to) :outertype: GeoMonotemporalRecord equals ^^^^^^ .. java:method:: @Override public boolean equals(Object o) :outertype: GeoMonotemporalRecord getEditor ^^^^^^^^^ .. java:method:: public String getEditor() :outertype: GeoMonotemporalRecord getMonotemporality ^^^^^^^^^^^^^^^^^^ .. java:method:: @JsonIgnore public Monotemporality getMonotemporality() :outertype: GeoMonotemporalRecord getRegistrationFrom ^^^^^^^^^^^^^^^^^^^ .. java:method:: public OffsetDateTime getRegistrationFrom() :outertype: GeoMonotemporalRecord getRegistrationTo ^^^^^^^^^^^^^^^^^ .. java:method:: public OffsetDateTime getRegistrationTo() :outertype: GeoMonotemporalRecord hashCode ^^^^^^^^ .. java:method:: @Override public int hashCode() :outertype: GeoMonotemporalRecord newestRecord ^^^^^^^^^^^^ .. java:method:: public static T newestRecord(Collection set) :outertype: GeoMonotemporalRecord setDafoUpdated ^^^^^^^^^^^^^^ .. java:method:: public void setDafoUpdated(OffsetDateTime updateTime) :outertype: GeoMonotemporalRecord setEditor ^^^^^^^^^ .. java:method:: public GeoMonotemporalRecord setEditor(String editor) :outertype: GeoMonotemporalRecord setRegistrationFrom ^^^^^^^^^^^^^^^^^^^ .. java:method:: public void setRegistrationFrom(OffsetDateTime registrationFrom) :outertype: GeoMonotemporalRecord setRegistrationFrom ^^^^^^^^^^^^^^^^^^^ .. java:method:: public void setRegistrationFrom(long registrationFrom) :outertype: GeoMonotemporalRecord setRegistrationTo ^^^^^^^^^^^^^^^^^ .. java:method:: public void setRegistrationTo(OffsetDateTime registrationTo) :outertype: GeoMonotemporalRecord setRegistrationTo ^^^^^^^^^^^^^^^^^ .. java:method:: public void setRegistrationTo(long registrationTo) :outertype: GeoMonotemporalRecord updateRegistrationTo ^^^^^^^^^^^^^^^^^^^^ .. java:method:: public static void updateRegistrationTo(Collection set) :outertype: GeoMonotemporalRecord wire ^^^^ .. java:method:: public void wire(Session session, WireCache wireCache) :outertype: GeoMonotemporalRecord