1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 package ohos.devtools.views.distributed.bean; 17 18 import ohos.devtools.views.trace.DField; 19 20 /** 21 * DistributedThreadBean 22 * 23 * @since 2021/08/11 20:13 24 */ 25 public class DistributedThreadBean { 26 @DField(name = "id") 27 private Integer id; 28 29 @DField(name = "name") 30 private String name; 31 32 @DField(name = "tid") 33 private Integer tid; 34 35 @DField(name = "pid") 36 private Integer pid; 37 getId()38 public Integer getId() { 39 return id; 40 } 41 setId(Integer id)42 public void setId(Integer id) { 43 this.id = id; 44 } 45 getName()46 public String getName() { 47 return name; 48 } 49 setName(String name)50 public void setName(String name) { 51 this.name = name; 52 } 53 getTid()54 public Integer getTid() { 55 return tid; 56 } 57 setTid(Integer tid)58 public void setTid(Integer tid) { 59 this.tid = tid; 60 } 61 getPid()62 public Integer getPid() { 63 return pid; 64 } 65 setPid(Integer pid)66 public void setPid(Integer pid) { 67 this.pid = pid; 68 } 69 } 70