de.fhkl.zw.mkup.rattrap.entity
Class AccessMethod
java.lang.Object
de.fhkl.zw.mkup.rattrap.entity.AbstractEntity
de.fhkl.zw.mkup.rattrap.entity.AccessMethod
public class AccessMethod
- extends AbstractEntity
- Author:
- rob
this class encapsulates persistence of the AccessMethod entity.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessMethod
public AccessMethod()
load
public void load(int accessMethodPK)
throws EntityNotFoundException
- Throws:
EntityNotFoundException
update
public void update()
throws java.sql.SQLException
- Specified by:
update
in class AbstractEntity
- Throws:
java.sql.SQLException
insert
public void insert()
throws java.sql.SQLException
- Specified by:
insert
in class AbstractEntity
- Throws:
java.sql.SQLException
delete
public void delete()
throws java.sql.SQLException
- Specified by:
delete
in class AbstractEntity
- Throws:
java.sql.SQLException
getDifficulty
public int getDifficulty()
- Returns:
- Returns the difficulty.
setDifficulty
public void setDifficulty(int difficulty)
- Parameters:
difficulty
- The difficulty to set.
getName
public java.lang.String getName()
- Returns:
- Returns the name.
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
getAccessMethodPK
public int getAccessMethodPK()
- Returns:
- Returns the accessMethodPK.