Class OUType

    • Constructor Detail

      • OUType

        public OUType()
      • OUType

        public OUType​(String name,
                      String description,
                      Long id,
                      boolean roleHolder)
      • OUType

        public OUType​(String name)
      • OUType

        public OUType​(OUType otherBean)
    • Method Detail

      • 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
      • getId

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

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

        public boolean isRoleHolder()
        Gets value for attribute roleHolder
      • setRoleHolder

        public void setRoleHolder​(boolean roleHolder)
        Sets value for attribute roleHolder
      • toString

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

        public static OUType[] toOUTypeArray​(TipusUnitatOrganitzativa[] source)
        Creates a OUType array on a TipusUnitatOrganitzativa array.
      • toOUType

        public static void toOUType​(TipusUnitatOrganitzativa source,
                                    OUType target)
        Updates a OUType value object based on a TipusUnitatOrganitzativa object.