propB = PropertyCreationHelper.createBooleanDefinition(PropertyIds.IS_LATEST_MAJOR_VERSION,
"CMIS Is Latest Major Version Property");
propB.setUpdatability(Updatability.READONLY);
propertyDefinitions.put(propB.getId(), propB);
PropertyStringDefinitionImpl propS = PropertyCreationHelper.createStringDefinition(PropertyIds.VERSION_LABEL,
"CMIS Version Label Property");
propS.setUpdatability(Updatability.READONLY);
propertyDefinitions.put(propS.getId(), propS);
PropertyIdDefinitionImpl propId = PropertyCreationHelper.createIdDefinition(PropertyIds.VERSION_SERIES_ID,
"CMIS Version Series Id Property");
propId.setUpdatability(Updatability.READONLY);
propertyDefinitions.put(propId.getId(), propId);
propB = PropertyCreationHelper.createBooleanDefinition(PropertyIds.IS_VERSION_SERIES_CHECKED_OUT,
"CMIS Is Version Series Checked Out Property");
propB.setUpdatability(Updatability.READONLY);
propertyDefinitions.put(propB.getId(), propB);
propS = PropertyCreationHelper.createStringDefinition(PropertyIds.VERSION_SERIES_CHECKED_OUT_BY,
"CMIS Version Series Checked Out By Property");
propS.setUpdatability(Updatability.READONLY);
propertyDefinitions.put(propS.getId(), propS);
propId = PropertyCreationHelper.createIdDefinition(PropertyIds.VERSION_SERIES_CHECKED_OUT_ID,
"CMIS Version Series Checked Out Id Property");
propId.setUpdatability(Updatability.READONLY);
propertyDefinitions.put(propId.getId(), propId);
propS = PropertyCreationHelper.createStringDefinition(PropertyIds.CHECKIN_COMMENT,
"CMIS Checkin Comment Property");
propS.setUpdatability(Updatability.READONLY); // Note: spec says
// read-only, because
// not set as property
propertyDefinitions.put(propS.getId(), propS);
PropertyIntegerDefinitionImpl propI = PropertyCreationHelper.createIntegerDefinition(
PropertyIds.CONTENT_STREAM_LENGTH, "CMIS Content Stream Length Property");
propI.setUpdatability(Updatability.READONLY);
propertyDefinitions.put(propI.getId(), propI);
propS = PropertyCreationHelper.createStringDefinition(PropertyIds.CONTENT_STREAM_MIME_TYPE,
"CMIS Content Stream Mime Type Property");
propS.setUpdatability(Updatability.READONLY);
propertyDefinitions.put(propS.getId(), propS);
propS = PropertyCreationHelper.createStringDefinition(PropertyIds.CONTENT_STREAM_FILE_NAME,
"CMIS Content Stream File Name Property");
propS.setUpdatability(Updatability.READONLY);
propertyDefinitions.put(propS.getId(), propS);
propId = PropertyCreationHelper.createIdDefinition(PropertyIds.CONTENT_STREAM_ID, "CMIS Stream Id Property");
propId.setUpdatability(Updatability.READONLY);
propertyDefinitions.put(propId.getId(), propId);