public class EntityLink<LinkT extends EntityLink<LinkT,EntityT,SubEntityT>,EntityT extends VdmObject<?>,SubEntityT extends VdmObject<?>> extends Object implements EntitySelectable<EntityT>
Modifier | Constructor and Description |
---|---|
protected |
EntityLink(EntityLink<LinkT,EntityT,SubEntityT> toCopy) |
|
EntityLink(String fieldName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<String> |
getExpansions() |
String |
getFieldName() |
List<String> |
getSelections() |
int |
hashCode() |
LinkT |
select(EntitySelectable<SubEntityT>... selectors)
Used in combination with
FluentHelperRead.select when expanding a
navigation property to specify which fields of that navigation property to select, and which navigation
properties of that navigation property to expand. |
String |
toString() |
protected LinkT |
translateLinkType(EntityLink<LinkT,EntityT,SubEntityT> link) |
protected EntityLink(EntityLink<LinkT,EntityT,SubEntityT> toCopy)
public EntityLink(String fieldName)
@SafeVarargs public final LinkT select(EntitySelectable<SubEntityT>... selectors)
FluentHelperRead.select
when expanding a
navigation property to specify which fields of that navigation property to select, and which navigation
properties of that navigation property to expand.selectors
- Array of fields to select and/or navigation properties to expand.FluentHelperRead.select
.public List<String> getSelections()
getSelections
in interface EntitySelectable<EntityT extends VdmObject<?>>
protected LinkT translateLinkType(EntityLink<LinkT,EntityT,SubEntityT> link)
protected boolean canEqual(Object other)
public String getFieldName()
getFieldName
in interface EntitySelectable<EntityT extends VdmObject<?>>
Copyright © 2018 SAP SE. All rights reserved.