EntityT
- The entity type.EnumT
- The Enum type.public static class SimpleProperty.Enum<EntityT,EnumT extends VdmEnum> extends Object implements SimpleProperty<EntityT>, FilterableEnum<EntityT,EnumT>
SimpleProperty.All<Entity>, SimpleProperty.Boolean<EntityT>, SimpleProperty.Collection<EntityT,ValueT>, SimpleProperty.Date<EntityT>, SimpleProperty.DateTime<EntityT>, SimpleProperty.Duration<EntityT>, SimpleProperty.Enum<EntityT,EnumT extends VdmEnum>, SimpleProperty.Guid<EntityT>, SimpleProperty.NumericDecimal<EntityT>, SimpleProperty.NumericInteger<EntityT>, SimpleProperty.String<EntityT>, SimpleProperty.Time<EntityT>
Constructor and Description |
---|
Enum(Class<EntityT> entityType,
String fieldName,
String enumType) |
Modifier and Type | Method and Description |
---|---|
Class<EntityT> |
getEntityType()
Get the type of the entity which references the value.
|
String |
getEnumType()
OData Enum type identifier.
|
String |
getFieldName()
javadoc
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, desc
asBoolean, asCollection, asDate, asDateTimeOffset, asDuration, asNumber, asString, asTimeOfDay, getExpression, of
equalTo, equalTo, notEqualTo, notEqualTo
greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, lessThan, lessThan, lessThanEqual, lessThanEqual
getExpression
equalTo, equalTo, notEqualTo, notEqualTo
public Class<EntityT> getEntityType()
EntityReference
getEntityType
in interface EntityReference<EntityT>
public String getFieldName()
Expressions.FieldReference
getFieldName
in interface Expressions.FieldReference
public String getEnumType()
FilterableEnum
getEnumType
in interface FilterableEnum<EntityT,EnumT extends VdmEnum>
Copyright © 2020 SAP SE. All rights reserved.