Class AbstractUserType

    • Constructor Detail

      • AbstractUserType

        public AbstractUserType()
      • AbstractUserType

        public AbstractUserType​(Long id,
                                String name,
                                String description,
                                boolean unmanaged,
                                boolean managed)
      • AbstractUserType

        public AbstractUserType​(boolean unmanaged,
                                boolean managed)
    • Method Detail

      • getId

        public Long getId()
        Gets value for attribute id
      • setId

        public void setId​(Long id)
        Sets value for attribute id
      • getName

        public String getName()
        Gets value for attribute name
      • setName

        public void setName​(String name)
        Sets value for attribute name
      • getCode

        public String getCode()
        Gets value for attribute name
      • setCode

        public void setCode​(String name)
        Sets value for attribute name
      • getDescription

        public String getDescription()
        Gets value for attribute description
      • setDescription

        public void setDescription​(String description)
        Sets value for attribute description
      • isUnmanaged

        public boolean isUnmanaged()
        Gets value for attribute unmanaged
      • setUnmanaged

        public void setUnmanaged​(boolean unmanaged)
        Sets value for attribute unmanaged
      • isManaged

        public boolean isManaged()
        Gets value for attribute managed
      • setManaged

        public void setManaged​(boolean managed)
        Sets value for attribute managed
      • toString

        public String toString()
        Returns a string representation of the value object.
        Overrides:
        toString in class Object
      • toUserType

        public static UserType toUserType​(TipusUsuari vo)
        Creates a UserType value object based on a TipusUsuari object.
      • toUserTypeArray

        public static UserType[] toUserTypeArray​(TipusUsuari[] source)
        Creates a UserType array on a TipusUsuari array.
      • toUserType

        public static void toUserType​(TipusUsuari source,
                                      AbstractUserType target)
        Updates a UserType value object based on a TipusUsuari object.