Class ModelClass

    • Constructor Detail

      • ModelClass

        public ModelClass()
      • ModelClass

        public ModelClass​(Model model,
                          String name)
    • Method Detail

      • getSuperClass

        public String getSuperClass()
      • setSuperClass

        public void setSuperClass​(String superClass)
      • getInterfaces

        public List<String> getInterfaces()
        Returns the list of all interfaces of this class.
        Returns:
        Returns the list of all interfaces of this class.
      • addInterface

        public void addInterface​(String modelInterface)
      • getAllFields

        public 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 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.
      • addField

        public void addField​(ModelField modelField)
      • hasSuperClass

        public boolean hasSuperClass()
      • isInternalSuperClass

        public boolean isInternalSuperClass()