Class SrvcOrdRefServiceContract
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<SrvcOrdRefServiceContract>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.serviceorder.SrvcOrdRefServiceContract
Reference Service Contracts For Service Order
Original entity name from the Odata EDM: A_SrvcOrdRefServiceContractType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SrvcOrdRefServiceContractSelectableSelector for all available fields of SrvcOrdRefServiceContract.static final SrvcOrdRefServiceContractField<String>Use with available fluent helpers to apply the ReferenceServiceContract field to query operations.static final SrvcOrdRefServiceContractField<String>Use with available fluent helpers to apply the ServiceOrder field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSrvcOrdRefServiceContract(String serviceOrder, String referenceServiceContract) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SrvcOrdRefServiceContractField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SrvcOrdRefServiceContractField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 10getType()inthashCode()voidsetReferenceServiceContract(String referenceServiceContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetServiceOrder(String serviceOrder) (Key Field) Constraints: Not nullable, Maximum length: 10protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SrvcOrdRefServiceContract. -
SERVICE_ORDER
Use with available fluent helpers to apply the ServiceOrder field to query operations. -
REFERENCE_SERVICE_CONTRACT
Use with available fluent helpers to apply the ReferenceServiceContract field to query operations.
-
-
Constructor Details
-
SrvcOrdRefServiceContract
public SrvcOrdRefServiceContract() -
SrvcOrdRefServiceContract
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcOrdRefServiceContract>
-
setServiceOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrder
- Parameters:
serviceOrder- Transaction ID
-
setReferenceServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReferenceServiceContract
- Parameters:
referenceServiceContract- Transaction ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrvcOrdRefServiceContract>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcOrdRefServiceContract>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcOrdRefServiceContract>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcOrdRefServiceContract>
-
field
@Nonnull public static <T> SrvcOrdRefServiceContractField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> SrvcOrdRefServiceContractField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<SrvcOrdRefServiceContract>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SrvcOrdRefServiceContract>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SrvcOrdRefServiceContract>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcOrdRefServiceContract>
-
builder
-
getServiceOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrder
- Returns:
- Transaction ID
-
getReferenceServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReferenceServiceContract
- Returns:
- Transaction ID
-
toString
- Overrides:
toStringin classVdmObject<SrvcOrdRefServiceContract>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcOrdRefServiceContract>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcOrdRefServiceContract>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcOrdRefServiceContract>
-