de.fhkl.zw.mkup.rattrap.entity
Class AccessMethod

java.lang.Object
  extended by de.fhkl.zw.mkup.rattrap.entity.AbstractEntity
      extended by de.fhkl.zw.mkup.rattrap.entity.AccessMethod

public class AccessMethod
extends AbstractEntity

Author:
rob this class encapsulates persistence of the AccessMethod entity.

Constructor Summary
AccessMethod()
           
 
Method Summary
 void delete()
           
 int getAccessMethodPK()
           
 int getDifficulty()
           
 java.lang.String getName()
           
 void insert()
           
 void load(int accessMethodPK)
           
 void setDifficulty(int difficulty)
           
 void setName(java.lang.String name)
           
 void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessMethod

public AccessMethod()
Method Detail

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.