Mercurial > hg > Database > Christie
view src/main/java/christie/topology/manager/Parent.java @ 168:c7300be0fff6
fix incomingHosts end message
author | akahori |
---|---|
date | Tue, 22 Jan 2019 16:00:29 +0900 |
parents | 2314c55534ef |
children |
line wrap: on
line source
package christie.topology.manager; public class Parent { private String name; private int children = 0; public Parent(String name) { this.name = name; } public int children() { return children; } public void setChildren(int num) { children = num; } public String getName() { return name; } public void setName(String n) { name = n; } public void increment() { children++; } public void decrement() { children--; } }