| | |
| | | |
| | | public RegisterEntity(String name, String uri, String type) { |
| | | tags = new ArrayList<>(); |
| | | tags.add(name); |
| | | tags.add(type); |
| | | |
| | | this.name = name; |
| | |
| | | this.description = name; |
| | | this.isrequest = true; |
| | | this.hashid = StringHelper.getGuid(); |
| | | this.ispublic = false; |
| | | } |
| | | |
| | | public RegisterEntity(Integer pubid) { |
| | |
| | | private String reason; |
| | | |
| | | private String serialnum; |
| | | |
| | | private Boolean ispublic; |
| | | |
| | | public List<String> getTags() { |
| | | return tags; |
| | |
| | | public void setSerialnum(String serialnum) { |
| | | this.serialnum = serialnum; |
| | | } |
| | | |
| | | public Boolean getIspublic() { |
| | | return ispublic; |
| | | } |
| | | |
| | | public void setIspublic(Boolean ispublic) { |
| | | this.ispublic = ispublic; |
| | | } |
| | | } |