public class DigipeatAliasRecord extends java.lang.Object implements java.lang.Comparable<DigipeatAliasRecord>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
alias |
boolean |
enabled |
boolean |
isN_N |
boolean |
isTraced |
| Constructor and Description |
|---|
DigipeatAliasRecord() |
DigipeatAliasRecord(java.lang.String alias,
java.lang.String params)
Create a DigipeatAliasRecord using string format attributes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DigipeatAliasRecord o) |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
java.lang.String |
getAliasString() |
int |
hashCode()
Returns a hash code value for the object.
|
void |
readFromPreferences(java.util.prefs.Preferences prefs) |
java.lang.String |
toString() |
void |
writeToPreferences(java.util.prefs.Preferences prefs) |
public java.lang.String alias
public boolean isN_N
public boolean enabled
public boolean isTraced
public DigipeatAliasRecord()
public DigipeatAliasRecord(java.lang.String alias,
java.lang.String params)
alias - String name of aliasparams - String of comma-separated boolean strings, indicating whether
this is a n-N alias, the alias is enabled, and whether this alias should be tracedpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object with which to compare.true if this object is the same as the obj
argument; false otherwise.hashCode()public int hashCode()
java.util.Hashtable.hashCode in class java.lang.Objectequals(java.lang.Object)public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getAliasString()
public int compareTo(DigipeatAliasRecord o)
compareTo in interface java.lang.Comparable<DigipeatAliasRecord>public void writeToPreferences(java.util.prefs.Preferences prefs)
public void readFromPreferences(java.util.prefs.Preferences prefs)