Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## hu.diplomamunka.model
Class User

    java.lang.Object
      hu.diplomamunka.model.User

All Implemented Interfaces:
  java.io.Serializable

    public class User

extends java.lang.Object
implements java.io.Serializable

See Also:
  Serialized Form

Constructor Summary
`User()`

Method Summary
`void` | `cloneUser(User u)`
`java.util.Collection<Account>` | `getAccounts()`
`java.lang.Integer` | `getId()`
`java.lang.String` | `getName()`
`boolean` | `hasAccounts()`
`void` | `setAccounts(java.util.Collection<Account> accounts)`
`void` | `setId(java.lang.Integer id)`
`void` | `setName(java.lang.String name)`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### User

    public User()

Method Detail

### getId

    public java.lang.Integer getId()

  Returns:
    the id of the User

### setId

    public void setId(java.lang.Integer id)

  Parameters:
    `id` -

### getAccounts

    public java.util.Collection<Account> getAccounts()

  Returns:
    all the accounts binded to the User

### setAccounts

    public void setAccounts(java.util.Collection<Account> accounts)

  Parameters:
    `accounts` -

### getName

    public java.lang.String getName()

  Returns:
    the name of the User

### setName

    public void setName(java.lang.String name)

  Parameters:
    `name` -

### cloneUser

    public void cloneUser(User u)

### hasAccounts

    public boolean hasAccounts()

  Returns:
    if the User has any accounts

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD