]> git.mxchange.org Git - jcontacts-core.git/commitdiff
these are not optional as they are not nullable
authorRoland Haeder <roland@mxchange.org>
Sun, 6 Mar 2016 17:37:19 +0000 (18:37 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 6 Mar 2016 17:37:19 +0000 (18:37 +0100)
src/org/mxchange/jcontacts/contact/UserContact.java

index 5d24b7bf414156eeb86e9c79dab5d02a5be9c87e..2a1c568a677fcc310f0f6ee26215b75da13dc346 100644 (file)
@@ -92,6 +92,7 @@ public class UserContact implements Contact, Comparable<Contact> {
        /**
         * City
         */
+       @Basic(optional = false)
        @Column (name = "contact_city", nullable = false, length = 100)
        private String contactCity;
 
@@ -120,6 +121,7 @@ public class UserContact implements Contact, Comparable<Contact> {
        /**
         * Email address
         */
+       @Basic(optional = false)
        @Column (name = "contact_email_address", length = 100, nullable = false)
        private String contactEmailAddress;
 
@@ -155,6 +157,7 @@ public class UserContact implements Contact, Comparable<Contact> {
        /**
         * House number
         */
+       @Basic(optional = false)
        @Column (name = "contact_house_number", length = 5, nullable = false)
        private Short contactHouseNumber;
 
@@ -169,6 +172,7 @@ public class UserContact implements Contact, Comparable<Contact> {
        /**
         * Flag whether this contact is user's own data
         */
+       @Basic(optional = false)
        @Column (name = "contact_own_contact", nullable = false)
        private Boolean contactOwnContact;
 
@@ -182,6 +186,7 @@ public class UserContact implements Contact, Comparable<Contact> {
        /**
         * Street
         */
+       @Basic(optional = false)
        @Column (name = "contact_street", nullable = false)
        private String contactStreet;
 
@@ -201,6 +206,7 @@ public class UserContact implements Contact, Comparable<Contact> {
        /**
         * ZIP code
         */
+       @Basic(optional = false)
        @Column (name = "contact_zip_code", nullable = false, length = 6)
        private Integer contactZipCode;