This is a Java Bean builder that generates Java beans using a text file, which may be called a bean definition file.
We may use a lot of data objects (value objects) in the development process, most of which are encapsulated into one bean. Although the major
The IDE provides the tools to facilitate the generation of this data bean, but it's all step-by-Step dialog boxes, unlike this,
This allows you to define multiple beans in one file and generate all beans at a time. Of course it has its limitations, and it is only
Simply generate the private data domain and public setter, getter, and will not import the necessary packages for you. But still,
Also can greatly facilitate the data bean more, or bean fields more applications.
The bean definition file (. bd) format is as follows:
This is the comment, preceded by "//".
Use "#" to represent the bean name.
Note cannot be written on the same line as the Bean name or data field.
#MyBean1
int I
Long L
String s
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.