Package com.jk.web.mvc
Class MvcEntityMeta
java.lang.Object
com.jk.web.mvc.MvcEntityMeta
This class represents metadata for a Model-View-Controller (MVC) entity.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addField
(MvcFieldMeta field) This method adds a new field to the list of field metadata associated with this MVC entity.This method retrieves the name of the bean associated with this MVC entity.This method retrieves the list of field metadata associated with this MVC entity.getName()
This method retrieves the name of the MVC entity.void
setBeanName
(String beanName) This method sets the name of the bean associated with this MVC entity to the provided value.void
setFields
(List<MvcFieldMeta> fields) This method sets the list of field metadata associated with this MVC entity to the provided one.void
This method sets the name of the MVC entity.
-
Constructor Details
-
MvcEntityMeta
public MvcEntityMeta()
-
-
Method Details
-
setBeanName
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
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
This method sets the name of the MVC entity.- Parameters:
name
- Specifies the new name of the MVC entity.
-
getName
This method retrieves the name of the MVC entity.- Returns:
- the name of the MVC entity.
-
addField
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
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
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.
-