ObjectT
- Entity type of subclasses from VdmObject
.public class PurchaseOrderItemOneToOneLink<ObjectT extends VdmObject<?>> extends PurchaseOrderItemLink<ObjectT> implements OneToOneLink<PurchaseOrderItem,ObjectT>
PurchaseOrderItem
to
other entities, where the cardinality of the related entity is at most 1. This class extends
PurchaseOrderItemLink
and provides an additional filter function.Constructor and Description |
---|
PurchaseOrderItemOneToOneLink(String fieldName)
Use the constants declared in each entity inner class.
|
Modifier and Type | Method and Description |
---|---|
ExpressionFluentHelper<PurchaseOrderItem> |
filter(ExpressionFluentHelper<ObjectT> filterExpression)
Query modifier to restrict the result set to entities for which this expression (formulated over a property of a
related entity) evaluates to true.
|
translateLinkType
canEqual, equals, getExpansions, getFieldName, getSelections, hashCode, select, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFieldName, getSelections
public PurchaseOrderItemOneToOneLink(String fieldName)
fieldName
- OData navigation field name. Must match the field returned by the underlying OData service.@Nonnull public ExpressionFluentHelper<PurchaseOrderItem> filter(@Nonnull ExpressionFluentHelper<ObjectT> filterExpression)
filter
in interface OneToOneLink<PurchaseOrderItem,ObjectT extends VdmObject<?>>
filterExpression
- A filter expression on the related entity.Copyright © 2020 SAP SE. All rights reserved.