public class Factory
extends Object
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
static Content |
content()
Retrieve a populated Content instance with id 0.
|
static Content |
content(int id)
Retrieve a populated Content instance.
|
static Content |
content(String id)
Retrieve a populated Content instance.
|
static Message |
message()
Retrieve a Message instance.
|
static MessageList |
messageList()
Retrieve a Message list.
|
static NoSql |
nosql()
Retreive a NoSql storage instance.
|
static Sql |
sql()
Retreive a Sql storage instance.
|
public static Content content(int id)
id
- The ID of the content type.public static Content content(String id)
id
- The ID of the content type.public static Content content()
public static Message message()
public static MessageList messageList()
public static Sql sql()
public static NoSql nosql()