public class MXPropertyUtil
extends java.lang.Object
Constructor and Description |
---|
MXPropertyUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
clearBit(IMXPropertyGetterSetter from,
java.lang.String field,
long bit)
Clears a bit in a bit field
|
static boolean |
getBoolean(IMXPropertyGetterSetter holder,
java.lang.String prop) |
static boolean |
getBoolean(java.lang.Object val) |
static java.util.Date |
getDate(IMXPropertyGetterSetter holder,
java.lang.String prop) |
static double |
getDouble(IMXPropertyGetterSetter holder,
java.lang.String prop) |
static float |
getFloat(IMXPropertyGetterSetter holder,
java.lang.String prop) |
static boolean |
getIlvBoolean(ilog.views.gantt.model.general.IlvGeneralActivity holder,
java.lang.String prop) |
static java.util.Date |
getIlvDate(ilog.views.gantt.model.general.IlvGeneralActivity holder,
java.lang.String prop) |
static double |
getIlvDouble(ilog.views.gantt.model.general.IlvGeneralActivity holder,
java.lang.String prop) |
static int |
getIlvInt(ilog.views.gantt.model.general.IlvGeneralActivity holder,
java.lang.String prop) |
static long |
getIlvLong(ilog.views.gantt.model.general.IlvGeneralActivity holder,
java.lang.String prop) |
static int |
getInt(IMXPropertyGetterSetter holder,
java.lang.String prop) |
static long |
getLong(IMXPropertyGetterSetter holder,
java.lang.String prop) |
static java.lang.String |
getString(IMXPropertyGetterSetter holder,
java.lang.String prop) |
static java.lang.String |
getString(IMXPropertyGetterSetter holder,
java.lang.String fld,
java.lang.String defValue) |
static boolean |
isBitSet(IMXPropertyGetterSetter from,
java.lang.String field,
long bit)
Tests if a bit is set in a bit field
|
static boolean |
setBit(IMXPropertyGetterSetter from,
java.lang.String field,
long bit)
Sets the BIT in a BIT field if the overall bit state changed
|
static void |
toggleBit(IMXPropertyGetterSetter from,
java.lang.String field,
long bit)
Toggles a bit in a bit field
|
static java.lang.String |
toStringProps(IMXPropertyGetterSetter from,
java.lang.String... props)
Given a UserPropertyHolder create a toString from the given properties
|
public static int getIlvInt(ilog.views.gantt.model.general.IlvGeneralActivity holder, java.lang.String prop)
public static int getInt(IMXPropertyGetterSetter holder, java.lang.String prop)
public static long getLong(IMXPropertyGetterSetter holder, java.lang.String prop)
public static long getIlvLong(ilog.views.gantt.model.general.IlvGeneralActivity holder, java.lang.String prop)
public static float getFloat(IMXPropertyGetterSetter holder, java.lang.String prop)
public static double getIlvDouble(ilog.views.gantt.model.general.IlvGeneralActivity holder, java.lang.String prop)
public static double getDouble(IMXPropertyGetterSetter holder, java.lang.String prop)
public static boolean getIlvBoolean(ilog.views.gantt.model.general.IlvGeneralActivity holder, java.lang.String prop)
public static boolean getBoolean(IMXPropertyGetterSetter holder, java.lang.String prop)
public static boolean getBoolean(java.lang.Object val)
public static java.lang.String getString(IMXPropertyGetterSetter holder, java.lang.String prop)
public static java.lang.String getString(IMXPropertyGetterSetter holder, java.lang.String fld, java.lang.String defValue)
public static java.util.Date getIlvDate(ilog.views.gantt.model.general.IlvGeneralActivity holder, java.lang.String prop)
public static java.util.Date getDate(IMXPropertyGetterSetter holder, java.lang.String prop)
public static java.lang.String toStringProps(IMXPropertyGetterSetter from, java.lang.String... props)
from
- props
- public static boolean setBit(IMXPropertyGetterSetter from, java.lang.String field, long bit)
from
- field
- bit
- public static boolean clearBit(IMXPropertyGetterSetter from, java.lang.String field, long bit)
public static void toggleBit(IMXPropertyGetterSetter from, java.lang.String field, long bit)
from
- field
- bit
- public static boolean isBitSet(IMXPropertyGetterSetter from, java.lang.String field, long bit)
from
- field
- bit
-