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