Class SrvcContrPartner
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrvcContrPartner_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrvcContrPartner instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrvcContrPartner>Selector for all available fields of SrvcContrPartner.static final SimpleProperty.String<SrvcContrPartner>static final SimpleProperty.String<SrvcContrPartner>static final SimpleProperty.String<SrvcContrPartner>static final SimpleProperty.Boolean<SrvcContrPartner>static final SimpleProperty.String<SrvcContrPartner>static final NavigationProperty.Single<SrvcContrPartner,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
ConstructorsConstructorDescriptionSrvcContrPartner(String serviceContract, String custMgmtPartnerFunction, String custMgmtBusinessPartner, String custMgmtPartFunctionCategory, Boolean custMgmtPartnerIsMainPartner, 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 Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<ServiceContract>Retrieval of associated ServiceContract entity (one to one).getType()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 nullablevoidOverwrites the associated ServiceContract entity for the loaded navigation property _ServiceContract.voidsetServiceContract(String serviceContract) (Key Field) Constraints: Not nullable, Maximum length: 10toString()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 SrvcContrPartner. -
SERVICE_CONTRACT
-
CUST_MGMT_PARTNER_FUNCTION
-
CUST_MGMT_BUSINESS_PARTNER
-
CUST_MGMT_PART_FUNCTION_CATEGORY
-
CUST_MGMT_PARTNER_IS_MAIN_PARTNER
-
TO__SERVICE_CONTRACT
public static final NavigationProperty.Single<SrvcContrPartner,ServiceContract> TO__SERVICE_CONTRACTUse with available request builders to apply the _ServiceContract navigation property to query operations.
-
-
Constructor Details
-
SrvcContrPartner
public SrvcContrPartner() -
SrvcContrPartner
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcContrPartner>
-
setServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Parameters:
serviceContract- Transaction ID
-
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<SrvcContrPartner>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcContrPartner>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcContrPartner>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcContrPartner>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcContrPartner>
-
getServiceContractIfPresent
Retrieval of associated ServiceContract entity (one to one). This corresponds to the OData navigation property _ServiceContract.If the navigation property for an entity SrvcContrPartner 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
-
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<SrvcContrPartner>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcContrPartner>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcContrPartner>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcContrPartner>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrvcContrPartner>
-