Class ReferenceItem


  • public class ReferenceItem
    extends Object
    This class is the representation of a ReferenceItem composed of a code and a name. It also provides the methods to access to those attributes.
    • Constructor Detail

      • ReferenceItem

        public ReferenceItem()
    • Method Detail

      • getCode

        public String getCode()
        Returns the code of this ReferenceItem object as a String
        Returns:
        The code
      • setCode

        public void setCode​(String strCode)
        Sets the code of this ReferenceItem with the String specified in parameter
        Parameters:
        strCode - The new String value of the code
      • getName

        public String getName()
        Returns the name of this ReferenceItem object as a String
        Returns:
        the name
      • setName

        public void setName​(String strName)
        Sets the name of this ReferenceItem object with the value specified in parameter
        Parameters:
        strName - new String value of the name
      • isChecked

        public boolean isChecked()
        Returns weither the item is checked or not
        Returns:
        true if checked, otherwise false
        Since:
        2.0
      • setChecked

        public void setChecked​(boolean bChecked)
        Sets checked
        Parameters:
        bChecked - The check status
        Since:
        2.0