|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--psman.data.PseudonymType
The type of pseudonyms.
Field Summary | |
(package private) int |
id
|
(package private) java.lang.String |
name
|
Constructor Summary | |
PseudonymType(int id,
java.lang.String name)
Constructor, only for existing pseudonym types. |
|
PseudonymType(java.lang.String name)
Constructor, only for new pseudonym types. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
boolean |
equals(psman.data.PseudonymType data)
Check whether this pseudonym type is equal to another one. |
int |
getID()
Return the database ID of this pseudonym type. |
java.lang.String |
getName()
Return the name of this pseudonym type. |
int |
hashCode()
|
void |
setID(int id)
Set the database ID of this pseudonym type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
int id
java.lang.String name
Constructor Detail |
public PseudonymType(int id, java.lang.String name)
id
- the database ID of this pseudonym typename
- the name of this pseudonym typepublic PseudonymType(java.lang.String name)
name
- the name of this pseudonym typeMethod Detail |
public int getID()
public java.lang.String getName()
public void setID(int id)
id
- the database ID of this pseudonym type.public boolean equals(psman.data.PseudonymType data)
true
if they are equal,
false
otherwisepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |