Class UnitFilter


  • public class UnitFilter
    extends java.lang.Object
    UnitFilter
    • Constructor Summary

      Constructors 
      Constructor Description
      UnitFilter()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsDescription()
      Check if the filter contains the description
      boolean containsIdParent()
      Check if the filter contains the id parent
      boolean containsLabel()
      Check if the filter contains the label
      java.lang.String getDescription()
      Get the description
      int getIdParent()
      Get the id parent
      java.lang.String getLabel()
      Get the label
      boolean isWideSearch()
      Return true if the search is wide, false otherwise
      void setDescription​(java.lang.String strDescription)
      Set the description
      void setIdParent​(int nIdParent)
      Set the id parent
      void setLabel​(java.lang.String strLabel)
      Set the label
      void setWideSearch​(boolean isWideSearch)
      Set true if the search is wide, false otherwise
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnitFilter

        public UnitFilter()
        Constructor
    • Method Detail

      • getLabel

        public java.lang.String getLabel()
        Get the label
        Returns:
        the label
      • setLabel

        public void setLabel​(java.lang.String strLabel)
        Set the label
        Parameters:
        strLabel - the label
      • containsLabel

        public boolean containsLabel()
        Check if the filter contains the label
        Returns:
        true if it contains, false otherwise
      • getDescription

        public java.lang.String getDescription()
        Get the description
        Returns:
        the description
      • setDescription

        public void setDescription​(java.lang.String strDescription)
        Set the description
        Parameters:
        strDescription - the description
      • containsDescription

        public boolean containsDescription()
        Check if the filter contains the description
        Returns:
        true if it contains, false otherwise
      • getIdParent

        public int getIdParent()
        Get the id parent
        Returns:
        the id parent
      • setIdParent

        public void setIdParent​(int nIdParent)
        Set the id parent
        Parameters:
        nIdParent - the reference code
      • containsIdParent

        public boolean containsIdParent()
        Check if the filter contains the id parent
        Returns:
        true if the it contains, false otherwise
      • setWideSearch

        public void setWideSearch​(boolean isWideSearch)
        Set true if the search is wide, false otherwise
        Parameters:
        isWideSearch - true if the search is wide, false otherwise
      • isWideSearch

        public boolean isWideSearch()
        Return true if the search is wide, false otherwise
        Returns:
        true if the search is wide, false otherwise