| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private Map | |
| private Map | |
| private Boolean | m_cacheable
Entity @Cacheable annotation value (cacheable value of this descriptor). |
| private ClassAccessor | |
| private Map | |
| private String | |
| private AccessMethodsMetadata | |
| private String | |
| private String | |
| private List | |
| private List | |
| private ClassDescriptor | |
| private List | |
| private EmbeddedIdAccessor | |
| private String | |
| private Map | |
| private Map | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private Map | |
| private List | |
| private List | |
| private MetadataDescriptor | |
| private MetadataDescriptor | |
| private boolean | |
| private MetadataClass | |
| private Map | |
| private Map | |
| private MetadataDescriptor | |
| private List | |
| private MetadataClass | |
| private Map | |
| private Map | |
| private Map | |
| private DatabaseTable | |
| private Map | |
| private Boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | addConvert(String attributeName, ConvertMetadata convert)
INTERNAL: Add a convert to override a superclass class mapping. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | addMapKeyConvert(String attributeName, ConvertMetadata convert)
INTERNAL: Add a map key convert to override a superclass class mapping. |
| public void | addMappingAccessor(MappingAccessor accessor)
INTERNAL: If the accessor is an IdAccessor we store it in a separate map for use during MappedSuperclass processing. |
| public void | addPKClassId(String attributeName, String type)
INTERNAL: We store these to validate the primary class when processing the entity class. |
| public void | addPrimaryKeyField(DatabaseField field)
INTERNAL: Add a field representing the primary key or part of a composite primary key to the List of primary key fields on the relational descriptor associated with this metadata descriptor. |
| public void | addPrimaryKeyField(DatabaseField field, MappingAccessor accessor)
INTERNAL: Add a field representing the primary key or part of a composite primary key to the List of primary key fields on the relational descriptor associated with this metadata descriptor. |
| public void | |
| public void | addRelationshipAccessor(RelationshipAccessor accessor)
INTERNAL: Store relationship accessors for later processing and quick look up. |
| public void | |
| public void | clearMappingAccessors()
INTERNAL: This method is called only for canonical model generation during the pre-processing stage. |
| public boolean | |
| public String | |
| public AssociationOverrideMetadata | |
| public Collection | |
| public AttributeOverrideMetadata | |
| public Collection | |
| public MetadataAccessor | getBiDirectionalManyToManyAccessor(String className, String attributeName)
INTERNAL: Assumes hasBidirectionalManyToManyAccessorFor has been called before hand. |
| public Boolean | Returns: Entity @Cacheable annotation value. This value refers to current class only and does not contain inherited value from parent classes.INTERNAL: Get entity @Cacheable annotation value. |
| public ClassAccessor | |
| public ClassDescriptor | getClassDescriptor()
INTERNAL: Return the RelationalDescriptor instance associated with this MetadataDescriptor |
| public CMPPolicy | |
| public List | |
| public String | |
| public AccessMethodsMetadata | |
| public String | |
| public String | |
| public String | getDefaultTableName()
INTERNAL: The default table name is the descriptor alias, unless this descriptor metadata is an inheritance subclass with a SINGLE_TABLE strategy. |
| public List | |
| public List | |
| public EmbeddedIdAccessor | |
| public String | |
| public EntityAccessor | getEntityAccessor()
INTERNAL: This method assumes that by calling this method you are certain that the related class accessor to this descriptor is an EntityAccessor. |
| public DatabaseField | |
| public String | |
| public Map | |
| public Map | |
| public String | |
| public List | |
| public List | |
| public MetadataDescriptor | getInheritanceParentDescriptor()
INTERNAL: Returns the immediate parent's descriptor in the inheritance hierarchy. |
| public MetadataDescriptor | getInheritanceRootDescriptor()
INTERNAL: Returns the root descriptor of the inheritance hierarchy, that is, the one that defines the inheritance strategy. |
| public MetadataClass | |
| public String | |
| public MetadataLogger | |
| public List | |
| public MappingAccessor | getMappingAccessor(String fieldOrPropertyName)
INTERNAL: This method will first check for an accessor with name equal to field or property name. |
| protected MappingAccessor | getMappingAccessor(String fieldOrPropertyName, boolean checkForMethodName)
INTERNAL: This method will first check for an accessor with name equal to field or property name. |
| public Collection | |
| public DatabaseMapping | |
| public List | |
| public MetadataDescriptor | |
| public List | getOrderByAttributeNames()
INTERNAL: This will return the attribute names for all the direct to field mappings on this descriptor metadata. |
| public MetadataClass | |
| public Map | |
| public String | |
| public MappingAccessor | getPrimaryKeyAccessorForField(DatabaseField field)
INTERNAL: Return the primary key mapping for the given field. |
| public DatabaseField | |
| public String | getPrimaryKeyFieldName()
INTERNAL: Method to return the primary key field name for this descriptor metadata. |
| public List | |
| public DatabaseField | getPrimaryKeyJoinColumnAssociation(DatabaseField foreignKey)
INTERNAL: Recursively check the potential chaining of the primary key fields from a inheritance subclass, all the way to the root of the inheritance hierarchy. |
| public DatabaseField | getPrimaryKeyJoinColumnAssociationField(DatabaseField primaryKeyField)
INTERNAL: Returns the first primary key join column association if there is one. |
| public DatabaseTable | |
| public DatabaseTable | |
| public String | |
| public MetadataProject | |
| protected ReturningPolicy | |
| public DatabaseField | |
| public Map | getSingleTableMultitenantFields()
INTERNAL: Assumes a call to hasSingleTableMultitenant has been made before hand. |
| public boolean | hasAdditionalCriteria()
INTERNAL: Returns true is an additional criteria has been set on this descriptor's query manager. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | hasCache()
INTERNAL: Indicates that a Cache annotation or cache element has already been processed for this descriptor. |
| public boolean | hasCacheable()
INTERNAL: Indicates that a Cacheable annotation or cache element has already been processed for this descriptor. |
| public boolean | hasCacheInterceptor()
INTERNAL: Indicates that a CacheInterceptor annotation or cacheInterceptor element has already been processed for this descriptor. |
| public boolean | hasChangeTracking()
INTERNAL: Indicates that a Change tracking annotation or change tracking element has already been processed for this descriptor. |
| public boolean | |
| public boolean | hasConverts(String attributeName)
INTERNAL: Return true if there is convert metadata for the given attribute name. |
| public boolean | hasCopyPolicy()
INTERNAL: Indicates that a copy Policy annotation or copy policy element has already been processed for this descriptor. |
| public boolean | hasCustomizer()
INTERNAL: Indicates that a customizer annotation or customizer element has already been processed for this descriptor. |
| public boolean | hasDefaultRedirectors()
INTERNAL: Indicates that a DefaultRedirectors annotation or default-redirectors element has already been processed for this descriptor. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | hasMapKeyConverts(String attributeName)
INTERNAL: Return true if there is map key convert metadata for the given attribute name. |
| public boolean | hasMappingAccessor(String attributeName)
INTERNAL: Returns true if we already have (processed) an accessor for the given attribute name. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | hasPrimaryKey()
INTERNAL: Indicates that a PrimaryKey annotation or primary-key element has been processed for this descriptor. |
| public boolean | |
| public boolean | hasReadOnly()
INTERNAL: Indicates that a read only annotation or read only element has already been processed for this descriptor. |
| public boolean | hasSingleTableMultitenant()
INTERNAL: Indicates if single table multitenant metadata has been processed for this descriptor. |
| public boolean | isCacheableFalse()
INTERNAL: Indicates that an explicit cacheable value of false has been set for this descriptor. |
| public boolean | isCacheableTrue()
INTERNAL: Indicates that an explicit cacheable value of true has been set for this descriptor. |
| public boolean | isCascadePersist()
INTERNAL: Indicates that cascade-persist should be applied to all relationship mappings for this entity. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isMappedSuperclass()
INTERNAL: Return whether the ClassAccessor on this MetadataDescriptor is a MappedSuperclassAccessor. |
| public boolean | m_hasSerializedObjectPolicy()
INTERNAL: Indicates that a SerializedObject annotation or serialized-object element has been processed for this descriptor. |
| public boolean | |
| public void | |
| public void | removePrimaryKeyField(DatabaseField field)
INTERNAL: Remove the following field from the primary key field lists. |
| public void | setAccessTypeOnClassDescriptor(String accessType)
INTERNAL: Record whether this descriptor uses property access. |
| public void | |
| public void | setCacheable(Boolean
Entity @Cacheable annotation value. This value refers
to current class only and does not contain inherited value from
parent classes. cacheable)INTERNAL: Set entity @Cacheable annotation value. |
| public void | setCacheableInDescriptor()
INTERNAL: Pass entity @Cacheable annotation value to cache configuration object in class descriptor. |
| public void | |
| public void | |
| public void | setDefaultAccessMethods(AccessMethodsMetadata accessMethods)
INTERNAL: Default access methods can come from the following locations (in XML only) : - persistence-unit-defaults - entity-mappings - entity - embeddable Be default, the default access methods are set to use "get" and "set" unless they are overridden by discovering access methods specified at one of the locations above. |
| public void | |
| public void | |
| public void | setDefaultTenantDiscriminatorColumns(List<TenantDiscriminatorColumnMetadata> defaultTenantDiscriminatorColumns)
INTERNAL: |
| public void | setDescriptor(ClassDescriptor descriptor)
INTERNAL: Set the RelationalDescriptor instance associated with this MetadataDescriptor |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setHasCacheInterceptor()
INTERNAL: Indicates that we have processed a cache annotation or cache xml element. |
| public void | setHasChangeTracking()
INTERNAL: Indicates that we have processed a change tracking annotation or change tracking xml element. |
| public void | setHasCopyPolicy()
INTERNAL: Indicates that we have processed a copy policy annotation or copy policy xml element. |
| public void | setHasCustomizer()
INTERNAL: Indicates that we have processed a customizer annotation or customizer xml element. |
| public void | setHasDefaultRedirectors()
INTERNAL: Indicates that we have processed a cache annotation or cache xml element. |
| public void | setHasPrimaryKey()
INTERNAL: Indicates that we have processed a PrimaryKey annotation or primary-key xml element. |
| public void | setHasSerializedObjectPolicy()
INTERNAL: Indicates that we have processed a serialized object annotation or serialized object xml element. |
| public void | setInheritanceParentDescriptor(MetadataDescriptor inheritanceParentDescriptor)
INTERNAL: Set the immediate parent's descriptor of the inheritance hierarchy. |
| public void | setInheritanceRootDescriptor(MetadataDescriptor inheritanceRootDescriptor)
INTERNAL: Set the root descriptor of the inheritance hierarchy, that is, the one that defines the inheritance strategy. |
| public void | setIsCascadePersist(boolean isCascadePersist)
INTERNAL: Indicates that cascade-persist should be added to the set of cascade values for all relationship mappings. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | usesSingleTableInheritanceStrategy()
INTERNAL: Indicates if the strategy on the descriptor's inheritance policy is SINGLE_TABLE. |
| public boolean | usesTablePerClassInheritanceStrategy()
INTERNAL: Return true if this descriptor uses a table per class inheritance policy. |
| public boolean | usesVersionColumnOptimisticLocking()
INTERNAL: Return true if this descriptors class processed OptimisticLocking meta data of type VERSION_COLUMN. |
| public void | validateDerivedPKClassId(String attributeName, String expectedType, String referenceClassName)
INTERNAL: This method is used to validate derived id fields only. |
| public void | validatePKClassId(String attributeName, String actualType)
INTERNAL: This method is used only to validate id fields that were found on a pk class were also found on the entity. |