Class PropertyDefinitions


  • public final class PropertyDefinitions
    extends Object
    Mapping for known CMIS object properties.
    Version:
    $Id$
    Author:
    Andrey Parfonov
    • Method Detail

      • getAll

        public static Map<String,​org.xcmis.spi.model.PropertyDefinition<?>> getAll​(String objectTypeId)
        Get all property definitions for objectTypeId.
        Parameters:
        objectTypeId - object type id
        Returns:
        set of object property definitions
      • getPropertyIds

        public static Set<String> getPropertyIds​(String objectTypeId)
        Get all property IDs supported for objectTypeId.
        Parameters:
        objectTypeId - object type id
        Returns:
        set of object property definition IDs.
      • getPropertyDefinition

        public static org.xcmis.spi.model.PropertyDefinition<?> getPropertyDefinition​(String objectTypeId,
                                                                                      String propDefId)
        Get one property definition with propDefId for objectTypeId.
        Parameters:
        objectTypeId - object type id
        propDefId - property definition id
        Returns:
        property definition or null