org.xcmis.sp.inmemory
Class PropertyDefinitions

java.lang.Object
  extended by org.xcmis.sp.inmemory.PropertyDefinitions

public final class PropertyDefinitions
extends Object

Mapping for known CMIS object properties.

Version:
$Id: PropertyDefinitions.java 578 2010-04-02 12:25:27Z andrew00x $
Author:
Andrey Parfonov

Method Summary
static Map<String,PropertyDefinition<?>> getAll(String objectTypeId)
          Get all property definitions for objectTypeId.
static PropertyDefinition<?> getPropertyDefinition(String objectTypeId, String propDefId)
          Get one property definition with propDefId for objectTypeId.
static Set<String> getPropertyIds(String objectTypeId)
          Get all property IDs supported for objectTypeId.
static void put(String typeId, PropertyDefinition<?> propDef)
           
static void putAll(String typeId, Map<String,PropertyDefinition<?>> propDefs)
           
static void removeAll(String typeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAll

public static Map<String,PropertyDefinition<?>> getAll(String objectTypeId)
Get all property definitions for objectTypeId.

Parameters:
objectTypeId - object type id
Returns:
set of object property definitions

getPropertyDefinition

public static 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

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.

put

public static void put(String typeId,
                       PropertyDefinition<?> propDef)

putAll

public static void putAll(String typeId,
                          Map<String,PropertyDefinition<?>> propDefs)

removeAll

public static void removeAll(String typeId)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.