org.ka2ddo.yaac.aprs
Class LocalDestinationRecord
java.lang.Object
org.ka2ddo.yaac.aprs.LocalDestinationRecord
- All Implemented Interfaces:
- java.lang.Comparable<LocalDestinationRecord>
public class LocalDestinationRecord
- extends java.lang.Object
- implements java.lang.Comparable<LocalDestinationRecord>
This class defines one local destination callsign record. This record type may also be
used for group broadcasts for groups this station is a member of.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
callsign
public java.lang.String callsign
enabled
public boolean enabled
eventType
public MsgEventType eventType
LocalDestinationRecord
public LocalDestinationRecord()
LocalDestinationRecord
public LocalDestinationRecord(java.lang.String callsign)
LocalDestinationRecord
public LocalDestinationRecord(java.lang.String callsign,
boolean enabled)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(LocalDestinationRecord o)
- Specified by:
compareTo
in interface java.lang.Comparable<LocalDestinationRecord>
writeToPreferences
public void writeToPreferences(java.util.prefs.Preferences prefs)
readFromPreferences
public void readFromPreferences(java.util.prefs.Preferences prefs)