/** * If this dataset has an authority and an ID, then the concatenation of them is the * globally unique ID. * * @return globally unique ID, or null if missing authority or ID. */ public String getUniqueID() { String authority = getAuthority(); if ((authority != null) && (getID() != null)) return authority + ":" + getID(); else if (getID() != null) return getID(); else return null; }
/** * If this dataset has an authority and an ID, then the concatenation of them is the * globally unique ID. * * @return globally unique ID, or null if missing authority or ID. */ public String getUniqueID() { String authority = getAuthority(); if ((authority != null) && (getID() != null)) return authority + ":" + getID(); else if (getID() != null) return getID(); else return null; }
/** * If this dataset has an authority and an ID, then the concatenation of them is the * globally unique ID. * * @return globally unique ID, or null if missing authority or ID. */ public String getUniqueID() { String authority = getAuthority(); if ((authority != null) && (getID() != null)) return authority + ":" + getID(); else if (getID() != null) return getID(); else return null; }
System.out.println("datasetNode.getIdAuthority() = " + datasetNode.getAuthority()); List<InvMetadata> metadatas = datasetNode.getMetadata(); for (InvMetadata metadata : metadatas) {