Class ServiceContractItemObjectList
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ServiceContractItemObjectList_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ServiceContractItemObjectList instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ServiceContractItemObjectList>Selector for all available fields of ServiceContractItemObjectList.static final SimpleProperty.String<ServiceContractItemObjectList>static final SimpleProperty.String<ServiceContractItemObjectList>static final SimpleProperty.String<ServiceContractItemObjectList>static final SimpleProperty.String<ServiceContractItemObjectList>static final SimpleProperty.String<ServiceContractItemObjectList>static final SimpleProperty.String<ServiceContractItemObjectList>static final SimpleProperty.String<ServiceContractItemObjectList>static final SimpleProperty.String<ServiceContractItemObjectList>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
ConstructorsConstructorDescriptionServiceContractItemObjectList(String serviceContractTemplate, String serviceContractTemplateItem, String serviceRefObjectSequenceNumber, String serialNumber, String serviceReferenceEquipment, String serviceRefFunctionalLocation, String srvcRefFuncLocLabelName, String serviceReferenceProduct, 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()Constraints: Not nullable, Maximum length: 18(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: 6Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 30(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidOverwrites the associated ServiceContractTemplateItem entity for the loaded navigation property _Item.voidsetSerialNumber(String serialNumber) Constraints: Not nullable, Maximum length: 18voidOverwrites 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: 6voidsetServiceReferenceEquipment(String serviceReferenceEquipment) Constraints: Not nullable, Maximum length: 18voidsetServiceReferenceProduct(String serviceReferenceProduct) Constraints: Not nullable, Maximum length: 18voidsetServiceRefFunctionalLocation(String serviceRefFunctionalLocation) Constraints: Not nullable, Maximum length: 30voidsetServiceRefObjectSequenceNumber(String serviceRefObjectSequenceNumber) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetSrvcRefFuncLocLabelName(String srvcRefFuncLocLabelName) Constraints: Not nullable, Maximum length: 40toString()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 ServiceContractItemObjectList. -
SERVICE_CONTRACT_TEMPLATE
-
SERVICE_CONTRACT_TEMPLATE_ITEM
public static final SimpleProperty.String<ServiceContractItemObjectList> SERVICE_CONTRACT_TEMPLATE_ITEM -
SERVICE_REF_OBJECT_SEQUENCE_NUMBER
public static final SimpleProperty.String<ServiceContractItemObjectList> SERVICE_REF_OBJECT_SEQUENCE_NUMBER -
SERIAL_NUMBER
-
SERVICE_REFERENCE_EQUIPMENT
public static final SimpleProperty.String<ServiceContractItemObjectList> SERVICE_REFERENCE_EQUIPMENT -
SERVICE_REF_FUNCTIONAL_LOCATION
public static final SimpleProperty.String<ServiceContractItemObjectList> SERVICE_REF_FUNCTIONAL_LOCATION -
SRVC_REF_FUNC_LOC_LABEL_NAME
public static final SimpleProperty.String<ServiceContractItemObjectList> SRVC_REF_FUNC_LOC_LABEL_NAME -
SERVICE_REFERENCE_PRODUCT
-
TO__ITEM
public static final NavigationProperty.Single<ServiceContractItemObjectList,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<ServiceContractItemObjectList,ServiceContractTemplate> TO__SERVICE_CONTRACT_TEMPLATEUse with available request builders to apply the _ServiceContractTemplate navigation property to query operations.
-
-
Constructor Details
-
ServiceContractItemObjectList
public ServiceContractItemObjectList() -
ServiceContractItemObjectList
public ServiceContractItemObjectList(@Nullable String serviceContractTemplate, @Nullable String serviceContractTemplateItem, @Nullable String serviceRefObjectSequenceNumber, @Nullable String serialNumber, @Nullable String serviceReferenceEquipment, @Nullable String serviceRefFunctionalLocation, @Nullable String srvcRefFuncLocLabelName, @Nullable String serviceReferenceProduct, @Nullable ServiceContractTemplateItem to_Item, @Nullable ServiceContractTemplate to_ServiceContractTemplate)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ServiceContractItemObjectList>
-
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
-
setServiceRefObjectSequenceNumber
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ServiceRefObjectSequenceNumber
- Parameters:
serviceRefObjectSequenceNumber- Reference Object Counter
-
setSerialNumber
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: SerialNumber
- Parameters:
serialNumber- Serial Number
-
setServiceReferenceEquipment
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ServiceReferenceEquipment
- Parameters:
serviceReferenceEquipment- Equipment Number
-
setServiceRefFunctionalLocation
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ServiceRefFunctionalLocation
- Parameters:
serviceRefFunctionalLocation- Functional Location
-
setSrvcRefFuncLocLabelName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SrvcRefFuncLocLabelName
- Parameters:
srvcRefFuncLocLabelName- Functional Location Label
-
setServiceReferenceProduct
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ServiceReferenceProduct
- Parameters:
serviceReferenceProduct- Material Number
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ServiceContractItemObjectList>
-
getKey
- Overrides:
getKeyin classVdmObject<ServiceContractItemObjectList>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ServiceContractItemObjectList>
-
fromMap
- Overrides:
fromMapin classVdmObject<ServiceContractItemObjectList>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ServiceContractItemObjectList>
-
getItemIfPresent
Retrieval of associated ServiceContractTemplateItem entity (one to one). This corresponds to the OData navigation property _Item.If the navigation property for an entity ServiceContractItemObjectList 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 ServiceContractItemObjectList 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
-
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
-
getServiceRefObjectSequenceNumber
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ServiceRefObjectSequenceNumber
- Returns:
- Reference Object Counter
-
getSerialNumber
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: SerialNumber
- Returns:
- Serial Number
-
getServiceReferenceEquipment
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ServiceReferenceEquipment
- Returns:
- Equipment Number
-
getServiceRefFunctionalLocation
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ServiceRefFunctionalLocation
- Returns:
- Functional Location
-
getSrvcRefFuncLocLabelName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SrvcRefFuncLocLabelName
- Returns:
- Functional Location Label
-
getServiceReferenceProduct
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ServiceReferenceProduct
- Returns:
- Material Number
-
toString
- Overrides:
toStringin classVdmObject<ServiceContractItemObjectList>
-
equals
- Overrides:
equalsin classVdmEntity<ServiceContractItemObjectList>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ServiceContractItemObjectList>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ServiceContractItemObjectList>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ServiceContractItemObjectList>
-