class IPvXCondition extends EntitlementConditionAdaptor {

    public void setDnsName(List<String> dnsName) throws EntitlementException {
        if (dnsName != null) {
            for (String dnsNameEntry : dnsName) {
                if (!isValidDnsName(dnsNameEntry)) {
                    throw new EntitlementException(INVALID_PROPERTY_VALUE, new String[]{DNS_NAME, dnsNameEntry});
                }
            }
        }
        this.dnsName = dnsName;
    }

    protected  IPvXCondition(Debug debug, T initialStartIp, T initialEndIp, IPVersion version);
    protected  IPvXCondition(Debug debug, T initialStartIp, T initialEndIp, IPVersion version,
                            String startIp, String endIp, List<String> ipRange, List<String> dnsName);

}