com.objectplanet.survey.plugin.api
Class ListItem

java.lang.Object
  extended by com.objectplanet.survey.plugin.api.ListItem

public class ListItem
extends java.lang.Object

This class represents a list item. Necessary attributes for list items are name (what to show in the list) and id (list item identifier). These are used in the list of surveys and folders.

Author:
Irina Brun
Created:
2. April 2002

Method Summary
 long getItemId()
          Gets the id of the list item
 java.lang.String getItemName()
          Gets the name
 void setItemId(long itemId)
          Sets the id of the list item
 void setItemName(java.lang.String itemName)
          Sets the name of list item
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setItemId

public void setItemId(long itemId)
Sets the id of the list item

Parameters:
itemId - The new id

setItemName

public void setItemName(java.lang.String itemName)
Sets the name of list item

Parameters:
itemName - The new list item name

getItemId

public long getItemId()
Gets the id of the list item

Returns:
List item id

getItemName

public java.lang.String getItemName()
Gets the name

Returns:
The name

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016