br.com.objectos.rio.dhcp.HostPojo Maven / Gradle / Ivy
package br.com.objectos.rio.dhcp;
import br.com.objectos.rio.net.HardwareAddress;
import br.com.objectos.rio.net.IpAddress;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.way.pojo.PojoCompiler",
"br.com.objectos.way.pojo.StandardPojoPropertyAction"
})
final class HostPojo extends Host {
private final Group group;
private final String name;
private final HardwareAddress hwAddress;
private final IpAddress ipAddress;
public HostPojo(HostBuilderPojo builder) {
super();
group = builder.___get___group();
name = builder.___get___name();
hwAddress = builder.___get___hwAddress();
ipAddress = builder.___get___ipAddress();
}
@Override
protected Group group() {
return group;
}
@Override
protected String name() {
return name;
}
@Override
protected HardwareAddress hwAddress() {
return hwAddress;
}
@Override
protected IpAddress ipAddress() {
return ipAddress;
}
}