public class DCInputSet extends Object
| Constructor and Description |
|---|
DCInputSet(String formName,
List<List<Map<String,String>>> rows,
Map<String,List<String>> listMap)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doField(DCInput dcf,
boolean addTitleAlternative,
boolean addPublishedBefore) |
DCInput[][] |
getFields()
Get all the fields
|
String |
getFormName()
Return the name of the form that defines this input set
|
int |
getNumberFields()
Return the number of fields in this input set
|
boolean |
isDefinedMultTitles()
Does this set of inputs include an alternate title field?
|
boolean |
isDefinedPubBefore()
Does this set of inputs include the previously published fields?
|
boolean |
isFieldPresent(String fieldName)
Does the current input set define the named field?
Scan through every field in every page of the input set
|
boolean |
isFieldPresent(String fieldName,
String documentType)
Does the current input set define the named field?
and is valid for the specified document type
Scan through every field in every page of the input set
|
public String getFormName()
public int getNumberFields()
public DCInput[][] getFields()
public boolean isDefinedMultTitles()
public boolean isDefinedPubBefore()
public boolean isFieldPresent(String fieldName)
fieldName - selects the field.public boolean isFieldPresent(String fieldName, String documentType)
fieldName - field namedocumentType - doc typeprotected boolean doField(DCInput dcf, boolean addTitleAlternative, boolean addPublishedBefore)
Copyright © 2019 DuraSpace. All rights reserved.