public class Element extends AbstractModel
header, skipSign
Constructor and Description |
---|
Element() |
Element(Element source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Polygon |
getCoord()
Get 元素坐标
|
String |
getGroupType()
Get 元素group类型,包括multiple-choice(选择题)、fill-in-the-blank(填空题)、problem-solving(解答题)、arithmetic(算术题)
|
Long |
getIndex()
Get 元素索引
|
ResultList[] |
getResultList()
Get 结果列表
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getText()
Get 元素内容,当type为figure时该字段内容为图片的位置
|
void |
setCoord(Polygon Coord)
Set 元素坐标
|
void |
setGroupType(String GroupType)
Set 元素group类型,包括multiple-choice(选择题)、fill-in-the-blank(填空题)、problem-solving(解答题)、arithmetic(算术题)
|
void |
setIndex(Long Index)
Set 元素索引
|
void |
setResultList(ResultList[] ResultList)
Set 结果列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setText(String Text)
Set 元素内容,当type为figure时该字段内容为图片的位置
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Element()
public Element(Element source)
public String getText()
public void setText(String Text)
Text
- 元素内容,当type为figure时该字段内容为图片的位置public Polygon getCoord()
public void setCoord(Polygon Coord)
Coord
- 元素坐标public String getGroupType()
public void setGroupType(String GroupType)
GroupType
- 元素group类型,包括multiple-choice(选择题)、fill-in-the-blank(填空题)、problem-solving(解答题)、arithmetic(算术题)public ResultList[] getResultList()
public void setResultList(ResultList[] ResultList)
ResultList
- 结果列表
注意:此字段可能返回 null,表示取不到有效值。public Long getIndex()
public void setIndex(Long Index)
Index
- 元素索引Copyright © 2025. All rights reserved.