public class

UserWrapper

extends Model
java.lang.Object
   ↳ java.util.Observable
     ↳ fm.audiobox.core.models.Model
       ↳ fm.audiobox.core.models.UserWrapper

Class Overview

This class is used as simple User wrapper for those JSON parser that do not support root elements.

Summary

Public Constructors
UserWrapper()
Instantiates a new User wrapper.
UserWrapper(User user)
Instantiates a new User wrapper.
Public Methods
static String getPath()
Gets path.
User getUser()
Gets user.
[Expand]
Inherited Methods
From class fm.audiobox.core.models.Model
From class java.util.Observable
From class java.lang.Object

Public Constructors

public UserWrapper ()

Instantiates a new User wrapper.

public UserWrapper (User user)

Instantiates a new User wrapper.

Parameters
user the user to wrap

Public Methods

public static String getPath ()

Gets path.

Returns
  • the path

public User getUser ()

Gets user.

Returns
  • the user