Class UserRepresentationModel


  • public class UserRepresentationModel
    extends org.springframework.hateoas.RepresentationModel<UserRepresentationModel>
    The entityModel class for User.
    • Field Detail

      • userId

        @NotNull
        protected @NotNull String userId
        Unique Id.
      • firstName

        protected String firstName
        The first name of the User.
      • lastName

        protected String lastName
        The last name of the User.
      • fullName

        protected String fullName
        The full name of the User.
      • longName

        protected String longName
        The long name of the User.
      • email

        protected String email
        The email of the User.
      • phone

        protected String phone
        The phone number of the User.
      • mobilePhone

        protected String mobilePhone
        The mobile phone number of the User.
      • orgLevel4

        protected String orgLevel4
        The fourth organisation level of the User.
      • orgLevel3

        protected String orgLevel3
        The third organisation level of the User.
      • orgLevel2

        protected String orgLevel2
        The second organisation level of the User.
      • orgLevel1

        protected String orgLevel1
        The first organisation level of the User.
      • data

        protected String data
        The data of the User. This field is used for additional information about the User.
    • Constructor Detail

      • UserRepresentationModel

        public UserRepresentationModel()
    • Method Detail

      • getUserId

        public String getUserId()
      • setUserId

        public void setUserId​(String id)
      • getFirstName

        public String getFirstName()
      • setFirstName

        public void setFirstName​(String firstName)
      • getLastName

        public String getLastName()
      • setLastName

        public void setLastName​(String lastName)
      • getFullName

        public String getFullName()
      • setFullName

        public void setFullName​(String fullName)
      • getLongName

        public String getLongName()
      • setLongName

        public void setLongName​(String longName)
      • getEmail

        public String getEmail()
      • setEmail

        public void setEmail​(String email)
      • getPhone

        public String getPhone()
      • setPhone

        public void setPhone​(String phone)
      • getMobilePhone

        public String getMobilePhone()
      • setMobilePhone

        public void setMobilePhone​(String mobilePhone)
      • getOrgLevel4

        public String getOrgLevel4()
      • setOrgLevel4

        public void setOrgLevel4​(String orgLevel4)
      • getOrgLevel3

        public String getOrgLevel3()
      • setOrgLevel3

        public void setOrgLevel3​(String orgLevel3)
      • getOrgLevel2

        public String getOrgLevel2()
      • setOrgLevel2

        public void setOrgLevel2​(String orgLevel2)
      • getOrgLevel1

        public String getOrgLevel1()
      • setOrgLevel1

        public void setOrgLevel1​(String orgLevel1)
      • getData

        public String getData()
      • setData

        public void setData​(String data)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.springframework.hateoas.RepresentationModel<UserRepresentationModel>
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class org.springframework.hateoas.RepresentationModel<UserRepresentationModel>