Class DummyBean
- java.lang.Object
-
- co.mastermindcms.framework.mocking.DummyBean
-
@Service public class DummyBean extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.Object>
address
private java.lang.String
description
private DummyUser
dummyUser
private java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
toDos
private java.util.List<java.lang.Object>
users
-
Constructor Summary
Constructors Constructor Description DummyBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToDo(java.lang.String name)
void
clear()
java.util.Map<java.lang.String,java.lang.Object>
getAddress()
java.lang.String
getDescription()
DummyUser
getDummyUser()
java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getToDos()
java.util.List<java.lang.Object>
getUsers()
void
setAddress(java.util.Map<java.lang.String,java.lang.Object> address)
void
setDescription(java.lang.String description)
void
setDummyUser(DummyUser dummyUser)
void
setToDos(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> toDos)
void
setUsers(java.util.List<java.lang.Object> users)
-
-
-
Field Detail
-
dummyUser
private DummyUser dummyUser
-
address
private java.util.Map<java.lang.String,java.lang.Object> address
-
description
private java.lang.String description
-
users
private java.util.List<java.lang.Object> users
-
toDos
private java.util.List<java.util.Map<java.lang.String,java.lang.Object>> toDos
-
-
Method Detail
-
getUsers
public java.util.List<java.lang.Object> getUsers()
-
setUsers
public void setUsers(java.util.List<java.lang.Object> users)
-
getDummyUser
public DummyUser getDummyUser()
-
setDummyUser
public void setDummyUser(DummyUser dummyUser)
-
getAddress
public java.util.Map<java.lang.String,java.lang.Object> getAddress()
-
setAddress
public void setAddress(java.util.Map<java.lang.String,java.lang.Object> address)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getToDos
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getToDos()
-
setToDos
public void setToDos(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> toDos)
-
clear
public void clear()
-
addToDo
public void addToDo(java.lang.String name)
-
-