/** * get specific type of documentation = processing_level * * @return contents of the "processing_level" documentation, or null */ public String getProcessing() { return getDocumentation("processing_level"); }
/** * get specific type of documentation = history * * @return contents of the "history" documentation, or null */ public String getHistory() { return getDocumentation("history"); }
/** * get specific type of documentation = rights * * @return contents of the "rights" documentation, or null */ public String getRights() { return getDocumentation("rights"); }
/** * get specific type of documentation = history * * @return contents of the "history" documentation, or null */ public String getHistory() { return getDocumentation("history"); }
/** * get specific type of documentation = processing_level * * @return contents of the "processing_level" documentation, or null */ public String getProcessing() { return getDocumentation("processing_level"); }
/** * get specific type of documentation = rights * * @return contents of the "rights" documentation, or null */ public String getRights() { return getDocumentation("rights"); }
/** * get specific type of documentation = rights * * @return contents of the "rights" documentation, or null */ public String getRights() { return getDocumentation("rights"); }
/** * get specific type of documentation = summary * * @return contents of the "summary" documentation, or null */ public String getSummary() { return getDocumentation("summary"); }
/** * get specific type of documentation = history * * @return contents of the "history" documentation, or null */ public String getHistory() { return getDocumentation("history"); }
/** * get specific type of documentation = summary * * @return contents of the "summary" documentation, or null */ public String getSummary() { return getDocumentation("summary"); }
/** * get specific type of documentation = processing_level * * @return contents of the "processing_level" documentation, or null */ public String getProcessing() { return getDocumentation("processing_level"); }
/** * get specific type of documentation = summary * * @return contents of the "summary" documentation, or null */ public String getSummary() { return getDocumentation("summary"); }
/** * get specific type of documentation * * @param type find this type of documentation * @return contents of documentation of specified type */ public String getDocumentation(String type) { if (getDocumentation() == null) return null; for (InvDocumentation doc : getDocumentation()) { String dtype = doc.getType(); if ((dtype != null) && dtype.equalsIgnoreCase(type)) return doc.getInlineContent(); } return null; }
/** * get specific type of documentation * * @param type find this type of documentation * @return contents of documentation of specified type */ public String getDocumentation(String type) { if (getDocumentation() == null) return null; for (InvDocumentation doc : getDocumentation()) { String dtype = doc.getType(); if ((dtype != null) && dtype.equalsIgnoreCase(type)) return doc.getInlineContent(); } return null; }
/** * get specific type of documentation * * @param type find this type of documentation * @return contents of documentation of specified type */ public String getDocumentation(String type) { for (InvDocumentation doc : getDocumentation()) { String dtype = doc.getType(); if ((dtype != null) && dtype.equalsIgnoreCase(type)) return doc.getInlineContent(); } return null; }
public boolean isDatasetUseable(InvDataset ds, StringBuilder sbuff) { boolean ok = true; sbuff.append("Dataset "+ ds.getName()+ " id = "+ds.getID()+": "); if (ds.getName() == null) { ok = false; sbuff.append(" missing Name field\n"); } if (ds.getUniqueID() == null) { ok = false; sbuff.append(" missing ID field\n"); } List list = ds.getPublishers(); if ((list == null) || (list.size() == 0)) { ok = false; sbuff.append(" must have publisher element that defines the data center\n"); } String summary = ds.getDocumentation("summary"); if (summary == null) { ok = false; sbuff.append(" must have documentation element of type summary\n"); } String rights = ds.getDocumentation("rights"); if (rights == null) { ok = false; sbuff.append(" must have documentation element of type rights\n"); } sbuff.append(" useable= "+ok+"\n"); return ok; }
public boolean isDatasetUseable(InvDataset ds, StringBuffer sbuff) { boolean ok = true; sbuff.append("Dataset "+ ds.getName()+ " id = "+ds.getID()+": "); if (ds.getName() == null) { ok = false; sbuff.append(" missing Name field\n"); } if (ds.getUniqueID() == null) { ok = false; sbuff.append(" missing ID field\n"); } List list = ds.getPublishers(); if ((list == null) || (list.size() == 0)) { ok = false; sbuff.append(" must have publisher element that defines the data center\n"); } String summary = ds.getDocumentation("summary"); if (summary == null) { ok = false; sbuff.append(" must have documentation element of type summary\n"); } String rights = ds.getDocumentation("rights"); if (rights == null) { ok = false; sbuff.append(" must have documentation element of type rights\n"); } sbuff.append(" useable= "+ok+"\n"); return ok; }
public boolean isDatasetUseable(InvDataset ds, StringBuilder sbuff) { boolean ok = true; sbuff.append("Dataset "+ ds.getName()+ " id = "+ds.getID()+": "); if (ds.getName() == null) { ok = false; sbuff.append(" missing Name field\n"); } if (ds.getUniqueID() == null) { ok = false; sbuff.append(" missing ID field\n"); } List list = ds.getPublishers(); if ((list == null) || (list.size() == 0)) { ok = false; sbuff.append(" must have publisher element that defines the data center\n"); } String summary = ds.getDocumentation("summary"); if (summary == null) { ok = false; sbuff.append(" must have documentation element of type summary\n"); } String rights = ds.getDocumentation("rights"); if (rights == null) { ok = false; sbuff.append(" must have documentation element of type rights\n"); } sbuff.append(" useable= "+ok+"\n"); return ok; }
String summary = ds.getDocumentation("summary"); if (summary == null) { ok = false;
String summary = ds.getDocumentation("summary"); if (summary == null) { ok = false;