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