[MOBY-l] collections

Martin Senger martin.senger at gmail.com
Wed Oct 10 22:31:14 UTC 2007


On 10/10/07, maliha aziz <maliha.aziz at yahoo.com> wrote:
>
> hi
>
> I use the org.biomoby.client.CentralDigestCachedImpl package's
> getServices() function to get all services. Then for each service I use the
> function getPrimaryInputs() to retrieve all the primary inputs... now how do
> i find out whether this primary input is a collection or not?.


if (inputs[i] instanceof MobyPrimaryDataSet) {
   // you have a collection
} else {
   // you have a Simple
}

Martin

-- 
Martin Senger
   email: martin.senger at gmail.com
   skype: martinsenger



More information about the moby-l mailing list