Description: Romulus
* @version 1.0
*/
public class ChoiceItem implements RomulusNode{
/** The ident of the choice item.*/
private String ident = null
/** The content of the choice item.*/
private Content cont = null
/** The label of the choice item.*/
private String label = null
/** true if the item is the correct choice item.*/
private boolean is_corr = false
/** Creates a new instance of ChoiceItem*/
ChoiceItem(String ident, String label, boolean is_corr) throws RomulusException{
if(ident == null){
throw new RomulusException(RomulusException.IdentError)
}
this.ident = ident
this.label = label
this.is_corr = is_corr
}
void setContent(Content c){
this.cont = c
}
/**Getter*/
public String getIdent(){
return this.ident
}
public String getLabel(){
return this.label
}
To Search:
File list (Check if you may need any files):
2007-7-25-18267
...............\《Java案例开发》源代码
...............\......................\Database
...............\......................\........\manage.mdb
...............\......................\........\manage.sql
...............\......................\........\romulus.mdb
...............\......................\........\rumulus.sql
...............\......................\romulus
...............\......................\.......\.nbattrs
...............\......................\.......\Choice.class
...............\......................\.......\Choice.java
...............\......................\.......\ChoiceItem.class
...............\......................\.......\ChoiceItem.java
...............\......................\.......\Content.class
...............\......................\.......\Content.java
...............\......................\.......\ContentItem.class
...............\......................\.......\ContentItem.java
...............\......................\.......\DBInitLoadVisitor.class
...............\......................\.......\DBInitLoadVisitor.java
...............\......................\.......\DBLoadVisitor.class
...............\......................\.......\DBLoadVisitor.java
...............\......................\.......\Feedback.class
...............\......................\.......\Feedback.java
...............\......................\.......\FIB.class
...............\......................\.......\FIB.java
...............\......................\.......\GradeVisitor.class
...............\......................\.......\GradeVisitor.java
...............\......................\.......\ImageContent.class
...............\......................\.......\ImageContent.java
...............\......................\.......\Manager
...............\......................\.......\.......\.nbattrs
...............\......................\.......\.......\ManagerPanel$1.class
...............\......................\.......\.......\ManagerPanel$2.class
...............\......................\.......\.......\ManagerPanel$3.class
...............\......................\.......\.......\ManagerPanel$4.class
...............\......................\.......\.......\ManagerPanel$5.class
...............\......................\.......\.......\ManagerPanel.class
...............\......................\.......\.......\ManagerPanel.form
...............\......................\.......\.......\ManagerPanel.java
...............\......................\.......\.......\ManagerToolSet.class
...............\......................\.......\.......\ManagerToolSet.java
...............\......................\.......\.......\ReportPanel$1.class
...............\......................\.......\.......\ReportPanel.class
...............\......................\.......\.......\ReportPanel.form
...............\......................\.......\.......\ReportPanel.java
...............\......................\.......\.......\ReportTableModel.class
...............\......................\.......\.......\ReportTableModel.java
...............\......................\.......\.......\ResultPanel$1.class
...............\......................\.......\.......\ResultPanel$2.class
...............\......................\.......\.......\ResultPanel$3.class
...............\......................\.......\.......\ResultPanel$4.class
...............\......................\.......\.......\ResultPanel.class
...............\......................\.......\.......\ResultPanel.form
...............\......................\.......\.......\ResultPanel.java
...............\......................\.......\.......\RomulusManagerClientFrame$1.class
...............\......................\.......\.......\RomulusManagerClientFrame$2.class
...............\......................\.......\.......\RomulusManagerClientFrame$3.class
...............\......................\.......\.......\RomulusManagerClientFrame$4.class
...............\......................\.......\.......\RomulusManagerClientFrame$5.class
...............\......................\.......\.......\RomulusManagerClientFrame$6.class
...............\