Interface ClassInfoIF

All Known Implementing Classes:
ClassInfo

public interface ClassInfoIF
INTERNAL: A interface for class descriptor-like object types that is used by the proxy implementation to access the information it needs about the object relational class descriptor in an optimized manner.

  • Field Details

    • TYPE_IDENTIFIABLE

      static final int TYPE_IDENTIFIABLE
      Flag indicating that the descriptor class is identifiable.
      See Also:
    • TYPE_AGGREGATE

      static final int TYPE_AGGREGATE
      Flag indicating that the descriptor class is an aggregate.
      See Also:
    • STRUCTURE_OBJECT

      static final int STRUCTURE_OBJECT
      Flag indicating that the descriptor class has object structure.
      See Also:
    • STRUCTURE_COLLECTION

      static final int STRUCTURE_COLLECTION
      Flag indicating that the descriptor class has collection structure.
      See Also:
  • Method Details

    • getMapping

      INTERNAL: Returns the owning object relational mapping instance.
    • getName

      String getName()
      INTERNAL: Returns the name of the descriptor class (the mapped class).
    • getDescriptorClass

      Class<?> getDescriptorClass()
      INTERNAL: Return the descriptor class described by the descriptor.
    • createInstance

      Object createInstance(boolean immutable) throws Exception
      INTERNAL: Creates an instance of the descriptor class. Actual implementation will depend on the immutable argument.
      Throws:
      Exception
    • getFieldInfoByName

      FieldInfoIF getFieldInfoByName(String name)
      INTERNAL: Get the field info by name.
    • getIdentityFieldInfo

      FieldInfoIF getIdentityFieldInfo()
      INTERNAL: Get the identity field info. Note that this field info is a wrapper instance that wraps the value field infos representing the fields used to represent the object identity.
    • getValueFieldInfos

      FieldInfoIF[] getValueFieldInfos()
      INTERNAL: Get the value field infos. The field infos are returned in the same order as specified by their index property.
    • getOne2OneFieldInfos

      FieldInfoIF[] getOne2OneFieldInfos()
      INTERNAL: Get the 1:1 field infos.
    • getOne2ManyFieldInfos

      FieldInfoIF[] getOne2ManyFieldInfos()
      INTERNAL: Get the 1:M field infos.
    • getMany2ManyFieldInfos

      FieldInfoIF[] getMany2ManyFieldInfos()
      INTERNAL: Get the M:M field infos.
    • isAbstract

      boolean isAbstract()
      INTERNAL: Returns true if the descriptor class is declared as an abstract descriptor.
    • isIdentifiable

      boolean isIdentifiable()
      INTERNAL: Returns true if the descriptor class is declared as a an identifiable type.
    • isAggregate

      boolean isAggregate()
      INTERNAL: Returns true if the descriptor class is declared as an aggregate type.
    • getStructure

      int getStructure()
      INTERNAL: Returns the structure of the descriptor class. This can either be OBJECT, COLLECTION or MAP.
    • getMasterTable

      String getMasterTable()
      INTERNAL: Returns the name of the master table in which the class is stored. This is the table which typically contains the instance identity.