fr.paris.lutece.plugins.unittree.business.unit
Class UnitFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.unittree.business.unit.UnitFilter

public class UnitFilter
extends Object

UnitFilter


Constructor Summary
UnitFilter()
          Constructor
 
Method Summary
 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
 String getDescription()
          Get the description
 int getIdParent()
          Get the id parent
 String getLabel()
          Get the label
 boolean isWideSearch()
          Return true if the search is wide, false otherwise
 void setDescription(String strDescription)
          Set the description
 void setIdParent(int nIdParent)
          Set the id parent
 void setLabel(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitFilter

public UnitFilter()
Constructor

Method Detail

getLabel

public String getLabel()
Get the label

Returns:
the label

setLabel

public void setLabel(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 String getDescription()
Get the description

Returns:
the description

setDescription

public void setDescription(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


Copyright © 2013 Mairie de Paris. All Rights Reserved.