Class SupplyProtectionTimeBucket
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: A_SupplyProtectionTimeBucketType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SupplyProtectionTimeBucket instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SupplyProtectionTimeBucket>Selector for all available fields of SupplyProtectionTimeBucket.static final SimpleProperty.String<SupplyProtectionTimeBucket>static final SimpleProperty.DateTime<SupplyProtectionTimeBucket>static final SimpleProperty.DateTime<SupplyProtectionTimeBucket>static final SimpleProperty.String<SupplyProtectionTimeBucket>static final SimpleProperty.NumericDecimal<SupplyProtectionTimeBucket>static final SimpleProperty.DateTime<SupplyProtectionTimeBucket>static final SimpleProperty.DateTime<SupplyProtectionTimeBucket>static final SimpleProperty.NumericDecimal<SupplyProtectionTimeBucket>static final SimpleProperty.NumericDecimal<SupplyProtectionTimeBucket>static final SimpleProperty.Guid<SupplyProtectionTimeBucket>static final SimpleProperty.Guid<SupplyProtectionTimeBucket>static final SimpleProperty.Guid<SupplyProtectionTimeBucket>Use with available request builders to apply the _SupplyProtectionGroupTP navigation property to query operations.Use with available request builders to apply the _SupplyProtectionTP navigation property to query operations.static final SimpleProperty.String<SupplyProtectionTimeBucket>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSupplyProtectionTimeBucket(UUID supProtTimeBucketUUID, UUID supplyProtectionUUID, UUID supplyProtectionGroupUUID, OffsetDateTime supProtPeriodStartUTCDateTime, OffsetDateTime supProtPeriodEndUTCDateTime, String unitOfMeasure, BigDecimal supProtProtectedQuantity, BigDecimal supProtConsumedQuantity, BigDecimal supProtRemainingProtectedQty, String createdByUser, OffsetDateTime creationDateTime, String lastChangedByUser, OffsetDateTime lastChangeDateTime, SupplyProtectionGroup to_SupplyProtectionGroupTP, SupplyProtection to_SupplyProtectionTP) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12io.vavr.control.Option<SupplyProtectionGroup>Retrieval of associated SupplyProtectionGroup entity (one to one).Constraints: Not nullableio.vavr.control.Option<SupplyProtection>Retrieval of associated SupplyProtection entity (one to one).Constraints: Not nullableConstraints: Not nullable, Precision: 15, Scale: 3Constraints: Nullable, Precision: 7Constraints: Nullable, Precision: 7Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Precision: 15, Scale: 3(Key Field) Constraints: Not nullablegetType()Constraints: Not nullable, Maximum length: 3inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7voidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidOverwrites the associated SupplyProtectionGroup entity for the loaded navigation property _SupplyProtectionGroupTP.voidsetSupplyProtectionGroupUUID(UUID supplyProtectionGroupUUID) Constraints: Not nullablevoidOverwrites the associated SupplyProtection entity for the loaded navigation property _SupplyProtectionTP.voidsetSupplyProtectionUUID(UUID supplyProtectionUUID) Constraints: Not nullablevoidsetSupProtConsumedQuantity(BigDecimal supProtConsumedQuantity) Constraints: Not nullable, Precision: 15, Scale: 3voidsetSupProtPeriodEndUTCDateTime(OffsetDateTime supProtPeriodEndUTCDateTime) Constraints: Nullable, Precision: 7voidsetSupProtPeriodStartUTCDateTime(OffsetDateTime supProtPeriodStartUTCDateTime) Constraints: Nullable, Precision: 7voidsetSupProtProtectedQuantity(BigDecimal supProtProtectedQuantity) Constraints: Not nullable, Precision: 15, Scale: 3voidsetSupProtRemainingProtectedQty(BigDecimal supProtRemainingProtectedQty) Constraints: Not nullable, Precision: 15, Scale: 3voidsetSupProtTimeBucketUUID(UUID supProtTimeBucketUUID) (Key Field) Constraints: Not nullablevoidsetUnitOfMeasure(String unitOfMeasure) Constraints: Not nullable, Maximum length: 3toString()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 SupplyProtectionTimeBucket. -
SUP_PROT_TIME_BUCKET_UUID
-
SUPPLY_PROTECTION_UUID
-
SUPPLY_PROTECTION_GROUP_UUID
-
SUP_PROT_PERIOD_START_UTC_DATE_TIME
public static final SimpleProperty.DateTime<SupplyProtectionTimeBucket> SUP_PROT_PERIOD_START_UTC_DATE_TIME -
SUP_PROT_PERIOD_END_UTC_DATE_TIME
public static final SimpleProperty.DateTime<SupplyProtectionTimeBucket> SUP_PROT_PERIOD_END_UTC_DATE_TIME -
UNIT_OF_MEASURE
-
SUP_PROT_PROTECTED_QUANTITY
public static final SimpleProperty.NumericDecimal<SupplyProtectionTimeBucket> SUP_PROT_PROTECTED_QUANTITY -
SUP_PROT_CONSUMED_QUANTITY
public static final SimpleProperty.NumericDecimal<SupplyProtectionTimeBucket> SUP_PROT_CONSUMED_QUANTITY -
SUP_PROT_REMAINING_PROTECTED_QTY
public static final SimpleProperty.NumericDecimal<SupplyProtectionTimeBucket> SUP_PROT_REMAINING_PROTECTED_QTY -
CREATED_BY_USER
-
CREATION_DATE_TIME
-
LAST_CHANGED_BY_USER
-
LAST_CHANGE_DATE_TIME
-
TO__SUPPLY_PROTECTION_GROUP_TP
public static final NavigationProperty.Single<SupplyProtectionTimeBucket,SupplyProtectionGroup> TO__SUPPLY_PROTECTION_GROUP_TPUse with available request builders to apply the _SupplyProtectionGroupTP navigation property to query operations. -
TO__SUPPLY_PROTECTION_TP
public static final NavigationProperty.Single<SupplyProtectionTimeBucket,SupplyProtection> TO__SUPPLY_PROTECTION_TPUse with available request builders to apply the _SupplyProtectionTP navigation property to query operations.
-
-
Constructor Details
-
SupplyProtectionTimeBucket
public SupplyProtectionTimeBucket() -
SupplyProtectionTimeBucket
public SupplyProtectionTimeBucket(@Nullable UUID supProtTimeBucketUUID, @Nullable UUID supplyProtectionUUID, @Nullable UUID supplyProtectionGroupUUID, @Nullable OffsetDateTime supProtPeriodStartUTCDateTime, @Nullable OffsetDateTime supProtPeriodEndUTCDateTime, @Nullable String unitOfMeasure, @Nullable BigDecimal supProtProtectedQuantity, @Nullable BigDecimal supProtConsumedQuantity, @Nullable BigDecimal supProtRemainingProtectedQty, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable SupplyProtectionGroup to_SupplyProtectionGroupTP, @Nullable SupplyProtection to_SupplyProtectionTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SupplyProtectionTimeBucket>
-
setSupProtTimeBucketUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SupProtTimeBucketUUID
- Parameters:
supProtTimeBucketUUID- Time Bucket UUID
-
setSupplyProtectionUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionUUID
- Parameters:
supplyProtectionUUID- UUID
-
setSupplyProtectionGroupUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionGroupUUID
- Parameters:
supplyProtectionGroupUUID- Characteristic Value Combination 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)
-
setSupProtPeriodEndUTCDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: SupProtPeriodEndUTCDateTime
- Parameters:
supProtPeriodEndUTCDateTime- Period End Timestamp (UTC)
-
setUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Parameters:
unitOfMeasure- Base Unit of Measure
-
setSupProtProtectedQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: SupProtProtectedQuantity
- Parameters:
supProtProtectedQuantity- Protected Quantity
-
setSupProtConsumedQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: SupProtConsumedQuantity
- Parameters:
supProtConsumedQuantity- Consumed Quantity
-
setSupProtRemainingProtectedQty
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: SupProtRemainingProtectedQty
- Parameters:
supProtRemainingProtectedQty- Remaining Protected Quantity
-
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<SupplyProtectionTimeBucket>
-
getKey
- Overrides:
getKeyin classVdmObject<SupplyProtectionTimeBucket>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SupplyProtectionTimeBucket>
-
fromMap
- Overrides:
fromMapin classVdmObject<SupplyProtectionTimeBucket>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SupplyProtectionTimeBucket>
-
getSupplyProtectionGroupTPIfPresent
Retrieval of associated SupplyProtectionGroup entity (one to one). This corresponds to the OData navigation property _SupplyProtectionGroupTP.If the navigation property for an entity SupplyProtectionTimeBucket 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 _SupplyProtectionGroupTP is already loaded, the result
will contain the SupplyProtectionGroup entity. If not, an
Optionwith result stateemptyis returned.
-
setSupplyProtectionGroupTP
Overwrites the associated SupplyProtectionGroup entity for the loaded navigation property _SupplyProtectionGroupTP.- Parameters:
value- New SupplyProtectionGroup entity.
-
getSupplyProtectionTPIfPresent
Retrieval of associated SupplyProtection entity (one to one). This corresponds to the OData navigation property _SupplyProtectionTP.If the navigation property for an entity SupplyProtectionTimeBucket 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
-
getSupProtTimeBucketUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SupProtTimeBucketUUID
- Returns:
- Time Bucket UUID
-
getSupplyProtectionUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionUUID
- Returns:
- UUID
-
getSupplyProtectionGroupUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionGroupUUID
- Returns:
- Characteristic Value Combination UUID
-
getSupProtPeriodStartUTCDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: SupProtPeriodStartUTCDateTime
- Returns:
- Period Start Timestamp (UTC)
-
getSupProtPeriodEndUTCDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: SupProtPeriodEndUTCDateTime
- Returns:
- Period End Timestamp (UTC)
-
getUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Returns:
- Base Unit of Measure
-
getSupProtProtectedQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: SupProtProtectedQuantity
- Returns:
- Protected Quantity
-
getSupProtConsumedQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: SupProtConsumedQuantity
- Returns:
- Consumed Quantity
-
getSupProtRemainingProtectedQty
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: SupProtRemainingProtectedQty
- Returns:
- Remaining Protected Quantity
-
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<SupplyProtectionTimeBucket>
-
equals
- Overrides:
equalsin classVdmEntity<SupplyProtectionTimeBucket>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SupplyProtectionTimeBucket>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SupplyProtectionTimeBucket>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SupplyProtectionTimeBucket>
-