System.out.println("Control Group : "
+ ds.getControlGroup().toString());
System.out.println(" Versionable : " + ds.isVersionable());
System.out.println(" Mime Type : " + ds.getMIMEType());
System.out.println(" Format URI : " + ds.getFormatURI());
ArrayOfString altIDs = ds.getAltIDs();
if (altIDs != null && altIDs.getItem() != null) {
for (String element : altIDs.getItem()) {
System.out.println(" Alternate ID : " + element);
}
}
System.out.println(" State : " + ds.getState());
// print version id, create date, and label for each version