EntityT
- The entity type.ValueT
- The navigable entity type.public static class NavigationProperty.Single<EntityT extends VdmObject<EntityT>,ValueT extends VdmEntity<ValueT>> extends Object implements NavigationProperty<EntityT,ValueT>, FilterableComplex<EntityT,ValueT>
NavigationProperty.Collection<EntityT extends VdmObject<EntityT>,ValueT extends VdmEntity<ValueT>>, NavigationProperty.Single<EntityT extends VdmObject<EntityT>,ValueT extends VdmEntity<ValueT>>
NULL
Constructor and Description |
---|
Single(Class<EntityT> entityType,
String fieldName,
Class<ValueT> itemType) |
Modifier and Type | Method and Description |
---|---|
Class<EntityT> |
getEntityType()
Get the type of the entity which references the value.
|
String |
getFieldName()
javadoc
|
Class<ValueT> |
getItemType() |
NavigationPropertySingleQuery<EntityT,ValueT> |
select(Property<ValueT>... fields)
Query modifier to limit which field values of the entity EntityT get fetched and populated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpression, of
getExpression
has, has
@Nonnull @SafeVarargs public final NavigationPropertySingleQuery<EntityT,ValueT> select(@Nonnull Property<ValueT>... fields)
fields
- Properties of EntityT to be selected.public Class<EntityT> getEntityType()
EntityReference
getEntityType
in interface EntityReference<EntityT extends VdmObject<EntityT>>
public String getFieldName()
FieldReference
Copyright © 2021 SAP SE. All rights reserved.