| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private final Collection | |
| private Map | |
| private Map | |
| private static final CoreMessageLogger | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | CollectionPropertyHolder(Collection collection, String path, XClass clazzToProcess, XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context)
|
| Modifier and Type | Method and Description |
|---|---|
| public Join | addJoin(JoinTable joinTableAnn, boolean noDelayInPkColumnCreation)
Implements org. |
| public void | addProperty(Property prop, XClass declaringClass)
Implements org. |
| public void | addProperty(Property prop, Ejb3Column[] columns, XClass declaringClass)
Implements org. |
| private void | applyLocalConvert(Convert convertAnnotation, XProperty collectionProperty, Map<String, AttributeConversionInfo> elementAttributeConversionInfoMap, Map<String, AttributeConversionInfo> keyAttributeConversionInfoMap)
|
| private void | buildAttributeConversionInfoMaps(XProperty collectionProperty, Map<String, AttributeConversionInfo> elementAttributeConversionInfoMap, Map<String, AttributeConversionInfo> keyAttributeConversionInfoMap)
|
| public String | |
| public Collection | |
| public String | |
| public String | |
| public KeyValue | |
| public PersistentClass | |
| public Table | getTable()
Implements org.
Deprecated
as a consequence of
Table being deprecated.
|
| public boolean | |
| public boolean | |
| public boolean | isOrWithinEmbeddedId()
Implements org. |
| public boolean | isWithinElementCollection()
Implements org. |
| protected AttributeConversionInfo | locateAttributeConversionInfo(XProperty property)
Implements abstract org. |
| protected AttributeConversionInfo | locateAttributeConversionInfo(String path)
Implements abstract org. |
| public ConverterDescriptor | |
| protected String | normalizeCompositePath(String attributeName)
Implements abstract org. |
| protected String | normalizeCompositePathForLogging(String attributeName)
Implements abstract org. |
| public void | |
| private String | Returns: Path without prefix, or null, if path did not have the prefix.Path. path, String Prefix. prefix)Check if path has the given prefix and remove it. |
| private String | |
| public ConverterDescriptor | |
| public void | startingProperty(XProperty
The property property)Implements org. |
| public String |
| canElementBeConverted | back to summary |
|---|---|
| private boolean canElementBeConverted | |
| canKeyBeConverted | back to summary |
|---|---|
| private boolean canKeyBeConverted | |
| collection | back to summary |
|---|---|
| private final Collection collection | |
| elementAttributeConversionInfoMap | back to summary |
|---|---|
| private Map<String, AttributeConversionInfo> elementAttributeConversionInfoMap | |
| keyAttributeConversionInfoMap | back to summary |
|---|---|
| private Map<String, AttributeConversionInfo> keyAttributeConversionInfoMap | |
| log | back to summary |
|---|---|
| private static final CoreMessageLogger log | |
| prepared | back to summary |
|---|---|
| pack-priv boolean prepared | |
| CollectionPropertyHolder | back to summary |
|---|---|
| public CollectionPropertyHolder(Collection collection, String path, XClass clazzToProcess, XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context) | |
| addJoin | back to summary |
|---|---|
| public Join addJoin(JoinTable joinTableAnn, boolean noDelayInPkColumnCreation) Implements org. | |
| addProperty | back to summary |
|---|---|
| public void addProperty(Property prop, XClass declaringClass) Implements org. | |
| addProperty | back to summary |
|---|---|
| public void addProperty(Property prop, Ejb3Column[] columns, XClass declaringClass) Implements org. | |
| applyLocalConvert | back to summary |
|---|---|
| private void applyLocalConvert(Convert convertAnnotation, XProperty collectionProperty, Map<String, AttributeConversionInfo> elementAttributeConversionInfoMap, Map<String, AttributeConversionInfo> keyAttributeConversionInfoMap) | |
| buildAttributeConversionInfoMaps | back to summary |
|---|---|
| private void buildAttributeConversionInfoMaps(XProperty collectionProperty, Map<String, AttributeConversionInfo> elementAttributeConversionInfoMap, Map<String, AttributeConversionInfo> keyAttributeConversionInfoMap) | |
| getClassName | back to summary |
|---|---|
| public String getClassName() Implements org. | |
| getCollectionBinding | back to summary |
|---|---|
| public Collection getCollectionBinding() | |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() Implements org. | |
| getEntityOwnerClassName | back to summary |
|---|---|
| public String getEntityOwnerClassName() Implements org. | |
| getIdentifier | back to summary |
|---|---|
| public KeyValue getIdentifier() Implements org. | |
| getPersistentClass | back to summary |
|---|---|
| public PersistentClass getPersistentClass() Implements org. | |
| getTable | back to summary |
|---|---|
| public Table getTable() Implements org. Deprecated as a consequence of | |
| isComponent | back to summary |
|---|---|
| public boolean isComponent() Implements org. | |
| isEntity | back to summary |
|---|---|
| public boolean isEntity() Implements org. | |
| isOrWithinEmbeddedId | back to summary |
|---|---|
| public boolean isOrWithinEmbeddedId() Implements org. Doc from org. Return true if this component is or is embedded in a @EmbeddedId | |
| isWithinElementCollection | back to summary |
|---|---|
| public boolean isWithinElementCollection() Implements org. Doc from org. Return true if this component is within an @ElementCollection.
| |
| locateAttributeConversionInfo | back to summary |
|---|---|
| protected AttributeConversionInfo locateAttributeConversionInfo(XProperty property) Implements abstract org.
| |
| locateAttributeConversionInfo | back to summary |
|---|---|
| protected AttributeConversionInfo locateAttributeConversionInfo(String path) Implements abstract org.
| |
| mapKeyAttributeConverterDescriptor | back to summary |
|---|---|
| public ConverterDescriptor mapKeyAttributeConverterDescriptor(XProperty mapXProperty, XClass keyXClass) | |
| normalizeCompositePath | back to summary |
|---|---|
| protected String normalizeCompositePath(String attributeName) Implements abstract org.
| |
| normalizeCompositePathForLogging | back to summary |
|---|---|
| protected String normalizeCompositePathForLogging(String attributeName) Implements abstract org.
| |
| prepare | back to summary |
|---|---|
| public void prepare(XProperty collectionProperty) | |
| removePrefix | back to summary |
|---|---|
| private String removePrefix(String path, String prefix) Check if path has the given prefix and remove it. | |
| removePrefix | back to summary |
|---|---|
| private String removePrefix(String path, String prefix, String defaultValue) | |
| resolveElementAttributeConverterDescriptor | back to summary |
|---|---|
| public ConverterDescriptor resolveElementAttributeConverterDescriptor(XProperty collectionXProperty, XClass elementXClass) | |
| startingProperty | back to summary |
|---|---|
| public void startingProperty(XProperty property) Implements org. Doc from org. Called during binding to allow the PropertyHolder to inspect its discovered properties. Mainly this is used in collecting attribute conversion declarations (via @Convert/@Converts). | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |