Class SrvcContrItemPartner
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrvcContrItemPartner_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrvcContrItemPartner instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrvcContrItemPartner>Selector for all available fields of SrvcContrItemPartner.static final SimpleProperty.String<SrvcContrItemPartner>static final SimpleProperty.String<SrvcContrItemPartner>static final SimpleProperty.String<SrvcContrItemPartner>static final SimpleProperty.Boolean<SrvcContrItemPartner>static final SimpleProperty.String<SrvcContrItemPartner>static final SimpleProperty.String<SrvcContrItemPartner>static final NavigationProperty.Single<SrvcContrItemPartner,ServiceContractItem> Use with available request builders to apply the _Item navigation property to query operations.static final NavigationProperty.Single<SrvcContrItemPartner,ServiceContract> Use with available request builders to apply the _ServiceContract 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
ConstructorsConstructorDescriptionSrvcContrItemPartner(String serviceContract, String serviceContractItem, String custMgmtPartnerFunction, String custMgmtBusinessPartner, String custMgmtPartFunctionCategory, Boolean custMgmtPartnerIsMainPartner, ServiceContractItem to_Item, ServiceContract to_ServiceContract) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Not nullableprotected Stringprotected Stringio.vavr.control.Option<ServiceContractItem>Retrieval of associated ServiceContractItem entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<ServiceContract>Retrieval of associated ServiceContract entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 6getType()inthashCode()voidsetCustMgmtBusinessPartner(String custMgmtBusinessPartner) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCustMgmtPartFunctionCategory(String custMgmtPartFunctionCategory) Constraints: Not nullable, Maximum length: 4voidsetCustMgmtPartnerFunction(String custMgmtPartnerFunction) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetCustMgmtPartnerIsMainPartner(Boolean custMgmtPartnerIsMainPartner) Constraints: Not nullablevoidsetItem(ServiceContractItem value) Overwrites the associated ServiceContractItem entity for the loaded navigation property _Item.voidOverwrites the associated ServiceContract entity for the loaded navigation property _ServiceContract.voidsetServiceContract(String serviceContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetServiceContractItem(String serviceContractItem) (Key Field) Constraints: Not nullable, Maximum length: 6toString()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 SrvcContrItemPartner. -
SERVICE_CONTRACT
-
SERVICE_CONTRACT_ITEM
-
CUST_MGMT_PARTNER_FUNCTION
-
CUST_MGMT_BUSINESS_PARTNER
-
CUST_MGMT_PART_FUNCTION_CATEGORY
-
CUST_MGMT_PARTNER_IS_MAIN_PARTNER
-
TO__ITEM
Use with available request builders to apply the _Item navigation property to query operations. -
TO__SERVICE_CONTRACT
public static final NavigationProperty.Single<SrvcContrItemPartner,ServiceContract> TO__SERVICE_CONTRACTUse with available request builders to apply the _ServiceContract navigation property to query operations.
-
-
Constructor Details
-
SrvcContrItemPartner
public SrvcContrItemPartner() -
SrvcContrItemPartner
public SrvcContrItemPartner(@Nullable String serviceContract, @Nullable String serviceContractItem, @Nullable String custMgmtPartnerFunction, @Nullable String custMgmtBusinessPartner, @Nullable String custMgmtPartFunctionCategory, @Nullable Boolean custMgmtPartnerIsMainPartner, @Nullable ServiceContractItem to_Item, @Nullable ServiceContract to_ServiceContract)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcContrItemPartner>
-
setServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Parameters:
serviceContract- Transaction ID
-
setServiceContractItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- Parameters:
serviceContractItem- Shortened Item Number in Document
-
setCustMgmtPartnerFunction
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: CustMgmtPartnerFunction
- Parameters:
custMgmtPartnerFunction- The custMgmtPartnerFunction to set.
-
setCustMgmtBusinessPartner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CustMgmtBusinessPartner
- Parameters:
custMgmtBusinessPartner- Business Partner Number
-
setCustMgmtPartFunctionCategory
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CustMgmtPartFunctionCategory
- Parameters:
custMgmtPartFunctionCategory- Partner Function Category
-
setCustMgmtPartnerIsMainPartner
Constraints: Not nullableOriginal property name from the Odata EDM: CustMgmtPartnerIsMainPartner
- Parameters:
custMgmtPartnerIsMainPartner- Main Partner (For Ambiguous Partner Functions)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrvcContrItemPartner>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcContrItemPartner>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcContrItemPartner>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcContrItemPartner>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcContrItemPartner>
-
getItemIfPresent
Retrieval of associated ServiceContractItem entity (one to one). This corresponds to the OData navigation property _Item.If the navigation property for an entity SrvcContrItemPartner 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
ServiceContractItem entity. If not, an
Optionwith result stateemptyis returned.
-
setItem
Overwrites the associated ServiceContractItem entity for the loaded navigation property _Item.- Parameters:
value- New ServiceContractItem entity.
-
getServiceContractIfPresent
Retrieval of associated ServiceContract entity (one to one). This corresponds to the OData navigation property _ServiceContract.If the navigation property for an entity SrvcContrItemPartner 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 _ServiceContract is already loaded, the result will
contain the ServiceContract entity. If not, an
Optionwith result stateemptyis returned.
-
setServiceContract
Overwrites the associated ServiceContract entity for the loaded navigation property _ServiceContract.- Parameters:
value- New ServiceContract entity.
-
builder
-
getServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Returns:
- Transaction ID
-
getServiceContractItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- Returns:
- Shortened Item Number in Document
-
getCustMgmtPartnerFunction
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: CustMgmtPartnerFunction
- Returns:
- The custMgmtPartnerFunction contained in this
VdmEntity.
-
getCustMgmtBusinessPartner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CustMgmtBusinessPartner
- Returns:
- Business Partner Number
-
getCustMgmtPartFunctionCategory
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CustMgmtPartFunctionCategory
- Returns:
- Partner Function Category
-
getCustMgmtPartnerIsMainPartner
Constraints: Not nullableOriginal property name from the Odata EDM: CustMgmtPartnerIsMainPartner
- Returns:
- Main Partner (For Ambiguous Partner Functions)
-
toString
- Overrides:
toStringin classVdmObject<SrvcContrItemPartner>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcContrItemPartner>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcContrItemPartner>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcContrItemPartner>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrvcContrItemPartner>
-