From ff334c01370d6ebf5a44d548c47b579edd34a8da Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 15 Feb 2016 16:11:46 +0100 Subject: [PATCH] sorted members --- .../jcontacts/contact/UserContact.java | 35 +++++++++---------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/src/org/mxchange/jcontacts/contact/UserContact.java b/src/org/mxchange/jcontacts/contact/UserContact.java index c9fa3ec..2f4aee8 100644 --- a/src/org/mxchange/jcontacts/contact/UserContact.java +++ b/src/org/mxchange/jcontacts/contact/UserContact.java @@ -102,14 +102,6 @@ public class UserContact implements Contact, Comparable { @Column (name = "contact_comment") private String contactComment; - /** - * Id number - */ - @Id - @GeneratedValue (strategy = GenerationType.IDENTITY) - @Column (name = "contact_id", length = 20, nullable = false, updatable = false) - private Long contactId; - /** * Country code */ @@ -166,6 +158,14 @@ public class UserContact implements Contact, Comparable { @Column (name = "contact_house_number", length = 5, nullable = false) private Short contactHouseNumber; + /** + * Id number + */ + @Id + @GeneratedValue (strategy = GenerationType.IDENTITY) + @Column (name = "contact_id", length = 20, nullable = false, updatable = false) + private Long contactId; + /** * Flag whether this contact is user's own data */ @@ -334,16 +334,6 @@ public class UserContact implements Contact, Comparable { this.contactComment = contactComment; } - @Override - public Long getContactId () { - return this.contactId; - } - - @Override - public void setContactId (final Long contactId) { - this.contactId = contactId; - } - @Override public Country getContactCountry () { return this.contactCountry; @@ -425,6 +415,15 @@ public class UserContact implements Contact, Comparable { this.contactHouseNumber = contactHouseNumber; } + @Override + public Long getContactId () { + return this.contactId; + } + @Override + public void setContactId (final Long contactId) { + this.contactId = contactId; + } + @Override public void setContactOwnContact (final Boolean contactOwnContact) { this.contactOwnContact = contactOwnContact; -- 2.39.5