public class Parameters<C> extends Object
Modifier and Type | Field and Description |
---|---|
static Parameters<TopicIF> |
ASSOCIATIONTYPE |
static Parameters<String> |
ID |
static Parameters<String> |
LANGUAGE |
static Parameters<Integer> |
LIMIT |
static Parameters<Integer> |
OFFSET |
static Parameters<TopicIF> |
ROLETYPE |
static Parameters<TopicIF> |
TOPIC |
static Parameters<String> |
TOPICMAP |
static Parameters<TopicNameIF> |
TOPICNAME |
static Parameters<TopicIF> |
TYPE |
Modifier | Constructor and Description |
---|---|
protected |
Parameters(String name,
Class<C> expected) |
Modifier and Type | Method and Description |
---|---|
Class<C> |
getExpected() |
String |
getName() |
C |
optional(AbstractTransactionalResource resource) |
C |
required(AbstractTransactionalResource resource) |
C |
resolve(AbstractTransactionalResource resource,
boolean allowNull) |
<T> Parameters<T> |
withExpected(Class<T> expected) |
Parameters<C> |
withName(String name) |
public static final Parameters<String> TOPICMAP
public static final Parameters<String> ID
public static final Parameters<TopicIF> TOPIC
public static final Parameters<TopicIF> TYPE
public static final Parameters<TopicIF> ROLETYPE
public static final Parameters<TopicIF> ASSOCIATIONTYPE
public static final Parameters<TopicNameIF> TOPICNAME
public static final Parameters<Integer> LIMIT
public static final Parameters<Integer> OFFSET
public static final Parameters<String> LANGUAGE
public String getName()
public Parameters<C> withName(String name)
public <T> Parameters<T> withExpected(Class<T> expected)
public C required(AbstractTransactionalResource resource)
public C optional(AbstractTransactionalResource resource)
public C resolve(AbstractTransactionalResource resource, boolean allowNull)