Class ServiceContractItemProductList
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ServiceContractItemProductList_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ServiceContractItemProductList instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ServiceContractItemProductList>Selector for all available fields of ServiceContractItemProductList.static final SimpleProperty.String<ServiceContractItemProductList>static final SimpleProperty.String<ServiceContractItemProductList>static final SimpleProperty.String<ServiceContractItemProductList>static final SimpleProperty.String<ServiceContractItemProductList>Use with available request builders to apply the _Item navigation property to query operations.Use with available request builders to apply the _ServiceContractTemplate navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionServiceContractItemProductList(String serviceContractTemplate, String serviceContractTemplateItem, String serviceProductListItem, String srvcContrProdListProduct, ServiceContractTemplateItem to_Item, ServiceContractTemplate to_ServiceContractTemplate) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<ServiceContractTemplateItem>Retrieval of associated ServiceContractTemplateItem entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<ServiceContractTemplate>Retrieval of associated ServiceContractTemplate entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 18getType()inthashCode()voidOverwrites the associated ServiceContractTemplateItem entity for the loaded navigation property _Item.voidOverwrites the associated ServiceContractTemplate entity for the loaded navigation property _ServiceContractTemplate.voidsetServiceContractTemplate(String serviceContractTemplate) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetServiceContractTemplateItem(String serviceContractTemplateItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetServiceProductListItem(String serviceProductListItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetSrvcContrProdListProduct(String srvcContrProdListProduct) Constraints: Not nullable, Maximum length: 18toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ServiceContractItemProductList. -
SERVICE_CONTRACT_TEMPLATE
-
SERVICE_CONTRACT_TEMPLATE_ITEM
public static final SimpleProperty.String<ServiceContractItemProductList> SERVICE_CONTRACT_TEMPLATE_ITEM -
SERVICE_PRODUCT_LIST_ITEM
-
SRVC_CONTR_PROD_LIST_PRODUCT
public static final SimpleProperty.String<ServiceContractItemProductList> SRVC_CONTR_PROD_LIST_PRODUCT -
TO__ITEM
public static final NavigationProperty.Single<ServiceContractItemProductList,ServiceContractTemplateItem> TO__ITEMUse with available request builders to apply the _Item navigation property to query operations. -
TO__SERVICE_CONTRACT_TEMPLATE
public static final NavigationProperty.Single<ServiceContractItemProductList,ServiceContractTemplate> TO__SERVICE_CONTRACT_TEMPLATEUse with available request builders to apply the _ServiceContractTemplate navigation property to query operations.
-
-
Constructor Details
-
ServiceContractItemProductList
public ServiceContractItemProductList() -
ServiceContractItemProductList
public ServiceContractItemProductList(@Nullable String serviceContractTemplate, @Nullable String serviceContractTemplateItem, @Nullable String serviceProductListItem, @Nullable String srvcContrProdListProduct, @Nullable ServiceContractTemplateItem to_Item, @Nullable ServiceContractTemplate to_ServiceContractTemplate)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ServiceContractItemProductList>
-
setServiceContractTemplate
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContractTemplate
- Parameters:
serviceContractTemplate- Transaction ID
-
setServiceContractTemplateItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractTemplateItem
- Parameters:
serviceContractTemplateItem- Shortened Item Number in Document
-
setServiceProductListItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceProductListItem
- Parameters:
serviceProductListItem- Counter for CRMS4D_ORDPRP_I product list
-
setSrvcContrProdListProduct
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: SrvcContrProdListProduct
- Parameters:
srvcContrProdListProduct- Material Number
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ServiceContractItemProductList>
-
getKey
- Overrides:
getKeyin classVdmObject<ServiceContractItemProductList>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ServiceContractItemProductList>
-
fromMap
- Overrides:
fromMapin classVdmObject<ServiceContractItemProductList>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ServiceContractItemProductList>
-
getItemIfPresent
Retrieval of associated ServiceContractTemplateItem entity (one to one). This corresponds to the OData navigation property _Item.If the navigation property for an entity ServiceContractItemProductList has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _Item is already loaded, the result will contain the
ServiceContractTemplateItem entity. If not, an
Optionwith result stateemptyis returned.
-
setItem
Overwrites the associated ServiceContractTemplateItem entity for the loaded navigation property _Item.- Parameters:
value- New ServiceContractTemplateItem entity.
-
getServiceContractTemplateIfPresent
@Nonnull public io.vavr.control.Option<ServiceContractTemplate> getServiceContractTemplateIfPresent()Retrieval of associated ServiceContractTemplate entity (one to one). This corresponds to the OData navigation property _ServiceContractTemplate.If the navigation property for an entity ServiceContractItemProductList has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _ServiceContractTemplate is already loaded, the result
will contain the ServiceContractTemplate entity. If not, an
Optionwith result stateemptyis returned.
-
setServiceContractTemplate
Overwrites the associated ServiceContractTemplate entity for the loaded navigation property _ServiceContractTemplate.- Parameters:
value- New ServiceContractTemplate entity.
-
builder
@Nonnull public static ServiceContractItemProductList.ServiceContractItemProductListBuilder builder() -
getServiceContractTemplate
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContractTemplate
- Returns:
- Transaction ID
-
getServiceContractTemplateItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractTemplateItem
- Returns:
- Shortened Item Number in Document
-
getServiceProductListItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceProductListItem
- Returns:
- Counter for CRMS4D_ORDPRP_I product list
-
getSrvcContrProdListProduct
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: SrvcContrProdListProduct
- Returns:
- Material Number
-
toString
- Overrides:
toStringin classVdmObject<ServiceContractItemProductList>
-
equals
- Overrides:
equalsin classVdmEntity<ServiceContractItemProductList>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ServiceContractItemProductList>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ServiceContractItemProductList>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ServiceContractItemProductList>
-