Back to project page digital-ocean-swimmer.
The source code is released under:
MIT License
If you think the Android project digital-ocean-swimmer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.yassirh.digitalocean.model; /*from ww w . ja v a 2 s . c o m*/ import java.util.List; public class Domain { private String name; private int ttl; private String zoneFile; private List<Record> records; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getTtl() { return ttl; } public void setTtl(int ttl) { this.ttl = ttl; } public String getLiveZoneFile() { return zoneFile; } public void setLiveZoneFile(String liveZoneFile) { this.zoneFile = liveZoneFile; } public List<Record> getRecords() { return records; } public void setRecords(List<Record> records) { this.records = records; } @Override public boolean equals(Object o) { if (o == this) return true; if (o == null) return false; if (o instanceof Domain){ Domain other = (Domain)o; return other.getName().equals(this.name); } else return false; } }