public class NLCluSet extends Object
Warning
DO NOT change the public method signatures of this class.
The natural language templates are coded against this class's public methods.
If the method signatures are changed then all the templates referencing
this class will need to be changed as well.
$cluSet
is this class.
Example:
"Student must have completed $intValue of $cluSet.getCluSetAsShortName()"
MockCluSetInfo
wrapper class.Constructor and Description |
---|
NLCluSet(String cluSetId,
List<CluInfo> cluList) |
NLCluSet(String cluSetId,
List<CluInfo> cluList,
CluSetInfo cluSet) |
Modifier and Type | Method and Description |
---|---|
String |
getCluAsCode(int index)
Gets a particular CLU's official identifier code at
index |
String |
getCluAsShortName(int index)
Gets a particular CLU's official identifier short name.
|
List<CluInfo> |
getCluList()
Gets a list of CLUs.
|
CluSetInfo |
getCluSet() |
String |
getCluSetAsCode()
Gets all the CLUs' official identifier code in the CLU set
as a comma separated list.
|
String |
getCluSetAsCode(String separator)
Gets all the CLUs' official identifier code in the CLU set
as a list of values separated by the specified separator.
|
String |
getCluSetAsLongName()
Gets all the CLUs' official identifier long name in the CLU set
as a comma separated list.
|
String |
getCluSetAsLongName(String separator)
Gets all the CLUs' official identifier long name in the CLU set
as a list of values separated by the specified separator.
|
String |
getCluSetAsShortName()
Gets all the CLUs' official identifier short name in the CLU set
as a comma separated list.
|
String |
getCluSetAsShortName(String separator)
Gets all the CLUs' official identifier short name in the CLU set
as a list of values separated by the specified separator.
|
String |
getCluSetId()
Gets the CLU set id.
|
String |
getQueryValueFromParam(String param) |
void |
setCluList(List<CluInfo> cluList)
Sorts the clu list and sets this.cluList
|
void |
setCluSet(CluSetInfo cluSet) |
String |
toString() |
public NLCluSet(String cluSetId, List<CluInfo> cluList, CluSetInfo cluSet)
public String getCluSetId()
public void setCluList(List<CluInfo> cluList)
cluList
- public List<CluInfo> getCluList()
public CluSetInfo getCluSet()
public void setCluSet(CluSetInfo cluSet)
public String getCluAsShortName(int index)
index
- Index in CLU setpublic String getCluAsCode(int index)
index
index
- public String getCluSetAsShortName()
public String getCluSetAsShortName(String separator)
The
- string value that is used to separate the values in the list.public String getCluSetAsLongName()
public String getCluSetAsLongName(String separator)
separator
- The string value that is used to separate the values in the list.public String getCluSetAsCode()
public String getCluSetAsCode(String separator)
separator
- The string value that is used to separate the values in the list.public String getQueryValueFromParam(String param)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.