Interface ClassMetadata

    • Method Detail

      • setPersistenceModifier

        ClassMetadata setPersistenceModifier​(ClassPersistenceModifier mod)
        Method to define the persistence modifier.
        Parameters:
        mod - persistence modifier
        Returns:
        This metadata object
      • getPersistenceModifier

        ClassPersistenceModifier getPersistenceModifier()
        Accessor for the persistence modifier.
        Returns:
        persistence modifier
      • newFieldMetadata

        FieldMetadata newFieldMetadata​(String name)
        Add a new field to this class.
        Parameters:
        name - Name of the field
        Returns:
        The FieldMetadata
      • newFieldMetadata

        FieldMetadata newFieldMetadata​(Field fld)
        Add a new field to this class.
        Parameters:
        fld - The field
        Returns:
        The FieldMetadata