public enum TypeView extends Enum<TypeView>
Enum Constant and Description |
---|
ACCOUNT |
APP |
APP_MODEL |
CASE |
CASE_MODEL |
DOCUMENT |
DOCUMENT_MODEL |
FORM_MODEL |
GROUP |
MAIL_MODEL |
PROCESS |
PROCESS_MODEL |
QUERY |
TASK |
TASK_MODEL |
TENANT |
USER |
Modifier and Type | Method and Description |
---|---|
static TypeView |
find(com.edorasware.commons.core.entity.Type type)
Finds a new type view instance by the given type.
|
static TypeView |
find(com.edorasware.commons.core.entity.Type type,
com.google.common.base.Optional<String> qualifier)
Finds a new type view instance by the given type.
|
com.google.common.base.Optional<String> |
getQualifier() |
com.edorasware.commons.core.entity.Type |
getType() |
com.google.common.collect.ImmutableList<ViewName> |
getViews() |
static TypeView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeView APP
public static final TypeView CASE
public static final TypeView TASK
public static final TypeView DOCUMENT
public static final TypeView APP_MODEL
public static final TypeView QUERY
public static final TypeView CASE_MODEL
public static final TypeView PROCESS_MODEL
public static final TypeView TASK_MODEL
public static final TypeView DOCUMENT_MODEL
public static final TypeView FORM_MODEL
public static final TypeView MAIL_MODEL
public static final TypeView ACCOUNT
public static final TypeView GROUP
public static final TypeView USER
public static final TypeView TENANT
public static final TypeView PROCESS
public static TypeView[] values()
for (TypeView c : TypeView.values()) System.out.println(c);
public static TypeView 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 static TypeView find(com.edorasware.commons.core.entity.Type type)
type
- the type of the type view to createIllegalArgumentException
- if the id is not knownpublic static TypeView find(com.edorasware.commons.core.entity.Type type, com.google.common.base.Optional<String> qualifier)
type
- the type of the type view to createqualifier
- the qualifier of the type view to createIllegalArgumentException
- if the id is not knownpublic com.edorasware.commons.core.entity.Type getType()
public com.google.common.base.Optional<String> getQualifier()
public com.google.common.collect.ImmutableList<ViewName> getViews()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.