/** * */ package org.vamsas.objects.utils; import java.util.Vector; import org.vamsas.objects.core.*; /** * Form, accessors and validation for ApplicationData references in * vamsas document. * TODO: LATER:extend XML Schema to properly validate against the same forms required by this class * TODO: implement methods for searching appData structure for particular combinations of client and user data * TODO: VAMSAS: URNS for appDatas are supposed to be unique, aren't they ? */ public class AppDataReference { static public Vector getAppDataReferences(VamsasDocument doc) { if ((doc!=null) && (doc.getApplicationDataCount()>0)) { Vector apdrefs = new Vector(); ApplicationData[] appdatas = doc.getApplicationData(); for (int q=0; q0) return apdrefs; } return null; } }