Class SupProtFlexibleTimeBucket
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: A_SupProtFlexibleTimeBucket_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SupProtFlexibleTimeBucket instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SupProtFlexibleTimeBucket>Selector for all available fields of SupProtFlexibleTimeBucket.static final SimpleProperty.String<SupProtFlexibleTimeBucket>static final SimpleProperty.DateTime<SupProtFlexibleTimeBucket>static final SimpleProperty.Date<SupProtFlexibleTimeBucket>static final SimpleProperty.DateTime<SupProtFlexibleTimeBucket>static final SimpleProperty.String<SupProtFlexibleTimeBucket>static final SimpleProperty.NumericInteger<SupProtFlexibleTimeBucket>static final SimpleProperty.Date<SupProtFlexibleTimeBucket>static final SimpleProperty.Guid<SupProtFlexibleTimeBucket>static final SimpleProperty.DateTime<SupProtFlexibleTimeBucket>static final SimpleProperty.DateTime<SupProtFlexibleTimeBucket>static final SimpleProperty.Guid<SupProtFlexibleTimeBucket>Use with available request builders to apply the _SupplyProtectionTP navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSupProtFlexibleTimeBucket(UUID supProtFlexibleTimeBucketUUID, UUID supplyProtectionUUID, OffsetDateTime supProtPeriodStartUTCDateTime, LocalDate startDate, OffsetDateTime supProtPeriodEndUTCDateTime, LocalDate endDate, Integer numberOfDays, String createdByUser, OffsetDateTime creationDateTime, String lastChangedByUser, OffsetDateTime lastChangeDateTime, SupplyProtection to_SupplyProtectionTP) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7protected StringConstraints: Nullableprotected Stringprotected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12Constraints: Not nullableConstraints: Nullableio.vavr.control.Option<SupplyProtection>Retrieval of associated SupplyProtection entity (one to one).Constraints: Not nullable(Key Field) Constraints: Not nullableConstraints: Nullable, Precision: 7Constraints: Nullable, Precision: 7getType()inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7voidsetEndDate(LocalDate endDate) Constraints: NullablevoidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetNumberOfDays(Integer numberOfDays) Constraints: Not nullablevoidsetStartDate(LocalDate startDate) Constraints: NullablevoidOverwrites the associated SupplyProtection entity for the loaded navigation property _SupplyProtectionTP.voidsetSupplyProtectionUUID(UUID supplyProtectionUUID) Constraints: Not nullablevoidsetSupProtFlexibleTimeBucketUUID(UUID supProtFlexibleTimeBucketUUID) (Key Field) Constraints: Not nullablevoidsetSupProtPeriodEndUTCDateTime(OffsetDateTime supProtPeriodEndUTCDateTime) Constraints: Nullable, Precision: 7voidsetSupProtPeriodStartUTCDateTime(OffsetDateTime supProtPeriodStartUTCDateTime) Constraints: Nullable, Precision: 7toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SupProtFlexibleTimeBucket. -
SUP_PROT_FLEXIBLE_TIME_BUCKET_UUID
public static final SimpleProperty.Guid<SupProtFlexibleTimeBucket> SUP_PROT_FLEXIBLE_TIME_BUCKET_UUID -
SUPPLY_PROTECTION_UUID
-
SUP_PROT_PERIOD_START_UTC_DATE_TIME
public static final SimpleProperty.DateTime<SupProtFlexibleTimeBucket> SUP_PROT_PERIOD_START_UTC_DATE_TIME -
START_DATE
-
SUP_PROT_PERIOD_END_UTC_DATE_TIME
public static final SimpleProperty.DateTime<SupProtFlexibleTimeBucket> SUP_PROT_PERIOD_END_UTC_DATE_TIME -
END_DATE
-
NUMBER_OF_DAYS
-
CREATED_BY_USER
-
CREATION_DATE_TIME
-
LAST_CHANGED_BY_USER
-
LAST_CHANGE_DATE_TIME
-
TO__SUPPLY_PROTECTION_TP
public static final NavigationProperty.Single<SupProtFlexibleTimeBucket,SupplyProtection> TO__SUPPLY_PROTECTION_TPUse with available request builders to apply the _SupplyProtectionTP navigation property to query operations.
-
-
Constructor Details
-
SupProtFlexibleTimeBucket
public SupProtFlexibleTimeBucket() -
SupProtFlexibleTimeBucket
public SupProtFlexibleTimeBucket(@Nullable UUID supProtFlexibleTimeBucketUUID, @Nullable UUID supplyProtectionUUID, @Nullable OffsetDateTime supProtPeriodStartUTCDateTime, @Nullable LocalDate startDate, @Nullable OffsetDateTime supProtPeriodEndUTCDateTime, @Nullable LocalDate endDate, @Nullable Integer numberOfDays, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable SupplyProtection to_SupplyProtectionTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SupProtFlexibleTimeBucket>
-
setSupProtFlexibleTimeBucketUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SupProtFlexibleTimeBucketUUID
- Parameters:
supProtFlexibleTimeBucketUUID- Flexible Time Bucket UUID
-
setSupplyProtectionUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionUUID
- Parameters:
supplyProtectionUUID- UUID
-
setSupProtPeriodStartUTCDateTime
public void setSupProtPeriodStartUTCDateTime(@Nullable OffsetDateTime supProtPeriodStartUTCDateTime) Constraints: Nullable, Precision: 7Original property name from the Odata EDM: SupProtPeriodStartUTCDateTime
- Parameters:
supProtPeriodStartUTCDateTime- Period Start Timestamp (UTC)
-
setStartDate
Constraints: NullableOriginal property name from the Odata EDM: StartDate
- Parameters:
startDate- Start Date
-
setSupProtPeriodEndUTCDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: SupProtPeriodEndUTCDateTime
- Parameters:
supProtPeriodEndUTCDateTime- Period End Timestamp (UTC)
-
setEndDate
Constraints: NullableOriginal property name from the Odata EDM: EndDate
- Parameters:
endDate- End Date
-
setNumberOfDays
Constraints: Not nullableOriginal property name from the Odata EDM: NumberOfDays
- Parameters:
numberOfDays- Number of Days in Time Bucket
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Created By User
-
setCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Created On / At
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Last Changed By User
-
setLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Changed On / At
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SupProtFlexibleTimeBucket>
-
getKey
- Overrides:
getKeyin classVdmObject<SupProtFlexibleTimeBucket>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SupProtFlexibleTimeBucket>
-
fromMap
- Overrides:
fromMapin classVdmObject<SupProtFlexibleTimeBucket>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SupProtFlexibleTimeBucket>
-
getSupplyProtectionTPIfPresent
Retrieval of associated SupplyProtection entity (one to one). This corresponds to the OData navigation property _SupplyProtectionTP.If the navigation property for an entity SupProtFlexibleTimeBucket has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _SupplyProtectionTP is already loaded, the result will
contain the SupplyProtection entity. If not, an
Optionwith result stateemptyis returned.
-
setSupplyProtectionTP
Overwrites the associated SupplyProtection entity for the loaded navigation property _SupplyProtectionTP.- Parameters:
value- New SupplyProtection entity.
-
builder
-
getSupProtFlexibleTimeBucketUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SupProtFlexibleTimeBucketUUID
- Returns:
- Flexible Time Bucket UUID
-
getSupplyProtectionUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionUUID
- Returns:
- UUID
-
getSupProtPeriodStartUTCDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: SupProtPeriodStartUTCDateTime
- Returns:
- Period Start Timestamp (UTC)
-
getStartDate
Constraints: NullableOriginal property name from the Odata EDM: StartDate
- Returns:
- Start Date
-
getSupProtPeriodEndUTCDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: SupProtPeriodEndUTCDateTime
- Returns:
- Period End Timestamp (UTC)
-
getEndDate
Constraints: NullableOriginal property name from the Odata EDM: EndDate
- Returns:
- End Date
-
getNumberOfDays
Constraints: Not nullableOriginal property name from the Odata EDM: NumberOfDays
- Returns:
- Number of Days in Time Bucket
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Created By User
-
getCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
- Created On / At
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Last Changed By User
-
getLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Changed On / At
-
toString
- Overrides:
toStringin classVdmObject<SupProtFlexibleTimeBucket>
-
equals
- Overrides:
equalsin classVdmEntity<SupProtFlexibleTimeBucket>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SupProtFlexibleTimeBucket>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SupProtFlexibleTimeBucket>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SupProtFlexibleTimeBucket>
-