zoukankan      html  css  js  c++  java
  • override 一个用例

     1 package com.itbconsult.amqp;
     2 
     3 import java.io.Serializable;
     4 
     5 /**
     6  * A model class for a big, imaginary, expensive operation
     7  * that a user submits via the web, but is processed async
     8  * by a worker.
     9  */
    10 public class BigOperation implements Serializable {
    11 
    12     private String name;
    13 
    14     private String matrixId;
    15     
    16     private String userId;
    17     
    18     public String getUserId() {
    19         return userId;
    20     }
    21 
    22     public void setUserId(String userId) {
    23         this.userId = userId;
    24     }
    25 
    26     public String getMatrixId() {
    27         return matrixId;
    28     }
    29 
    30     public void setMatrixId(String matrixId) {
    31         this.matrixId = matrixId;
    32     }
    33 
    34     public BigOperation() {
    35     }
    36 
    37     public BigOperation(String name) {
    38         this.name = name;
    39     }
    40 
    41     public void setName(String name) {
    42         this.name = name;
    43     }
    44 
    45     public String getName() {
    46         return name;
    47     }
    48 
    49     @Override
    50     public String toString() {
    51         return "BigOperation{" +
    52                 "name='" + name + '\'' +
    53                 '}';
    54     }
    55 }
  • 相关阅读:
    PCRE
    [转]如何解决严重的拖延症
    linux系统编程:setjmp和longjmp函数用法
    AWK中几个变量
    关于fork函数
    go mod
    golang+read_file+call_shell+goroutine
    vim for galang
    Linux install go
    为Git branch 打Tag
  • 原文地址:https://www.cnblogs.com/yqskj/p/3101802.html
Copyright © 2011-2022 走看看