|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--psman.data.Type
The type of transaction partners.
Constructor Summary | |
Type(int id,
java.lang.String name)
Constructor, only for existing types. |
|
Type(java.lang.String name)
Constructor, only for new types. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
boolean |
equals(psman.data.Type data)
|
int |
getID()
Return the database ID of this type. |
java.lang.String |
getName()
Return the name of this type. |
int |
hashCode()
|
void |
setID(int id)
Set the database ID of this type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Type(int id, java.lang.String name)
id
- the database id of this typename
- the name of this typepublic Type(java.lang.String name)
name
- the name of this typeMethod Detail |
public int getID()
public java.lang.String getName()
public void setID(int id)
id
- the database ID of this type.public boolean equals(psman.data.Type data)
public 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 |