Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.client.model
Class PropertiesHelper

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.model.PropertiesHelper

public class PropertiesHelper
extends Object

Author:
Bogdan Stefanescu

Method Summary
static Boolean getBoolean(Object v, Boolean defValue)
           
static Date getDate(Object v, Date defValue)
           
static Double getDouble(Object v, Double defValue)
           
static PropertyList getList(Object v, PropertyList defValue)
           
static Long getLong(Object v, Long defValue)
           
static PropertyMap getMap(Object v, PropertyMap defValue)
           
static String getString(Object v, String defValue)
           
static boolean isBlob(Object v)
           
static boolean isList(Object v)
           
static boolean isMap(Object v)
           
static boolean isScalar(Object v)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isBlob

public static boolean isBlob(Object v)

isMap

public static boolean isMap(Object v)

isList

public static boolean isList(Object v)

isScalar

public static boolean isScalar(Object v)

getString

public static String getString(Object v,
                               String defValue)

getBoolean

public static Boolean getBoolean(Object v,
                                 Boolean defValue)

getLong

public static Long getLong(Object v,
                           Long defValue)

getDouble

public static Double getDouble(Object v,
                               Double defValue)

getDate

public static Date getDate(Object v,
                           Date defValue)

getList

public static PropertyList getList(Object v,
                                   PropertyList defValue)

getMap

public static PropertyMap getMap(Object v,
                                 PropertyMap defValue)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.