Class SrvcOrdItemDuration
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<SrvcOrdItemDuration>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.serviceorder.SrvcOrdItemDuration
Service Order Item Duration
Original entity name from the Odata EDM: A_SrvcOrdItemDurationType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SrvcOrdItemDurationSelectableSelector for all available fields of SrvcOrdItemDuration.static final SrvcOrdItemDurationField<String>Use with available fluent helpers to apply the ServiceOrder field to query operations.static final SrvcOrdItemDurationField<String>Use with available fluent helpers to apply the ServiceOrderItem field to query operations.static final SrvcOrdItemDurationField<String>Use with available fluent helpers to apply the SrvcDocDurationType field to query operations.static final SrvcOrdItemDurationField<String>Use with available fluent helpers to apply the SrvcDocDurationUnit field to query operations.static final SrvcOrdItemDurationField<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
ConstructorsConstructorDescriptionSrvcOrdItemDuration(String serviceOrder, String serviceOrderItem, String srvcDocDurationType, BigDecimal srvcDocDurationValue, String srvcDocDurationUnit) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SrvcOrdItemDurationField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SrvcOrdItemDurationField<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: 6(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: 10voidsetServiceOrderItem(String serviceOrderItem) (Key Field) Constraints: Not nullable, Maximum length: 6protected 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 SrvcOrdItemDuration. -
SERVICE_ORDER
Use with available fluent helpers to apply the ServiceOrder field to query operations. -
SERVICE_ORDER_ITEM
Use with available fluent helpers to apply the ServiceOrderItem 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
-
SrvcOrdItemDuration
public SrvcOrdItemDuration() -
SrvcOrdItemDuration
public SrvcOrdItemDuration(@Nullable String serviceOrder, @Nullable String serviceOrderItem, @Nullable String srvcDocDurationType, @Nullable BigDecimal srvcDocDurationValue, @Nullable String srvcDocDurationUnit)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcOrdItemDuration>
-
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
-
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<SrvcOrdItemDuration>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcOrdItemDuration>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcOrdItemDuration>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcOrdItemDuration>
-
field
@Nonnull public static <T> SrvcOrdItemDurationField<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> SrvcOrdItemDurationField<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<SrvcOrdItemDuration>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SrvcOrdItemDuration>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SrvcOrdItemDuration>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcOrdItemDuration>
-
builder
-
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
-
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<SrvcOrdItemDuration>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcOrdItemDuration>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcOrdItemDuration>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcOrdItemDuration>
-