|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.processManager.record.QuestionRecord
public class QuestionRecord
Constructor Summary | |
---|---|
QuestionRecord(String content)
A QuestionRecord is built from a Question |
Method Summary | |
---|---|
com.silverpeas.form.Field |
getField(int fieldIndex)
Returns the field at the index position in the record. |
com.silverpeas.form.Field |
getField(String fieldName)
Returns the named field. |
com.silverpeas.form.Field |
getField(String fieldName,
int occurrence)
|
String[] |
getFieldNames()
|
com.silverpeas.form.Field[] |
getFields()
Returns all the fields |
String |
getId()
Returns the data record id. |
String |
getLanguage()
|
Map<String,String> |
getValues(String language)
|
boolean |
isNew()
Return true if this record has not been inserted in a RecordSet. |
void |
setId(String id)
Gives an id to the record. |
void |
setLanguage(String language)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuestionRecord(String content)
Method Detail |
---|
public String getId()
getId
in interface com.silverpeas.form.DataRecord
public void setId(String id)
setId
in interface com.silverpeas.form.DataRecord
public com.silverpeas.form.Field[] getFields()
public com.silverpeas.form.Field getField(String fieldName) throws com.silverpeas.form.FormException
getField
in interface com.silverpeas.form.DataRecord
com.silverpeas.form.FormException
public com.silverpeas.form.Field getField(String fieldName, int occurrence)
getField
in interface com.silverpeas.form.DataRecord
public com.silverpeas.form.Field getField(int fieldIndex) throws com.silverpeas.form.FormException
getField
in interface com.silverpeas.form.DataRecord
com.silverpeas.form.FormException
public String[] getFieldNames()
getFieldNames
in interface com.silverpeas.form.DataRecord
public boolean isNew()
isNew
in interface com.silverpeas.form.DataRecord
public String getLanguage()
getLanguage
in interface com.silverpeas.form.DataRecord
public void setLanguage(String language)
setLanguage
in interface com.silverpeas.form.DataRecord
public Map<String,String> getValues(String language)
getValues
in interface com.silverpeas.form.DataRecord
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |