PropertyMapping contract.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private static final Logger | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| private static String | |
| public String[] | |
| protected abstract String | |
| public String[] | |
| public String[] | |
| public String[] | |
| private boolean | |
| protected void | initComponentPropertyPaths(final String path, final CompositeType type, final String[] columns, final String[] columnReaders, final String[] columnReaderTemplates, String[] formulaTemplates, final Mapping factory)
|
| protected void | initIdentifierPropertyPaths(final String path, final EntityType etype, final String[] columns, final String[] columnReaders, final String[] columnReaderTemplates, final Mapping factory)
|
| protected void | |
| protected final QueryException | |
| public String[] | toColumns(String alias, String propertyName)
Implements org. |
| public String[] | toColumns(String propertyName)
Implements org. |
| public Type | toType(String propertyName)
Implements org. |
| columnReadersByPropertyPath | back to summary |
|---|---|
| private final Map<K, V> columnReadersByPropertyPath | |
| columnReaderTemplatesByPropertyPath | back to summary |
|---|---|
| private final Map<K, V> columnReaderTemplatesByPropertyPath | |
| columnsByPropertyPath | back to summary |
|---|---|
| private final Map<K, V> columnsByPropertyPath | |
| formulaTemplatesByPropertyPath | back to summary |
|---|---|
| private final Map<K, V> formulaTemplatesByPropertyPath | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| typesByPropertyPath | back to summary |
|---|---|
| private final Map<K, V> typesByPropertyPath | |
| AbstractPropertyMapping | back to summary |
|---|---|
| public AbstractPropertyMapping() | |
| addPropertyPath | back to summary |
|---|---|
| protected void addPropertyPath(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates) | |
| extendPath | back to summary |
|---|---|
| private static String extendPath(String path, String property) | |
| getColumnNames | back to summary |
|---|---|
| public String[] getColumnNames(String propertyName) | |
| getEntityName | back to summary |
|---|---|
| protected abstract String getEntityName() | |
| getIdentifierColumnNames | back to summary |
|---|---|
| public String[] getIdentifierColumnNames() | |
| getIdentifierColumnReaders | back to summary |
|---|---|
| public String[] getIdentifierColumnReaders() | |
| getIdentifierColumnReaderTemplates | back to summary |
|---|---|
| public String[] getIdentifierColumnReaderTemplates() | |
| hasNonIdentifierPropertyNamedId | back to summary |
|---|---|
| private boolean hasNonIdentifierPropertyNamedId(final EntityType entityType, final Mapping factory) | |
| initComponentPropertyPaths | back to summary |
|---|---|
| protected void initComponentPropertyPaths(final String path, final CompositeType type, final String[] columns, final String[] columnReaders, final String[] columnReaderTemplates, String[] formulaTemplates, final Mapping factory) throws MappingException | |
| initIdentifierPropertyPaths | back to summary |
|---|---|
| protected void initIdentifierPropertyPaths(final String path, final EntityType etype, final String[] columns, final String[] columnReaders, final String[] columnReaderTemplates, final Mapping factory) throws MappingException | |
| initPropertyPaths | back to summary |
|---|---|
| protected void initPropertyPaths(final String path, final Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, final String[] formulaTemplates, final Mapping factory) throws MappingException | |
| propertyException | back to summary |
|---|---|
| protected final QueryException propertyException(String propertyName) throws QueryException | |
| toColumns | back to summary |
|---|---|
| public String[] toColumns(String alias, String propertyName) throws QueryException Implements org. Doc from org. Given a query alias and a property path, return the qualified column name | |
| toColumns | back to summary |
|---|---|
| public String[] toColumns(String propertyName) throws QueryException Implements org. Doc from org. Given a property path, return the corresponding column name(s). | |
| toType | back to summary |
|---|---|
| public Type toType(String propertyName) throws QueryException Implements org. Doc from org. Given a component path expression, get the type of the property | |