Class BPRelationshipLink<ObjectT extends VdmObject<?>>
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.EntityLink<BPRelationshipLink<ObjectT>,BPRelationship,ObjectT>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.businesspartner.link.BPRelationshipLink<ObjectT>
- Type Parameters:
ObjectT- Entity type of subclasses fromVdmObject.
- All Implemented Interfaces:
EntitySelectable<BPRelationship>,BPRelationshipSelectable
- Direct Known Subclasses:
BPRelationshipOneToOneLink
public class BPRelationshipLink<ObjectT extends VdmObject<?>>
extends EntityLink<BPRelationshipLink<ObjectT>,BPRelationship,ObjectT>
implements BPRelationshipSelectable
Template class to represent entity navigation links of
BPRelationship to other
entities. Instances of this object are used in query modifier methods of the entity fluent helpers. Contains methods
to compare a field's value with a provided value.
Use the constants declared in each entity inner class. Instantiating directly requires knowing the underlying OData
field names, so use the constructor with caution.-
Constructor Summary
ConstructorsConstructorDescriptionBPRelationshipLink(String fieldName) Use the constants declared in each entity inner class. -
Method Summary
Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.EntityLink
canEqual, equals, filterOnOneToOneLink, getExpansions, getFieldName, getSelections, hashCode, select, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.EntitySelectable
getFieldName, getSelections
-
Constructor Details
-
BPRelationshipLink
Use the constants declared in each entity inner class. Instantiating directly requires knowing the underlying OData field names, so use with caution.- Parameters:
fieldName- OData navigation field name. Must match the field returned by the underlying OData service.
-
-
Method Details
-
translateLinkType
@Nonnull protected BPRelationshipLink<ObjectT> translateLinkType(EntityLink<BPRelationshipLink<ObjectT>, BPRelationship, ObjectT> link) - Overrides:
translateLinkTypein classEntityLink<BPRelationshipLink<ObjectT extends VdmObject<?>>,BPRelationship, ObjectT extends VdmObject<?>>
-