Interface DynamicType

  • All Known Implementing Classes:
    DynamicTypeImpl

    public interface DynamicType
    An EntityType provides a metadata facade into the EclipseLink object-relational metadata (descriptors & mappings) with specific knowledge of the entity types being dynamic.
    Since:
    EclipseLink 1.2
    Author:
    dclarke, mnorman
    • Method Detail

      • getClassName

        String getClassName()
        Returns:
        Fully qualified name of mapped class.
      • getParentType

        DynamicType getParentType()
        Returns:
        The parent type or null if this type does not have a persistent superclass
      • getNumberOfProperties

        int getNumberOfProperties()
        The current number of properties.

        Note: Some implementations support adding mapped attributes at runtime so it is best to avoid caching the result.

      • getPropertiesNames

        List<String> getPropertiesNames()
        The current names of properties.

        Note: Some implementations support adding mapped attributes at runtime so it is best to avoid caching the result.

      • containsProperty

        boolean containsProperty​(String propertyName)
      • getPropertyIndex

        int getPropertyIndex​(String propertyName)
      • getPropertyType

        Class<?> getPropertyType​(int propertyIndex)
      • getPropertyType

        Class<?> getPropertyType​(String propertyName)