return pdbFieldIndexCounter;
}
+ public static PDBDocField getPDBDocFieldByCode(String fieldCode)
+ throws Exception
+ {
+ for (PDBDocField curPDBDocField : PDBDocField.values())
+ {
+ if (curPDBDocField.getCode().equalsIgnoreCase(fieldCode))
+ {
+ return curPDBDocField;
+ }
+ }
+ throw new Exception("PDB doc Field not found!");
+ }
+
/**
* This enum represents the fields available in the PDB JSON response
*