Class SrvcContrItmFUPSrvcOrd
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrvcContrItmFUPSrvcOrd_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrvcContrItmFUPSrvcOrd instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrvcContrItmFUPSrvcOrd>Selector for all available fields of SrvcContrItmFUPSrvcOrd.static final SimpleProperty.String<SrvcContrItmFUPSrvcOrd>static final SimpleProperty.String<SrvcContrItmFUPSrvcOrd>static final SimpleProperty.String<SrvcContrItmFUPSrvcOrd>static final SimpleProperty.String<SrvcContrItmFUPSrvcOrd>Use with available request builders to apply the _Item navigation property to query operations.static final NavigationProperty.Single<SrvcContrItmFUPSrvcOrd,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
ConstructorsConstructorDescriptionSrvcContrItmFUPSrvcOrd(String serviceContract, String serviceContractItem, String serviceOrder, String serviceOrderItem, ServiceContractItem to_Item, ServiceContract to_ServiceContract) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected 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: 6(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 6getType()inthashCode()voidsetItem(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: 6voidsetServiceOrder(String serviceOrder) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetServiceOrderItem(String serviceOrderItem) (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 SrvcContrItmFUPSrvcOrd. -
SERVICE_CONTRACT
-
SERVICE_CONTRACT_ITEM
-
SERVICE_ORDER
-
SERVICE_ORDER_ITEM
-
TO__ITEM
Use with available request builders to apply the _Item navigation property to query operations. -
TO__SERVICE_CONTRACT
public static final NavigationProperty.Single<SrvcContrItmFUPSrvcOrd,ServiceContract> TO__SERVICE_CONTRACTUse with available request builders to apply the _ServiceContract navigation property to query operations.
-
-
Constructor Details
-
SrvcContrItmFUPSrvcOrd
public SrvcContrItmFUPSrvcOrd() -
SrvcContrItmFUPSrvcOrd
public SrvcContrItmFUPSrvcOrd(@Nullable String serviceContract, @Nullable String serviceContractItem, @Nullable String serviceOrder, @Nullable String serviceOrderItem, @Nullable ServiceContractItem to_Item, @Nullable ServiceContract to_ServiceContract)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcContrItmFUPSrvcOrd>
-
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
-
setServiceOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrder
- Parameters:
serviceOrder- Transaction ID
-
setServiceOrderItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceOrderItem
- Parameters:
serviceOrderItem- Shortened Item Number in Document
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrvcContrItmFUPSrvcOrd>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcContrItmFUPSrvcOrd>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcContrItmFUPSrvcOrd>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcContrItmFUPSrvcOrd>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcContrItmFUPSrvcOrd>
-
getItemIfPresent
Retrieval of associated ServiceContractItem entity (one to one). This corresponds to the OData navigation property _Item.If the navigation property for an entity SrvcContrItmFUPSrvcOrd 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 SrvcContrItmFUPSrvcOrd 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
-
getServiceOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrder
- Returns:
- Transaction ID
-
getServiceOrderItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceOrderItem
- Returns:
- Shortened Item Number in Document
-
toString
- Overrides:
toStringin classVdmObject<SrvcContrItmFUPSrvcOrd>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcContrItmFUPSrvcOrd>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcContrItmFUPSrvcOrd>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcContrItmFUPSrvcOrd>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrvcContrItmFUPSrvcOrd>
-