Class SrvcOrdAppointment
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<SrvcOrdAppointment>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.serviceorder.SrvcOrdAppointment
Service Order Appointment
Original entity name from the Odata EDM: A_SrvcOrdAppointmentType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SrvcOrdAppointmentSelectableSelector for all available fields of SrvcOrdAppointment.static final SrvcOrdAppointmentField<String>Use with available fluent helpers to apply the ServiceOrder field to query operations.static final SrvcOrdAppointmentField<String>Use with available fluent helpers to apply the SrvcDocAppointmentType field to query operations.static final SrvcOrdAppointmentField<ZonedDateTime>Use with available fluent helpers to apply the SrvcDocApptEndDateTime field to query operations.static final SrvcOrdAppointmentField<ZonedDateTime>Use with available fluent helpers to apply the SrvcDocApptStartDateTime field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSrvcOrdAppointment(String serviceOrder, String srvcDocAppointmentType, ZonedDateTime srvcDocApptStartDateTime, ZonedDateTime srvcDocApptEndDateTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SrvcOrdAppointmentField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SrvcOrdAppointmentField<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, Precision: 0Constraints: Not nullable, Precision: 0getType()inthashCode()voidsetServiceOrder(String serviceOrder) (Key Field) Constraints: Not nullable, Maximum length: 10protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSrvcDocAppointmentType(String srvcDocAppointmentType) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetSrvcDocApptEndDateTime(ZonedDateTime srvcDocApptEndDateTime) Constraints: Not nullable, Precision: 0voidsetSrvcDocApptStartDateTime(ZonedDateTime srvcDocApptStartDateTime) Constraints: Not nullable, Precision: 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 SrvcOrdAppointment. -
SERVICE_ORDER
Use with available fluent helpers to apply the ServiceOrder field to query operations. -
SRVC_DOC_APPOINTMENT_TYPE
Use with available fluent helpers to apply the SrvcDocAppointmentType field to query operations. -
SRVC_DOC_APPT_START_DATE_TIME
Use with available fluent helpers to apply the SrvcDocApptStartDateTime field to query operations. -
SRVC_DOC_APPT_END_DATE_TIME
Use with available fluent helpers to apply the SrvcDocApptEndDateTime field to query operations.
-
-
Constructor Details
-
SrvcOrdAppointment
public SrvcOrdAppointment() -
SrvcOrdAppointment
public SrvcOrdAppointment(@Nullable String serviceOrder, @Nullable String srvcDocAppointmentType, @Nullable ZonedDateTime srvcDocApptStartDateTime, @Nullable ZonedDateTime srvcDocApptEndDateTime)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcOrdAppointment>
-
setServiceOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrder
- Parameters:
serviceOrder- Transaction ID
-
setSrvcDocAppointmentType
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SrvcDocAppointmentType
- Parameters:
srvcDocAppointmentType- Technical Date Type Name
-
setSrvcDocApptStartDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SrvcDocApptStartDateTime
- Parameters:
srvcDocApptStartDateTime- Time Stamp (UTC) of Start Time of Appointment
-
setSrvcDocApptEndDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SrvcDocApptEndDateTime
- Parameters:
srvcDocApptEndDateTime- Time stamp of end of appointment
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrvcOrdAppointment>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcOrdAppointment>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcOrdAppointment>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcOrdAppointment>
-
field
@Nonnull public static <T> SrvcOrdAppointmentField<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> SrvcOrdAppointmentField<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<SrvcOrdAppointment>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SrvcOrdAppointment>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SrvcOrdAppointment>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcOrdAppointment>
-
builder
-
getServiceOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceOrder
- Returns:
- Transaction ID
-
getSrvcDocAppointmentType
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SrvcDocAppointmentType
- Returns:
- Technical Date Type Name
-
getSrvcDocApptStartDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SrvcDocApptStartDateTime
- Returns:
- Time Stamp (UTC) of Start Time of Appointment
-
getSrvcDocApptEndDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SrvcDocApptEndDateTime
- Returns:
- Time stamp of end of appointment
-
toString
- Overrides:
toStringin classVdmObject<SrvcOrdAppointment>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcOrdAppointment>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcOrdAppointment>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcOrdAppointment>
-