ResourceIdDocument resourceIdDocument = ResourceIdDocument.Factory.newInstance();
resourceIdDocument.setResourceId("urn:" + (String) getID());
resourceProperty.add(resourceIdDocument);
resourceProperty = resourcePropertySet.get(BlackberryPropertyQNames.ALLOCATEDSTORAGE);
AllocatedStorageDocument allocatedStorageDocument = AllocatedStorageDocument.Factory.newInstance();
allocatedStorageDocument.setAllocatedStorage(1024);
resourceProperty.add(allocatedStorageDocument);
resourceProperty.addChangeListener(metricsCapability);
//Calendar for use in a few properties
Calendar calendarInstance = Calendar.getInstance();