EntityT
- VdmObject that the field belongs toFieldT
- Field typepublic class EntityField<EntityT,FieldT> extends Object implements EntitySelectable<EntityT>
Constructor and Description |
---|
EntityField(String fieldName)
Use the constants declared in each entity inner class.
|
Modifier and Type | Method and Description |
---|---|
ExpressionFluentHelper<EntityT> |
eq(FieldT value)
Equals expression fluent helper.
|
boolean |
equals(Object o) |
ExpressionFluentHelper<EntityT> |
ge(FieldT value)
Greater than or equals expression fluent helper.
|
String |
getFieldName() |
List<String> |
getSelections() |
ExpressionFluentHelper<EntityT> |
gt(FieldT value)
Greater than expression fluent helper.
|
int |
hashCode() |
ExpressionFluentHelper<EntityT> |
le(FieldT value)
Less than or equals expression fluent helper.
|
ExpressionFluentHelper<EntityT> |
lt(FieldT value)
Less than expression fluent helper.
|
ExpressionFluentHelper<EntityT> |
ne(FieldT value)
Not equals expression fluent helper.
|
public EntityField(String fieldName)
fieldName
- OData field name. Must match the field returned by the underlying OData service.public ExpressionFluentHelper<EntityT> eq(FieldT value)
value
- Field value to compare with.public ExpressionFluentHelper<EntityT> ne(FieldT value)
value
- Field value to compare with.public ExpressionFluentHelper<EntityT> gt(FieldT value)
value
- Field value to compare with.public ExpressionFluentHelper<EntityT> ge(FieldT value)
value
- Field value to compare with.public ExpressionFluentHelper<EntityT> lt(FieldT value)
value
- Field value to compare with.public ExpressionFluentHelper<EntityT> le(FieldT value)
value
- Field value to compare with.public List<String> getSelections()
getSelections
in interface EntitySelectable<EntityT>
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String getFieldName()
getFieldName
in interface EntitySelectable<EntityT>
Copyright © 2018 SAP SE. All rights reserved.