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