Interface NameableData

    • Method Detail

      • getName

        String getName()
        Get the name of the item.
        Returns:
        A String with the name of the item
        Hibernate: property
        type="string"
        Hibernate: column
        name="`name`" length="255" not-null="true" index="name_idx"
      • setName

        void setName​(String name)
        Set the name of the item. The name cannot be null and mustn't be longer than the value specified by the MAX_NAME_LENGTH constant.
        Parameters:
        name - The new name for the item
      • getDescription

        String getDescription()
        Get the description for the item.
        Returns:
        A String with a description of the item
        Hibernate: property
        column="`description`" type="text" not-null="false"
      • setDescription

        void setDescription​(String description)
        Set the description for the item. The description can be null but mustn't be longer than the value specified by the MAX_DESCRIPTION_LENGTH constant.
        Parameters:
        description - The new description for the item