public final class PropertyAccessorFactory extends Object
Modifier and Type | Method and Description |
---|---|
static PropertyAccessor |
getDynamicMapPropertyAccessor() |
static PropertyAccessor |
getPropertyAccessor(AttributeBinding property,
EntityMode mode)
Retrieves a PropertyAccessor instance based on the given property definition and
entity mode.
|
static PropertyAccessor |
getPropertyAccessor(Class optionalClass,
String type) |
static PropertyAccessor |
getPropertyAccessor(Property property,
EntityMode mode)
Retrieves a PropertyAccessor instance based on the given property definition and
entity mode.
|
static PropertyAccessor |
getPropertyAccessor(String type) |
public static PropertyAccessor getPropertyAccessor(Property property, EntityMode mode) throws MappingException
property
- The property for which to retrieve an accessor.mode
- The mode for the resulting entity.MappingException
public static PropertyAccessor getPropertyAccessor(AttributeBinding property, EntityMode mode) throws MappingException
property
- The property for which to retrieve an accessor.mode
- The mode for the resulting entity.MappingException
public static PropertyAccessor getDynamicMapPropertyAccessor() throws MappingException
MappingException
public static PropertyAccessor getPropertyAccessor(Class optionalClass, String type) throws MappingException
MappingException
public static PropertyAccessor getPropertyAccessor(String type) throws MappingException
MappingException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.