org.gcube.portlets.d4sreporting.common.shared
Class Tuple

java.lang.Object
  extended by org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence
      extended by org.gcube.portlets.d4sreporting.common.shared.Tuple
All Implemented Interfaces:
Serializable

public class Tuple
extends RepeatableSequence
implements Serializable

Author:
Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it Groups a list of Components, and specify which one of the is the key, useful for dropdown list items, controlled terms, etc
See Also:
Serialized Form

Constructor Summary
Tuple()
           
Tuple(String key)
          just for GWT serialization purpose
Tuple(String key, ArrayList<BasicComponent> groupedComponents)
           
 
Method Summary
 String getKey()
           
 void setKey(String key)
           
 String toString()
           
 
Methods inherited from class org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence
equals, getGroupedComponents, getHeight, hashCode, setGroupedComponents, setHeight
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tuple

public Tuple()

Tuple

public Tuple(String key,
             ArrayList<BasicComponent> groupedComponents)
Parameters:
key - the key to show
groupedComponents -

Tuple

public Tuple(String key)
just for GWT serialization purpose

Parameters:
key -
Method Detail

getKey

public String getKey()
Overrides:
getKey in class RepeatableSequence

setKey

public void setKey(String key)
Overrides:
setKey in class RepeatableSequence

toString

public String toString()
Overrides:
toString in class RepeatableSequence


Copyright © 2014. All Rights Reserved.