public class SupplyProtectionTimeBucket extends VdmEntity<SupplyProtectionTimeBucket>
Original entity name from the Odata EDM: A_SupplyProtectionTimeBucketType
Modifier and Type | Class and Description |
---|---|
static class |
SupplyProtectionTimeBucket.SupplyProtectionTimeBucketBuilder
Helper class to allow for fluent creation of SupplyProtectionTimeBucket instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
SupplyProtectionTimeBucket() |
SupplyProtectionTimeBucket(UUID supProtTimeBucketUUID,
UUID supplyProtectionUUID,
UUID supplyProtectionGroupUUID,
OffsetDateTime supProtPeriodStartUTCDateTime,
OffsetDateTime supProtPeriodEndUTCDateTime,
String unitOfMeasure,
BigDecimal supProtProtectedQuantity,
BigDecimal supProtConsumedQuantity,
String createdByUser,
OffsetDateTime creationDateTime,
String lastChangedByUser,
OffsetDateTime lastChangeDateTime,
SupplyProtectionGroup to_SupplyProtectionGroupTP,
SupplyProtection to_SupplyProtectionTP) |
Modifier and Type | Method and Description |
---|---|
static SupplyProtectionTimeBucket.SupplyProtectionTimeBucketBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
OffsetDateTime |
getCreationDateTime()
Constraints: Nullable, Precision: 7
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
protected ODataEntityKey |
getKey() |
OffsetDateTime |
getLastChangeDateTime()
Constraints: Nullable, Precision: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getOdataType() |
io.vavr.control.Option<SupplyProtectionGroup> |
getSupplyProtectionGroupTPIfPresent()
Retrieval of associated SupplyProtectionGroup entity (one to one).
|
UUID |
getSupplyProtectionGroupUUID()
Constraints: Nullable
|
io.vavr.control.Option<SupplyProtection> |
getSupplyProtectionTPIfPresent()
Retrieval of associated SupplyProtection entity (one to one).
|
UUID |
getSupplyProtectionUUID()
Constraints: Nullable
|
BigDecimal |
getSupProtConsumedQuantity()
Constraints: Not nullable, Precision: 15, Scale: 3
|
OffsetDateTime |
getSupProtPeriodEndUTCDateTime()
Constraints: Nullable, Precision: 7
|
OffsetDateTime |
getSupProtPeriodStartUTCDateTime()
Constraints: Nullable, Precision: 7
|
BigDecimal |
getSupProtProtectedQuantity()
Constraints: Not nullable, Precision: 15, Scale: 3
|
UUID |
getSupProtTimeBucketUUID()
(Key Field) Constraints: Not nullable
|
Class<SupplyProtectionTimeBucket> |
getType() |
String |
getUnitOfMeasure()
Constraints: Not nullable, Maximum length: 3
|
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(OffsetDateTime creationDateTime)
Constraints: Nullable, Precision: 7
|
void |
setLastChangeDateTime(OffsetDateTime lastChangeDateTime)
Constraints: Nullable, Precision: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setSupplyProtectionGroupTP(SupplyProtectionGroup value)
Overwrites the associated SupplyProtectionGroup entity for the loaded navigation property
_SupplyProtectionGroupTP.
|
void |
setSupplyProtectionGroupUUID(UUID supplyProtectionGroupUUID)
Constraints: Nullable
|
void |
setSupplyProtectionTP(SupplyProtection value)
Overwrites the associated SupplyProtection entity for the loaded navigation property
_SupplyProtectionTP.
|
void |
setSupplyProtectionUUID(UUID supplyProtectionUUID)
Constraints: Nullable
|
void |
setSupProtConsumedQuantity(BigDecimal supProtConsumedQuantity)
Constraints: Not nullable, Precision: 15, Scale: 3
|
void |
setSupProtPeriodEndUTCDateTime(OffsetDateTime supProtPeriodEndUTCDateTime)
Constraints: Nullable, Precision: 7
|
void |
setSupProtPeriodStartUTCDateTime(OffsetDateTime supProtPeriodStartUTCDateTime)
Constraints: Nullable, Precision: 7
|
void |
setSupProtProtectedQuantity(BigDecimal supProtProtectedQuantity)
Constraints: Not nullable, Precision: 15, Scale: 3
|
void |
setSupProtTimeBucketUUID(UUID supProtTimeBucketUUID)
(Key Field) Constraints: Not nullable
|
void |
setUnitOfMeasure(String unitOfMeasure)
Constraints: Not nullable, Maximum length: 3
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<SupplyProtectionTimeBucket> ALL_FIELDS
public static final SimpleProperty.Guid<SupplyProtectionTimeBucket> SUP_PROT_TIME_BUCKET_UUID
public static final SimpleProperty.Guid<SupplyProtectionTimeBucket> SUPPLY_PROTECTION_UUID
public static final SimpleProperty.Guid<SupplyProtectionTimeBucket> SUPPLY_PROTECTION_GROUP_UUID
public static final SimpleProperty.DateTime<SupplyProtectionTimeBucket> SUP_PROT_PERIOD_START_UTC_DATE_TIME
public static final SimpleProperty.DateTime<SupplyProtectionTimeBucket> SUP_PROT_PERIOD_END_UTC_DATE_TIME
public static final SimpleProperty.String<SupplyProtectionTimeBucket> UNIT_OF_MEASURE
public static final SimpleProperty.NumericDecimal<SupplyProtectionTimeBucket> SUP_PROT_PROTECTED_QUANTITY
public static final SimpleProperty.NumericDecimal<SupplyProtectionTimeBucket> SUP_PROT_CONSUMED_QUANTITY
public static final SimpleProperty.String<SupplyProtectionTimeBucket> CREATED_BY_USER
public static final SimpleProperty.DateTime<SupplyProtectionTimeBucket> CREATION_DATE_TIME
public static final SimpleProperty.String<SupplyProtectionTimeBucket> LAST_CHANGED_BY_USER
public static final SimpleProperty.DateTime<SupplyProtectionTimeBucket> LAST_CHANGE_DATE_TIME
public static final NavigationProperty.Single<SupplyProtectionTimeBucket,SupplyProtectionGroup> TO__SUPPLY_PROTECTION_GROUP_TP
public static final NavigationProperty.Single<SupplyProtectionTimeBucket,SupplyProtection> TO__SUPPLY_PROTECTION_TP
public 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 String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable SupplyProtectionGroup to_SupplyProtectionGroupTP, @Nullable SupplyProtection to_SupplyProtectionTP)
@Nonnull public Class<SupplyProtectionTimeBucket> getType()
getType
in class VdmObject<SupplyProtectionTimeBucket>
public void setSupProtTimeBucketUUID(@Nullable UUID supProtTimeBucketUUID)
Original property name from the Odata EDM: SupProtTimeBucketUUID
supProtTimeBucketUUID
- Time Bucket UUIDpublic void setSupplyProtectionUUID(@Nullable UUID supplyProtectionUUID)
Original property name from the Odata EDM: SupplyProtectionUUID
supplyProtectionUUID
- UUIDpublic void setSupplyProtectionGroupUUID(@Nullable UUID supplyProtectionGroupUUID)
Original property name from the Odata EDM: SupplyProtectionGroupUUID
supplyProtectionGroupUUID
- Characteristic Value Combination UUIDpublic void setSupProtPeriodStartUTCDateTime(@Nullable OffsetDateTime supProtPeriodStartUTCDateTime)
Original property name from the Odata EDM: SupProtPeriodStartUTCDateTime
supProtPeriodStartUTCDateTime
- Period Start Timestamp (UTC)public void setSupProtPeriodEndUTCDateTime(@Nullable OffsetDateTime supProtPeriodEndUTCDateTime)
Original property name from the Odata EDM: SupProtPeriodEndUTCDateTime
supProtPeriodEndUTCDateTime
- Period End Timestamp (UTC)public void setUnitOfMeasure(@Nullable String unitOfMeasure)
Original property name from the Odata EDM: UnitOfMeasure
unitOfMeasure
- Base Unit of Measurepublic void setSupProtProtectedQuantity(@Nullable BigDecimal supProtProtectedQuantity)
Original property name from the Odata EDM: SupProtProtectedQuantity
supProtProtectedQuantity
- Protected Quantitypublic void setSupProtConsumedQuantity(@Nullable BigDecimal supProtConsumedQuantity)
Original property name from the Odata EDM: SupProtConsumedQuantity
supProtConsumedQuantity
- Consumed Protectionpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created By Userpublic void setCreationDateTime(@Nullable OffsetDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- Created On / Atpublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Last Changed By Userpublic void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Changed On / Atprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SupplyProtectionTimeBucket>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<SupplyProtectionTimeBucket>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<SupplyProtectionTimeBucket>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<SupplyProtectionTimeBucket>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SupplyProtectionTimeBucket>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<SupplyProtectionTimeBucket>
@Nonnull public io.vavr.control.Option<SupplyProtectionGroup> getSupplyProtectionGroupTPIfPresent()
If the navigation property for an entity SupplyProtectionTimeBucket has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setSupplyProtectionGroupTP(SupplyProtectionGroup value)
value
- New SupplyProtectionGroup entity.@Nonnull public io.vavr.control.Option<SupplyProtection> getSupplyProtectionTPIfPresent()
If the navigation property for an entity SupplyProtectionTimeBucket has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setSupplyProtectionTP(SupplyProtection value)
value
- New SupplyProtection entity.@Nonnull public static SupplyProtectionTimeBucket.SupplyProtectionTimeBucketBuilder builder()
@Nullable public UUID getSupProtTimeBucketUUID()
Original property name from the Odata EDM: SupProtTimeBucketUUID
@Nullable public UUID getSupplyProtectionUUID()
Original property name from the Odata EDM: SupplyProtectionUUID
@Nullable public UUID getSupplyProtectionGroupUUID()
Original property name from the Odata EDM: SupplyProtectionGroupUUID
@Nullable public OffsetDateTime getSupProtPeriodStartUTCDateTime()
Original property name from the Odata EDM: SupProtPeriodStartUTCDateTime
@Nullable public OffsetDateTime getSupProtPeriodEndUTCDateTime()
Original property name from the Odata EDM: SupProtPeriodEndUTCDateTime
@Nullable public String getUnitOfMeasure()
Original property name from the Odata EDM: UnitOfMeasure
@Nullable public BigDecimal getSupProtProtectedQuantity()
Original property name from the Odata EDM: SupProtProtectedQuantity
@Nullable public BigDecimal getSupProtConsumedQuantity()
Original property name from the Odata EDM: SupProtConsumedQuantity
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public OffsetDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public OffsetDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nonnull public String toString()
toString
in class VdmObject<SupplyProtectionTimeBucket>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<SupplyProtectionTimeBucket>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<SupplyProtectionTimeBucket>
public int hashCode()
hashCode
in class VdmEntity<SupplyProtectionTimeBucket>
public String getOdataType()
getOdataType
in class VdmObject<SupplyProtectionTimeBucket>
Copyright © 2021 SAP SE. All rights reserved.