code: private void addCmsPropertyDefinitions(AbstractTypeDefinition type) {
  
          for (CmsPropertyDefinition propDef : m_cmsPropertyDefinitions) {
              type.addPropertyDefinition(createOpenCmsPropertyDefinition(propDef));
              type.addPropertyDefinition(
                  createPropDef(
                      INHERITED_PREFIX + propDef.getName(),
                      propDef.getName(),
                      propDef.getName(),
                      PropertyType.STRING,
                      Cardinality.SINGLE,
                      Updatability.READONLY,
                      false,
                      false));
  
          }
          type.addPropertyDefinition(
              createPropDef(
                  PROPERTY_RESOURCE_TYPE,
                  "Resource type",
                  "Resource type",
                  PropertyType.STRING,
                  Cardinality.SINGLE,
                  Updatability.ONCREATE,
                  false,
                  true));
      }
docs: Adds the CMIS property definitions corresponding to the OpenCms property definitions to a CMIS type definition.<p>
  
  @param type the type to which the property definitions should be added