public class BusSolnOrdItemRelationships extends VdmEntity<BusSolnOrdItemRelationships>
Original entity name from the Odata EDM: A_BusSolnOrdItemRelationshipsType
Modifier and Type | Class and Description |
---|---|
static class |
BusSolnOrdItemRelationships.BusSolnOrdItemRelationshipsBuilder |
Modifier and Type | Field and Description |
---|---|
static BusSolnOrdItemRelationshipsSelectable |
ALL_FIELDS
Selector for all available fields of BusSolnOrdItemRelationships.
|
static BusSolnOrdItemRelationshipsField<String> |
BUSINESS_SOLUTION_ORDER
Use with available fluent helpers to apply the BusinessSolutionOrder field to query operations.
|
static BusSolnOrdItemRelationshipsField<String> |
SRVC_ITEM_RELSHP_FROM_ITEM_NUMBER
Use with available fluent helpers to apply the SrvcItemRelshpFromItemNumber field to query operations.
|
static BusSolnOrdItemRelationshipsField<String> |
SRVC_ITEM_RELSHP_FROM_TYPE_NAME
Use with available fluent helpers to apply the SrvcItemRelshpFromTypeName field to query operations.
|
static BusSolnOrdItemRelationshipsField<String> |
SRVC_ITEM_RELSHP_TO_ITEM_NUMBER
Use with available fluent helpers to apply the SrvcItemRelshpToItemNumber field to query operations.
|
static BusSolnOrdItemRelationshipsField<String> |
SRVC_ITEM_RELSHP_TO_TYPE_NAME
Use with available fluent helpers to apply the SrvcItemRelshpToTypeName field to query operations.
|
static BusSolnOrdItemRelationshipsField<String> |
SRVC_ITEM_RELSHP_TYPE
Use with available fluent helpers to apply the SrvcItemRelshpType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BusSolnOrdItemRelationships() |
BusSolnOrdItemRelationships(String businessSolutionOrder,
String srvcItemRelshpFromItemNumber,
String srvcItemRelshpType,
String srvcItemRelshpToItemNumber,
String srvcItemRelshpFromTypeName,
String srvcItemRelshpToTypeName) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static BusSolnOrdItemRelationships.BusSolnOrdItemRelationshipsBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> BusSolnOrdItemRelationshipsField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getBusinessSolutionOrder()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getSrvcItemRelshpFromItemNumber()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getSrvcItemRelshpFromTypeName()
Constraints: Not nullable, Maximum length: 50
|
String |
getSrvcItemRelshpToItemNumber()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getSrvcItemRelshpToTypeName()
Constraints: Not nullable, Maximum length: 50
|
String |
getSrvcItemRelshpType()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
Class<BusSolnOrdItemRelationships> |
getType() |
int |
hashCode() |
void |
setBusinessSolutionOrder(String businessSolutionOrder)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSrvcItemRelshpFromItemNumber(String srvcItemRelshpFromItemNumber)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setSrvcItemRelshpFromTypeName(String srvcItemRelshpFromTypeName)
Constraints: Not nullable, Maximum length: 50
|
void |
setSrvcItemRelshpToItemNumber(String srvcItemRelshpToItemNumber)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setSrvcItemRelshpToTypeName(String srvcItemRelshpToTypeName)
Constraints: Not nullable, Maximum length: 50
|
void |
setSrvcItemRelshpType(String srvcItemRelshpType)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final BusSolnOrdItemRelationshipsSelectable ALL_FIELDS
public static final BusSolnOrdItemRelationshipsField<String> BUSINESS_SOLUTION_ORDER
public static final BusSolnOrdItemRelationshipsField<String> SRVC_ITEM_RELSHP_FROM_ITEM_NUMBER
public static final BusSolnOrdItemRelationshipsField<String> SRVC_ITEM_RELSHP_TYPE
public static final BusSolnOrdItemRelationshipsField<String> SRVC_ITEM_RELSHP_TO_ITEM_NUMBER
public static final BusSolnOrdItemRelationshipsField<String> SRVC_ITEM_RELSHP_FROM_TYPE_NAME
public static final BusSolnOrdItemRelationshipsField<String> SRVC_ITEM_RELSHP_TO_TYPE_NAME
public BusSolnOrdItemRelationships()
public BusSolnOrdItemRelationships(@Nullable String businessSolutionOrder, @Nullable String srvcItemRelshpFromItemNumber, @Nullable String srvcItemRelshpType, @Nullable String srvcItemRelshpToItemNumber, @Nullable String srvcItemRelshpFromTypeName, @Nullable String srvcItemRelshpToTypeName)
@Nonnull public Class<BusSolnOrdItemRelationships> getType()
getType
in class VdmObject<BusSolnOrdItemRelationships>
public void setBusinessSolutionOrder(@Nullable String businessSolutionOrder)
Original property name from the Odata EDM: BusinessSolutionOrder
businessSolutionOrder
- Number that identifies the transaction document. It is unique for each business transaction category.public void setSrvcItemRelshpFromItemNumber(@Nullable String srvcItemRelshpFromItemNumber)
Original property name from the Odata EDM: SrvcItemRelshpFromItemNumber
srvcItemRelshpFromItemNumber
- Shortened Item Number in Documentpublic void setSrvcItemRelshpType(@Nullable String srvcItemRelshpType)
Original property name from the Odata EDM: SrvcItemRelshpType
Use this field to set the item relationship type you want to use.
srvcItemRelshpType
- A code that represents the relationship type of the relationship between two items.public void setSrvcItemRelshpToItemNumber(@Nullable String srvcItemRelshpToItemNumber)
Original property name from the Odata EDM: SrvcItemRelshpToItemNumber
srvcItemRelshpToItemNumber
- Shortened Item Number in Documentpublic void setSrvcItemRelshpFromTypeName(@Nullable String srvcItemRelshpFromTypeName)
Original property name from the Odata EDM: SrvcItemRelshpFromTypeName
Specify a name for your relationship in the forward direction.If you want to define relationships between two items, you can use “Has dependency” as the name for your relationship in the forward direction. On contrary, “Depends on” is the name for your relationship in the backward direction.
srvcItemRelshpFromTypeName
- The name of a forward relationship.public void setSrvcItemRelshpToTypeName(@Nullable String srvcItemRelshpToTypeName)
Original property name from the Odata EDM: SrvcItemRelshpToTypeName
Specify a name for your relationship in the backward direction.If you want to define relationships between two items, you can use “Has dependency” as the name for your relationship in the forward direction. On contrary, “Depends on” is the name for your relationship in the backward direction.
srvcItemRelshpToTypeName
- The name of a backward relationship.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BusSolnOrdItemRelationships>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BusSolnOrdItemRelationships>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BusSolnOrdItemRelationships>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BusSolnOrdItemRelationships>
@Nonnull public static <T> BusSolnOrdItemRelationshipsField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> BusSolnOrdItemRelationshipsField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<BusSolnOrdItemRelationships>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<BusSolnOrdItemRelationships>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<BusSolnOrdItemRelationships>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<BusSolnOrdItemRelationships>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static BusSolnOrdItemRelationships.BusSolnOrdItemRelationshipsBuilder builder()
@Nullable public String getBusinessSolutionOrder()
Original property name from the Odata EDM: BusinessSolutionOrder
@Nullable public String getSrvcItemRelshpFromItemNumber()
Original property name from the Odata EDM: SrvcItemRelshpFromItemNumber
@Nullable public String getSrvcItemRelshpType()
Original property name from the Odata EDM: SrvcItemRelshpType
Use this field to set the item relationship type you want to use.
@Nullable public String getSrvcItemRelshpToItemNumber()
Original property name from the Odata EDM: SrvcItemRelshpToItemNumber
@Nullable public String getSrvcItemRelshpFromTypeName()
Original property name from the Odata EDM: SrvcItemRelshpFromTypeName
Specify a name for your relationship in the forward direction.If you want to define relationships between two items, you can use “Has dependency” as the name for your relationship in the forward direction. On contrary, “Depends on” is the name for your relationship in the backward direction.
@Nullable public String getSrvcItemRelshpToTypeName()
Original property name from the Odata EDM: SrvcItemRelshpToTypeName
Specify a name for your relationship in the backward direction.If you want to define relationships between two items, you can use “Has dependency” as the name for your relationship in the forward direction. On contrary, “Depends on” is the name for your relationship in the backward direction.
@Nonnull public String toString()
toString
in class VdmObject<BusSolnOrdItemRelationships>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BusSolnOrdItemRelationships>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BusSolnOrdItemRelationships>
public int hashCode()
hashCode
in class VdmObject<BusSolnOrdItemRelationships>
Copyright © 2021 SAP SE. All rights reserved.