Class LazyAttributesMetadata

  • All Implemented Interfaces:
    java.io.Serializable

    public class LazyAttributesMetadata
    extends java.lang.Object
    implements java.io.Serializable
    Information about all of the bytecode lazy attributes for an entity
    See Also:
    Serialized Form
    • Constructor Detail

      • LazyAttributesMetadata

        public LazyAttributesMetadata​(java.lang.String entityName)
      • LazyAttributesMetadata

        public LazyAttributesMetadata​(java.lang.String entityName,
                                      java.util.Map<java.lang.String,​LazyAttributeDescriptor> lazyAttributeDescriptorMap,
                                      java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> fetchGroupToAttributeMap)
    • Method Detail

      • getEntityName

        public java.lang.String getEntityName()
      • hasLazyAttributes

        public boolean hasLazyAttributes()
      • lazyAttributeCount

        public int lazyAttributeCount()
      • getLazyAttributeNames

        public java.util.Set<java.lang.String> getLazyAttributeNames()
      • getFetchGroupNames

        public java.util.Set<java.lang.String> getFetchGroupNames()
        Returns:
        an immutable set
      • isLazyAttribute

        public boolean isLazyAttribute​(java.lang.String attributeName)
      • getFetchGroupName

        public java.lang.String getFetchGroupName​(java.lang.String attributeName)
      • getAttributesInFetchGroup

        public java.util.Set<java.lang.String> getAttributesInFetchGroup​(java.lang.String fetchGroupName)
      • getFetchGroupAttributeDescriptors

        public java.util.List<LazyAttributeDescriptor> getFetchGroupAttributeDescriptors​(java.lang.String groupName)
      • getAttributesInSameFetchGroup

        @Deprecated
        public java.util.Set<java.lang.String> getAttributesInSameFetchGroup​(java.lang.String attributeName)
        Deprecated.
        This method is not being used and as such will be removed