org.gcube.portlets.d4sreporting.common.shared
Class MasterSequence
java.lang.Object
org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence
org.gcube.portlets.d4sreporting.common.shared.Tuple
- All Implemented Interfaces:
- Serializable
public class MasterSequence
- 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
MasterSequence
public MasterSequence()
MasterSequence
public MasterSequence(String key,
ArrayList<BasicComponent> groupedComponents)
- Parameters:
key - the key to showgroupedComponents -
MasterSequence
public MasterSequence(String key,
ArrayList<BasicComponent> groupedComponents,
boolean selected)
- Parameters:
key - the key to showgroupedComponents - selected - if you want it to be selected (like the html select)
MasterSequence
public MasterSequence(String key,
boolean selected)
- just for GWT serialization purpose
- Parameters:
key - selected -
getKey
public String getKey()
setKey
public void setKey(String key)
isSelected
public boolean isSelected()
setSelected
public void setSelected(boolean selected)
toString
public String toString()
- Overrides:
toString in class RepeatableSequence
Copyright © 2013. All Rights Reserved.