|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--kotkabeans.Person
is used with Person module to handle person IDs and identify submitted commands
| Field Summary | |
protected int |
addedPersonID
Stores added person ID. |
protected int |
modifiedPersonID
Stores modified person ID. |
| Constructor Summary | |
Person()
|
|
| Method Summary | |
int |
getAddedPersonID()
Retrieves added person ID (if this is 0 value is not set). |
int |
getModifiedPersonID()
Retrieves modified person ID (if this is 0 value is not set). |
int |
getTypeID(java.lang.String parameter,
java.lang.String body)
Retrieves typeID from string starting with body (followed by ID). |
boolean |
setAddedPersonID(int personID)
Sets added person ID. |
boolean |
setModifiedPersonID(int personID)
Sets modified person ID. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int addedPersonID
setAddedPersonID()-method is used to set the value.
getAddedPersonID()-method is used to retrieve the value.
setAddedPersonID(int),
getAddedPersonID()protected int modifiedPersonID
setModifiedPersonID()-method is used to set the value.
getModifiedPersonID()-method is used to retrieve the value.
setModifiedPersonID(int),
getModifiedPersonID()| Constructor Detail |
public Person()
| Method Detail |
public int getAddedPersonID()
public int getModifiedPersonID()
public boolean setAddedPersonID(int personID)
personID - added person ID
true if operation succeeded, false otherwise.public boolean setModifiedPersonID(int personID)
personID - modified person ID
true if operation succeeded, false otherwise.
public int getTypeID(java.lang.String parameter,
java.lang.String body)
parameter - parameter to be parsedbody - parameter parse mask
-1,-2 for null strings. -3 integer convert failed, -4,-5=not matching, greater than 0 = ID (match)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||