PropertyMapping contract.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Map | |
| private final Map | |
| private Set | |
| private final Map | |
| private static final CoreMessageLogger | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addPropertyPath(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates)
Deprecated
Use
Only kept around for compatibility reasons since this seems to be API.
addPropertyPath(String, Type, String[], String[], String[], String[], Mapping) instead
|
| protected void | |
| private static String | |
| public String[] | |
| private PersistentClass | |
| private Type | |
| 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 | initIdentifierPropertyPaths(final String path, final EntityType etype, final String[] columns, final String[] columnReaders, final String[] columnReaderTemplates, final String[] formulaTemplates, final Mapping factory)
|
| protected void | |
| private void | |
| private 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<String, String[]> columnReadersByPropertyPath | |
| columnReaderTemplatesByPropertyPath | back to summary |
|---|---|
| private final Map<String, String[]> columnReaderTemplatesByPropertyPath | |
| columnsByPropertyPath | back to summary |
|---|---|
| private final Map<String, String[]> columnsByPropertyPath | |
| duplicateIncompatiblePaths | back to summary |
|---|---|
| private Set<String> duplicateIncompatiblePaths | |
| formulaTemplatesByPropertyPath | back to summary |
|---|---|
| private final Map<String, String[]> formulaTemplatesByPropertyPath | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| typesByPropertyPath | back to summary |
|---|---|
| private final Map<String, Type> 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)
Deprecated Use Only kept around for compatibility reasons since this seems to be API.
| |
| addPropertyPath | back to summary |
|---|---|
| protected void addPropertyPath(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory) | |
| extendPath | back to summary |
|---|---|
| private static String extendPath(String path, String property) | |
| getColumnNames | back to summary |
|---|---|
| public String[] getColumnNames(String propertyName) | |
| getCommonPersistentClass | back to summary |
|---|---|
| private PersistentClass getCommonPersistentClass(PersistentClass clazz1, PersistentClass clazz2) | |
| getCommonType | back to summary |
|---|---|
| private Type getCommonType(MetadataImplementor metadata, EntityType entityType1, EntityType entityType2) | |
| 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 | |
| initIdentifierPropertyPaths | back to summary |
|---|---|
| protected void initIdentifierPropertyPaths(final String path, final EntityType etype, final String[] columns, final String[] columnReaders, final String[] columnReaderTemplates, final String[] formulaTemplates, 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 | |
| logDuplicateRegistration | back to summary |
|---|---|
| private void logDuplicateRegistration(String path, Type existingType, Type type) | |
| logIncompatibleRegistration | back to summary |
|---|---|
| private void logIncompatibleRegistration(String path, Type existingType, Type type) | |
| 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. Obtain aliased column/formula fragments for the specified property path. | |
| 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 | |