|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.standards.asn.SelectedStandardsBean
public class SelectedStandardsBean
Helper class to provide information about the currently selected standards in the UI, which may span several standards documents. The "docKey" attribute is settable by the UI, which enables information about a specific document (and its selected standards) to be queried.
Constructor Summary | |
---|---|
SelectedStandardsBean(List selectedStandards,
String currentDocKey)
Constructor for the SelectedStandardsBean object |
Method Summary | |
---|---|
void |
destroy()
Description of the Method |
AsnDocInfo |
getDocInfo()
Gets the docInfo for the current document |
AsnDocInfo |
getDocInfo(String docKey)
Gets the docInfo for specified standards document |
String |
getDocKey()
The standards document key set by the UI, enabling it to query for selected standards from a specific document. |
Set |
getDocKeys()
All the doc keys for which there are selected standards. |
int |
getNumOtherSelected()
Gets the number of selected standards that are NOT from the current document |
int |
getNumSelected()
Gets the numSelected attribute of the SelectedStandardsBean object |
int |
getNumSelected(String docKey)
Gets the numSelected attribute of the SelectedStandardsBean object |
Map |
getOtherSelectedStandards()
Gets the selected standards that are not in the active standards document (which is determined by currentDocKey. |
AsnStandardsDocument |
getStandardsDocument(String key)
Gets the standardsTree for the standards doc specified by provided key. |
static void |
main(String[] args)
The main program for the SelectedStandardsBean class |
void |
report()
Description of the Method |
void |
setDocKey(String key)
Doc key settable by UI. |
void |
showOthers(Map others)
Description of the Method |
void |
update(List selectedStandards,
String currentDocKey)
Update SelectedStandardBean with information from UI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectedStandardsBean(List selectedStandards, String currentDocKey)
selectedStandards
- standards currently selected in the UIcurrentDocKey
- key (e.g., "NSES.Science.1995.D10001D0") of standards document currently active in UIMethod Detail |
---|
public void update(List selectedStandards, String currentDocKey)
selectedStandards
- list of stds selected in UIcurrentDocKey
- docKey (e.g., "NSES.Science.1995.D10001D0")public String getDocKey()
public void setDocKey(String key)
key
- The new docKey valuepublic Set getDocKeys()
public AsnDocInfo getDocInfo(String docKey)
docKey
- document key
public AsnDocInfo getDocInfo()
public int getNumSelected()
public int getNumSelected(String docKey)
docKey
- NOT YET DOCUMENTED
public int getNumOtherSelected()
public AsnStandardsDocument getStandardsDocument(String key)
key
- Description of the Parameter
public Map getOtherSelectedStandards()
public static void main(String[] args) throws Exception
args
- The command line arguments
Exception
- NOT YET DOCUMENTEDpublic void destroy()
public void report()
public void showOthers(Map others)
others
- Description of the Parameter
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |