com.jaspersoft.jasperserver.api.metadata.xml.domain.impl
Class ListItem

java.lang.Object
  extended by com.jaspersoft.jasperserver.api.metadata.xml.domain.impl.ListItem

public class ListItem
extends java.lang.Object

It's an implementation of ListOfValuesItem used in Webservices. This class does not implements directly ListOfValuesItem to avoid the need of this interface on client side.

Author:
gtoffoli

Constructor Summary
ListItem()
          Creates a new instance of ListItem
ListItem(java.lang.String label, java.lang.Object value)
          Creates a new instance of ListItem
 
Method Summary
 java.lang.String getLabel()
           
 java.lang.Object getValue()
           
 boolean isIsListItem()
           
 void setIsListItem(boolean isListItem)
           
 void setLabel(java.lang.String label)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListItem

public ListItem()
Creates a new instance of ListItem


ListItem

public ListItem(java.lang.String label,
                java.lang.Object value)
Creates a new instance of ListItem

Method Detail

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

getLabel

public java.lang.String getLabel()

setLabel

public void setLabel(java.lang.String label)

isIsListItem

public boolean isIsListItem()

setIsListItem

public void setIsListItem(boolean isListItem)


Copyright © 2007. All Rights Reserved.