public enum WurbletArgumentType extends Enum<WurbletArgumentType>
WurbletArgument.| Enum Constant and Description |
|---|
CONDITION
An
Attribute that must meet a condition. |
EXTRA
An extra
Attribute.Usually used for SQL UPDATE. |
JOIN
A
Relation that will be joined and eagerly loaded. |
SORT
An
Attribute used for sorting. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAttributeAllowed()
Returns whether an
Attribute is allowed. |
boolean |
isAttributeOptional()
Returns whether an
Attribute may be given optionally. |
boolean |
isAttributeRequired()
Returns whether an
Attribute is required. |
boolean |
isNameOptional()
Returns whether the name of the method argument is optional.
|
boolean |
isPathAllowed()
Returns whether a
Relation path is allowed. |
boolean |
isPathOptional()
Returns whether a
Relation path may be given optionally. |
boolean |
isPathRequired()
Returns whether a
Relation path is required. |
boolean |
isRelopOptional()
Returns whether the relop is optional.
|
static WurbletArgumentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WurbletArgumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WurbletArgumentType CONDITION
Attribute that must meet a condition.public static final WurbletArgumentType EXTRA
Attribute.public static final WurbletArgumentType SORT
Attribute used for sorting.public static final WurbletArgumentType JOIN
Relation that will be joined and eagerly loaded.public static WurbletArgumentType[] values()
for (WurbletArgumentType c : WurbletArgumentType.values()) System.out.println(c);
public static WurbletArgumentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isPathOptional()
Relation path may be given optionally.public boolean isPathRequired()
Relation path is required.public boolean isPathAllowed()
Relation path is allowed.public boolean isAttributeOptional()
Attribute may be given optionally.public boolean isAttributeRequired()
Attribute is required.public boolean isAttributeAllowed()
Attribute is allowed.public boolean isNameOptional()
public boolean isRelopOptional()
Tentackle - distributed, domain- and model-driven