idea to use PlantUML painting class Tutorials

Ah, in the study design patterns, like painting a picture of trouble, I checked and found that idea can be achieved through plug-ins. Search a bit to learn, to share and organize notes. 2019.9.11

 

Installation can Baidu, the Internet has a lot.

PlantUML official website. If more time, I suggest you learn directly above. http://plantuml.com/zh/class-diagram

 

Some simple list:

  1. Properties and methods of a class.
  2. package com.liruilong.tx_sjms.Iterator;
    
    import javax.xml.crypto.Data;
    
    /**
     * @Description : 表示书的类
     * @Author: Liruilong
     * @Date: 2019/9/11 0:13
     */
    public class Book {
        private String name;  // 书名
        protected static Integer pages; // 页数
        String synopsis ;// 概要
        public  Data publicationDate;
        
        public Book(String name) {
            this.name = name;
        }
        public String getName() {
            return name;
        }
        public void setName(String name) {
            this.name = name;
        }
        public static Integer getPages() {
            return pages;
        }
        public static void setPages(Integer pages) {
            Book.pages = pages;
        }
        public String getSynopsis() {
            return synopsis;
        }
        public void setSynopsis(String synopsis) {
            this.synopsis = synopsis;
        }
        public Data getPublicationDate() {
            return publicationDate;
        }
    
        public void setPublicationDate(Data publicationDate) {
            this.publicationDate = publicationDate;
        }
    
        
    }
  3. Class in relation class:
  4.  

    Abstract classes and interfaces :

  5.  

  6. Pack style :

  7.  

  8. Remarks and Templates
  9.  

     

  10.  

     

 

Guess you like

Origin www.cnblogs.com/liruilong/p/11506280.html