public class BeanAccess extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areBeansEqual(Object bean1,
Object bean2)
Test for equality between two BeanType values.
|
static boolean |
areValuesEqual(IType lhsType,
Object lhsValue,
IType rhsType,
Object rhsValue)
Returns true if the values are logically equal, false otherwise.
|
static MethodList |
getMethods(ITypeInfo beanInfo,
IType whosaskin) |
static List<? extends IPropertyInfo> |
getProperties(ITypeInfo beanInfo,
IType classBean) |
static IPropertyInfo |
getProperty(ITypeInfo beanInfo,
IType classBean,
String strMember) |
static IPropertyInfo |
getPropertyInfo_NoException(IType classBean,
String strProperty,
IFeatureFilter filter,
ParserBase parser,
IScriptabilityModifier scriptabilityConstraint) |
static IPropertyInfo |
getPropertyInfo(IType classBean,
IType whosAskin,
String strProperty,
IFeatureFilter filter,
ParserBase parser,
IScriptabilityModifier scriptabilityConstraint) |
static IPropertyInfo |
getPropertyInfo(IType classBean,
String strProperty,
IFeatureFilter filter,
ParserBase parser,
IScriptabilityModifier scriptabilityConstraint) |
static IPropertyInfo |
getPropertyInfoDirectly_NoException(IType classBean,
String strProperty)
Resolves the property directly, as if the type were requesting it, giving access to all properties
|
static IPropertyInfo |
getPropertyInfoDirectly(IType classBean,
String strProperty)
Resolves the property directly, as if the type were requesting it, giving access to all properties
|
static boolean |
isBeanType(IType typeSource) |
static boolean |
isBoxedTypeFor(IType primitiveType,
IType boxedType) |
static boolean |
isDescriptorHidden(IAttributedFeatureInfo descriptor)
Returns true if the method or property is hidden or otherwise not scriptable.
|
static boolean |
isNumericType(IType intrType) |
public static boolean isDescriptorHidden(IAttributedFeatureInfo descriptor)
public static boolean isBeanType(IType typeSource)
public static boolean isNumericType(IType intrType)
public static boolean areValuesEqual(IType lhsType, Object lhsValue, IType rhsType, Object rhsValue)
public static boolean areBeansEqual(Object bean1, Object bean2)
bean1 - A value having an IType of BeanTypebean2 - A value having an IType of BeanTypepublic static List<? extends IPropertyInfo> getProperties(ITypeInfo beanInfo, IType classBean)
public static MethodList getMethods(ITypeInfo beanInfo, IType whosaskin)
public static IPropertyInfo getPropertyInfoDirectly(IType classBean, String strProperty) throws ParseException
ParseExceptionpublic static IPropertyInfo getPropertyInfo(IType classBean, String strProperty, IFeatureFilter filter, ParserBase parser, IScriptabilityModifier scriptabilityConstraint) throws ParseException
ParseExceptionpublic static IPropertyInfo getPropertyInfo(IType classBean, IType whosAskin, String strProperty, IFeatureFilter filter, ParserBase parser, IScriptabilityModifier scriptabilityConstraint) throws ParseException
ParseExceptionpublic static IPropertyInfo getPropertyInfoDirectly_NoException(IType classBean, String strProperty)
public static IPropertyInfo getPropertyInfo_NoException(IType classBean, String strProperty, IFeatureFilter filter, ParserBase parser, IScriptabilityModifier scriptabilityConstraint)
public static IPropertyInfo getProperty(ITypeInfo beanInfo, IType classBean, String strMember)
Copyright © 2016. All rights reserved.