org.odlabs.wiquery.ui.autocomplete
Class AutocompleteJson

java.lang.Object
  extended by org.odlabs.wiquery.ui.autocomplete.AutocompleteJson
All Implemented Interfaces:
Serializable

public class AutocompleteJson
extends Object
implements Serializable

$Id$

Value for the AutocompleteComponent

Since:
1.1
Author:
Julien Roche
See Also:
Serialized Form

Constructor Summary
AutocompleteJson(String valueId, String label)
          Default constructor
 
Method Summary
 String getLabel()
           
 String getValueId()
           
 void setLabel(String label)
          Set the label to display
 void setValueId(String valueId)
          Set the identifiant of the model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutocompleteJson

public AutocompleteJson(String valueId,
                        String label)
Default constructor

Parameters:
valueId - Identifiant of the model
label - Label to display
Method Detail

getLabel

public String getLabel()
Returns:
the label to display

getValueId

public String getValueId()
Returns:
the identifiant of the model

setLabel

public void setLabel(String label)
Set the label to display

Parameters:
label -

setValueId

public void setValueId(String valueId)
Set the identifiant of the model

Parameters:
valueId -


Copyright © 2012. All Rights Reserved.