Class SrvcOrdDuration
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<SrvcOrdDuration>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.serviceorder.SrvcOrdDuration
Service Order Duration
Original entity name from the Odata EDM: A_SrvcOrdDurationType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SrvcOrdDurationSelectableSelector for all available fields of SrvcOrdDuration.static final SrvcOrdDurationField<String>Use with available fluent helpers to apply the ServiceOrder field to query operations.static final SrvcOrdDurationField<String>Use with available fluent helpers to apply the SrvcDocDurationType field to query operations.static final SrvcOrdDurationField<String>Use with available fluent helpers to apply the SrvcDocDurationUnit field to query operations.static final SrvcOrdDurationField<BigDecimal>Use with available fluent helpers to apply the SrvcDocDurationValue field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSrvcOrdDuration(String serviceOrder, String srvcDocDurationType, BigDecimal srvcDocDurationValue, String srvcDocDurationUnit) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SrvcOrdDurationField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SrvcOrdDurationField<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: 12Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 13, Scale: 0getType()inthashCode()voidsetServiceOrder(String serviceOrder) (Key Field) Constraints: Not nullable, Maximum length: 10protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSrvcDocDurationType(String srvcDocDurationType) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetSrvcDocDurationUnit(String srvcDocDurationUnit) Constraints: Not nullable, Maximum length: 12voidsetSrvcDocDurationValue(BigDecimal srvcDocDurationValue) Constraints: Not nullable, Precision: 13, Scale: 0toString()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 SrvcOrdDuration. -
SERVICE_ORDER
Use with available fluent helpers to apply the ServiceOrder field to query operations. -
SRVC_DOC_DURATION_TYPE
Use with available fluent helpers to apply the SrvcDocDurationType field to query operations. -
SRVC_DOC_DURATION_VALUE
Use with available fluent helpers to apply the SrvcDocDurationValue field to query operations. -
SRVC_DOC_DURATION_UNIT
Use with available fluent helpers to apply the SrvcDocDurationUnit field to query operations.
-
-
Constructor Details
-
SrvcOrdDuration
public SrvcOrdDuration() -
SrvcOrdDuration
public SrvcOrdDuration(@Nullable String serviceOrder, @Nullable String srvcDocDurationType, @Nullable BigDecimal srvcDocDurationValue, @Nullable String srvcDocDurationUnit)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcOrdDuration>
-
setServiceOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrder
- Parameters:
serviceOrder- Transaction ID
-
setSrvcDocDurationType
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SrvcDocDurationType
- Parameters:
srvcDocDurationType- Name for Type of Time Duration
-
setSrvcDocDurationValue
Constraints: Not nullable, Precision: 13, Scale: 0Original property name from the Odata EDM: SrvcDocDurationValue
- Parameters:
srvcDocDurationValue- Numerical Value of Duration
-
setSrvcDocDurationUnit
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SrvcDocDurationUnit
- Parameters:
srvcDocDurationUnit- Default Value for Time Unit
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrvcOrdDuration>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcOrdDuration>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcOrdDuration>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcOrdDuration>
-
field
@Nonnull public static <T> SrvcOrdDurationField<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> SrvcOrdDurationField<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<SrvcOrdDuration>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SrvcOrdDuration>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SrvcOrdDuration>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcOrdDuration>
-
builder
-
getServiceOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrder
- Returns:
- Transaction ID
-
getSrvcDocDurationType
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SrvcDocDurationType
- Returns:
- Name for Type of Time Duration
-
getSrvcDocDurationValue
Constraints: Not nullable, Precision: 13, Scale: 0Original property name from the Odata EDM: SrvcDocDurationValue
- Returns:
- Numerical Value of Duration
-
getSrvcDocDurationUnit
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SrvcDocDurationUnit
- Returns:
- Default Value for Time Unit
-
toString
- Overrides:
toStringin classVdmObject<SrvcOrdDuration>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcOrdDuration>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcOrdDuration>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcOrdDuration>
-