public class ElementPropertyMapping extends Object implements PropertyMapping
Constructor and Description |
---|
ElementPropertyMapping(String[] elementColumns,
Type type) |
Modifier and Type | Method and Description |
---|---|
Type |
getType()
Get the type of the thing containing the properties
|
String[] |
toColumns(String propertyName)
Given a property path, return the corresponding column name(s).
|
String[] |
toColumns(String alias,
String propertyName)
Obtain aliased column/formula fragments for the specified property path.
|
Type |
toType(String propertyName)
Given a component path expression, get the type of the property
|
public ElementPropertyMapping(String[] elementColumns, Type type) throws MappingException
MappingException
public Type toType(String propertyName) throws QueryException
PropertyMapping
toType
in interface PropertyMapping
QueryException
public String[] toColumns(String alias, String propertyName) throws QueryException
PropertyMapping
toColumns
in interface PropertyMapping
QueryException
public String[] toColumns(String propertyName) throws QueryException, UnsupportedOperationException
toColumns
in interface PropertyMapping
QueryException
UnsupportedOperationException
public Type getType()
PropertyMapping
getType
in interface PropertyMapping
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.