Class MvcEntityMeta

java.lang.Object
com.jk.web.mvc.MvcEntityMeta

public class MvcEntityMeta extends Object
This class represents metadata for a Model-View-Controller (MVC) entity.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
  • Constructor Details

    • MvcEntityMeta

      public MvcEntityMeta()
  • Method Details

    • setBeanName

      public void setBeanName(String beanName)
      This method sets the name of the bean associated with this MVC entity to the provided value.
      Parameters:
      beanName - Specifies the new name of the bean associated with this MVC entity.
    • getBeanName

      public String getBeanName()
      This method retrieves the name of the bean associated with this MVC entity.
      Returns:
      the name of the bean associated with this MVC entity.
    • setName

      public void setName(String name)
      This method sets the name of the MVC entity.
      Parameters:
      name - Specifies the new name of the MVC entity.
    • getName

      public String getName()
      This method retrieves the name of the MVC entity.
      Returns:
      the name of the MVC entity.
    • addField

      public void addField(MvcFieldMeta field)
      This method adds a new field to the list of field metadata associated with this MVC entity.
      Parameters:
      field - Specifies the new field in the list of field metadata associated with this MVC entity.
    • getFields

      public List<MvcFieldMeta> getFields()
      This method retrieves the list of field metadata associated with this MVC entity.
      Returns:
      the list of field metadata associated with this MVC entity.
    • setFields

      public void setFields(List<MvcFieldMeta> fields)
      This method sets the list of field metadata associated with this MVC entity to the provided one.
      Parameters:
      fields - Specifies the new list of field metadata associated with this MVC entity.