Class ModelInterface


  • public class ModelInterface
    extends ModelType
    • Field Detail

      • superInterface

        private java.lang.String superInterface
    • Constructor Detail

      • ModelInterface

        public ModelInterface()
      • ModelInterface

        public ModelInterface​(Model model,
                              java.lang.String name)
    • Method Detail

      • setSuperInterface

        public void setSuperInterface​(java.lang.String superInterface)
      • getSuperInterface

        public java.lang.String getSuperInterface()
      • getAllFields

        public java.util.List<ModelField> getAllFields()
        Returns the list of all fields in this class. It does not include the fields of super classes.
        Specified by:
        getAllFields in class ModelType
        Returns:
        Returns the list of all fields in this class. It does not include the fields of super classes.
      • getAllFields

        public java.util.List<ModelField> getAllFields​(boolean withInheritedField)
        Returns all the fields in this class and all super classes if withInheritedField equals to true.
        Specified by:
        getAllFields in class ModelType
        Parameters:
        withInheritedField - whether inherited fields should be included.
        Returns:
        Returns all the fields in this class and all super classes.