public class EnumValuedAttribute<T extends Enum<T>> extends Attribute<T>
| Constructor and Description |
|---|
EnumValuedAttribute(String name,
Class<T> type,
Class<? extends Identified> target,
boolean isCollection) |
| Modifier and Type | Method and Description |
|---|---|
AttributeQuery<T> |
createQuery(Operator op,
Iterable<T> values) |
Class<T> |
requiresOperandOfType() |
T |
toEnumValue(String value) |
String |
toString() |
static <T extends Enum<T>> |
valueOf(String name,
Class<T> type,
Class<? extends Identified> target,
boolean isCollection) |
alias, allowShortMatches, equals, externalName, getPath, getPathPrefix, hasAlias, hashCode, isCollectionOfValues, javaAttributeName, target, withAlias, withJavaAttributepublic EnumValuedAttribute(String name, Class<T> type, Class<? extends Identified> target, boolean isCollection)
public static final <T extends Enum<T>> EnumValuedAttribute<T> valueOf(String name, Class<T> type, Class<? extends Identified> target, boolean isCollection)
public AttributeQuery<T> createQuery(Operator op, Iterable<T> values)
Copyright © 2014. All rights reserved.