|
@@ -10,6 +10,7 @@ public class StructData {
|
|
|
private int optionCount;
|
|
|
private int type;
|
|
|
private String typeName;
|
|
|
+ private Boolean isObjective;
|
|
|
private String qType;
|
|
|
private int paperIndex;
|
|
|
private int pageIndex;
|
|
@@ -21,6 +22,7 @@ public class StructData {
|
|
|
this.type = type;
|
|
|
this.typeName = typeName;
|
|
|
this.qType = qType;
|
|
|
+ this.isObjective = "objective".equals(qType);
|
|
|
}
|
|
|
|
|
|
public int getMainNumber() {
|
|
@@ -87,6 +89,14 @@ public class StructData {
|
|
|
this.typeName = typeName;
|
|
|
}
|
|
|
|
|
|
+ public Boolean getObjective() {
|
|
|
+ return isObjective;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setObjective(Boolean objective) {
|
|
|
+ isObjective = objective;
|
|
|
+ }
|
|
|
+
|
|
|
public String getqType() {
|
|
|
return qType;
|
|
|
}
|