public class SupplyProtectionGroup extends VdmEntity<SupplyProtectionGroup>
Original entity name from the Odata EDM: A_SupplyProtectionGroupType
Modifier and Type | Class and Description |
---|---|
static class |
SupplyProtectionGroup.SupplyProtectionGroupBuilder
Helper class to allow for fluent creation of SupplyProtectionGroup instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
SupplyProtectionGroup() |
SupplyProtectionGroup(UUID supplyProtectionGroupUUID,
UUID supplyProtectionUUID,
String supProtCharc01ValueID,
String supProtCharc02ValueID,
String supProtCharc03ValueID,
String supProtCharc04ValueID,
String supProtCharc05ValueID,
String supProtCharc06ValueID,
String supProtCharc07ValueID,
String supProtCharc08ValueID,
String supProtCharc09ValueID,
String supProtCharc10ValueID,
Integer supProtGroupPriorityValue,
String createdByUser,
OffsetDateTime creationDateTime,
String lastChangedByUser,
OffsetDateTime lastChangeDateTime,
String charcValAuthznGroup,
String unitOfMeasure,
BigDecimal supProtProtectedQuantity,
BigDecimal supProtConsumedQuantity,
List<SupplyProtectionTimeBucket> to_SupplyProtectionTimeBucketTP,
SupplyProtection to_SupplyProtectionTP) |
Modifier and Type | Method and Description |
---|---|
void |
addSupplyProtectionTimeBucketTP(SupplyProtectionTimeBucket... entity)
Adds elements to the list of associated SupplyProtectionTimeBucket entities.
|
static SupplyProtectionGroup.SupplyProtectionGroupBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
String |
getCharcValAuthznGroup()
Constraints: Not nullable, Maximum length: 40
|
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() |
UUID |
getSupplyProtectionGroupUUID()
(Key Field) Constraints: Not nullable
|
io.vavr.control.Option<List<SupplyProtectionTimeBucket>> |
getSupplyProtectionTimeBucketTPIfPresent()
Retrieval of associated SupplyProtectionTimeBucket entities (one to many).
|
io.vavr.control.Option<SupplyProtection> |
getSupplyProtectionTPIfPresent()
Retrieval of associated SupplyProtection entity (one to one).
|
UUID |
getSupplyProtectionUUID()
Constraints: Nullable
|
String |
getSupProtCharc01ValueID()
Constraints: Not nullable, Maximum length: 40
|
String |
getSupProtCharc02ValueID()
Constraints: Not nullable, Maximum length: 40
|
String |
getSupProtCharc03ValueID()
Constraints: Not nullable, Maximum length: 40
|
String |
getSupProtCharc04ValueID()
Constraints: Not nullable, Maximum length: 40
|
String |
getSupProtCharc05ValueID()
Constraints: Not nullable, Maximum length: 40
|
String |
getSupProtCharc06ValueID()
Constraints: Not nullable, Maximum length: 40
|
String |
getSupProtCharc07ValueID()
Constraints: Not nullable, Maximum length: 40
|
String |
getSupProtCharc08ValueID()
Constraints: Not nullable, Maximum length: 40
|
String |
getSupProtCharc09ValueID()
Constraints: Not nullable, Maximum length: 40
|
String |
getSupProtCharc10ValueID()
Constraints: Not nullable, Maximum length: 40
|
BigDecimal |
getSupProtConsumedQuantity()
Constraints: Not nullable, Precision: 15, Scale: 3
|
Integer |
getSupProtGroupPriorityValue()
Constraints: Not nullable
|
BigDecimal |
getSupProtProtectedQuantity()
Constraints: Not nullable, Precision: 15, Scale: 3
|
Class<SupplyProtectionGroup> |
getType() |
String |
getUnitOfMeasure()
Constraints: Not nullable, Maximum length: 3
|
int |
hashCode() |
void |
setCharcValAuthznGroup(String charcValAuthznGroup)
Constraints: Not nullable, Maximum length: 40
|
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 |
setSupplyProtectionGroupUUID(UUID supplyProtectionGroupUUID)
(Key Field) Constraints: Not nullable
|
void |
setSupplyProtectionTimeBucketTP(List<SupplyProtectionTimeBucket> value)
Overwrites the list of associated SupplyProtectionTimeBucket entities for the loaded navigation property
_SupplyProtectionTimeBucketTP.
|
void |
setSupplyProtectionTP(SupplyProtection value)
Overwrites the associated SupplyProtection entity for the loaded navigation property
_SupplyProtectionTP.
|
void |
setSupplyProtectionUUID(UUID supplyProtectionUUID)
Constraints: Nullable
|
void |
setSupProtCharc01ValueID(String supProtCharc01ValueID)
Constraints: Not nullable, Maximum length: 40
|
void |
setSupProtCharc02ValueID(String supProtCharc02ValueID)
Constraints: Not nullable, Maximum length: 40
|
void |
setSupProtCharc03ValueID(String supProtCharc03ValueID)
Constraints: Not nullable, Maximum length: 40
|
void |
setSupProtCharc04ValueID(String supProtCharc04ValueID)
Constraints: Not nullable, Maximum length: 40
|
void |
setSupProtCharc05ValueID(String supProtCharc05ValueID)
Constraints: Not nullable, Maximum length: 40
|
void |
setSupProtCharc06ValueID(String supProtCharc06ValueID)
Constraints: Not nullable, Maximum length: 40
|
void |
setSupProtCharc07ValueID(String supProtCharc07ValueID)
Constraints: Not nullable, Maximum length: 40
|
void |
setSupProtCharc08ValueID(String supProtCharc08ValueID)
Constraints: Not nullable, Maximum length: 40
|
void |
setSupProtCharc09ValueID(String supProtCharc09ValueID)
Constraints: Not nullable, Maximum length: 40
|
void |
setSupProtCharc10ValueID(String supProtCharc10ValueID)
Constraints: Not nullable, Maximum length: 40
|
void |
setSupProtConsumedQuantity(BigDecimal supProtConsumedQuantity)
Constraints: Not nullable, Precision: 15, Scale: 3
|
void |
setSupProtGroupPriorityValue(Integer supProtGroupPriorityValue)
Constraints: Not nullable
|
void |
setSupProtProtectedQuantity(BigDecimal supProtProtectedQuantity)
Constraints: Not nullable, Precision: 15, Scale: 3
|
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<SupplyProtectionGroup> ALL_FIELDS
public static final SimpleProperty.Guid<SupplyProtectionGroup> SUPPLY_PROTECTION_GROUP_UUID
public static final SimpleProperty.Guid<SupplyProtectionGroup> SUPPLY_PROTECTION_UUID
public static final SimpleProperty.String<SupplyProtectionGroup> SUP_PROT_CHARC01_VALUE_ID
public static final SimpleProperty.String<SupplyProtectionGroup> SUP_PROT_CHARC02_VALUE_ID
public static final SimpleProperty.String<SupplyProtectionGroup> SUP_PROT_CHARC03_VALUE_ID
public static final SimpleProperty.String<SupplyProtectionGroup> SUP_PROT_CHARC04_VALUE_ID
public static final SimpleProperty.String<SupplyProtectionGroup> SUP_PROT_CHARC05_VALUE_ID
public static final SimpleProperty.String<SupplyProtectionGroup> SUP_PROT_CHARC06_VALUE_ID
public static final SimpleProperty.String<SupplyProtectionGroup> SUP_PROT_CHARC07_VALUE_ID
public static final SimpleProperty.String<SupplyProtectionGroup> SUP_PROT_CHARC08_VALUE_ID
public static final SimpleProperty.String<SupplyProtectionGroup> SUP_PROT_CHARC09_VALUE_ID
public static final SimpleProperty.String<SupplyProtectionGroup> SUP_PROT_CHARC10_VALUE_ID
public static final SimpleProperty.NumericInteger<SupplyProtectionGroup> SUP_PROT_GROUP_PRIORITY_VALUE
public static final SimpleProperty.String<SupplyProtectionGroup> CREATED_BY_USER
public static final SimpleProperty.DateTime<SupplyProtectionGroup> CREATION_DATE_TIME
public static final SimpleProperty.String<SupplyProtectionGroup> LAST_CHANGED_BY_USER
public static final SimpleProperty.DateTime<SupplyProtectionGroup> LAST_CHANGE_DATE_TIME
public static final SimpleProperty.String<SupplyProtectionGroup> CHARC_VAL_AUTHZN_GROUP
public static final SimpleProperty.String<SupplyProtectionGroup> UNIT_OF_MEASURE
public static final SimpleProperty.NumericDecimal<SupplyProtectionGroup> SUP_PROT_PROTECTED_QUANTITY
public static final SimpleProperty.NumericDecimal<SupplyProtectionGroup> SUP_PROT_CONSUMED_QUANTITY
public static final NavigationProperty.Collection<SupplyProtectionGroup,SupplyProtectionTimeBucket> TO__SUPPLY_PROTECTION_TIME_BUCKET_TP
public static final NavigationProperty.Single<SupplyProtectionGroup,SupplyProtection> TO__SUPPLY_PROTECTION_TP
public SupplyProtectionGroup()
public SupplyProtectionGroup(@Nullable UUID supplyProtectionGroupUUID, @Nullable UUID supplyProtectionUUID, @Nullable String supProtCharc01ValueID, @Nullable String supProtCharc02ValueID, @Nullable String supProtCharc03ValueID, @Nullable String supProtCharc04ValueID, @Nullable String supProtCharc05ValueID, @Nullable String supProtCharc06ValueID, @Nullable String supProtCharc07ValueID, @Nullable String supProtCharc08ValueID, @Nullable String supProtCharc09ValueID, @Nullable String supProtCharc10ValueID, @Nullable Integer supProtGroupPriorityValue, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable String charcValAuthznGroup, @Nullable String unitOfMeasure, @Nullable BigDecimal supProtProtectedQuantity, @Nullable BigDecimal supProtConsumedQuantity, List<SupplyProtectionTimeBucket> to_SupplyProtectionTimeBucketTP, @Nullable SupplyProtection to_SupplyProtectionTP)
@Nonnull public Class<SupplyProtectionGroup> getType()
getType
in class VdmObject<SupplyProtectionGroup>
public void setSupplyProtectionGroupUUID(@Nullable UUID supplyProtectionGroupUUID)
Original property name from the Odata EDM: SupplyProtectionGroupUUID
supplyProtectionGroupUUID
- Characteristic Value Combination UUIDpublic void setSupplyProtectionUUID(@Nullable UUID supplyProtectionUUID)
Original property name from the Odata EDM: SupplyProtectionUUID
supplyProtectionUUID
- UUIDpublic void setSupProtCharc01ValueID(@Nullable String supProtCharc01ValueID)
Original property name from the Odata EDM: SupProtCharc01ValueID
supProtCharc01ValueID
- Characteristic Valuepublic void setSupProtCharc02ValueID(@Nullable String supProtCharc02ValueID)
Original property name from the Odata EDM: SupProtCharc02ValueID
supProtCharc02ValueID
- Characteristic Valuepublic void setSupProtCharc03ValueID(@Nullable String supProtCharc03ValueID)
Original property name from the Odata EDM: SupProtCharc03ValueID
supProtCharc03ValueID
- Characteristic Valuepublic void setSupProtCharc04ValueID(@Nullable String supProtCharc04ValueID)
Original property name from the Odata EDM: SupProtCharc04ValueID
supProtCharc04ValueID
- Characteristic Valuepublic void setSupProtCharc05ValueID(@Nullable String supProtCharc05ValueID)
Original property name from the Odata EDM: SupProtCharc05ValueID
supProtCharc05ValueID
- Characteristic Valuepublic void setSupProtCharc06ValueID(@Nullable String supProtCharc06ValueID)
Original property name from the Odata EDM: SupProtCharc06ValueID
supProtCharc06ValueID
- Characteristic Valuepublic void setSupProtCharc07ValueID(@Nullable String supProtCharc07ValueID)
Original property name from the Odata EDM: SupProtCharc07ValueID
supProtCharc07ValueID
- Characteristic Valuepublic void setSupProtCharc08ValueID(@Nullable String supProtCharc08ValueID)
Original property name from the Odata EDM: SupProtCharc08ValueID
supProtCharc08ValueID
- Characteristic Valuepublic void setSupProtCharc09ValueID(@Nullable String supProtCharc09ValueID)
Original property name from the Odata EDM: SupProtCharc09ValueID
supProtCharc09ValueID
- Characteristic Valuepublic void setSupProtCharc10ValueID(@Nullable String supProtCharc10ValueID)
Original property name from the Odata EDM: SupProtCharc10ValueID
supProtCharc10ValueID
- Characteristic Valuepublic void setSupProtGroupPriorityValue(@Nullable Integer supProtGroupPriorityValue)
Original property name from the Odata EDM: SupProtGroupPriorityValue
supProtGroupPriorityValue
- Prioritypublic 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 / Atpublic void setCharcValAuthznGroup(@Nullable String charcValAuthznGroup)
Original property name from the Odata EDM: CharcValAuthznGroup
charcValAuthznGroup
- Supply Protection Characteristic Value Authorization Grouppublic 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 Protectionprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SupplyProtectionGroup>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<SupplyProtectionGroup>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<SupplyProtectionGroup>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<SupplyProtectionGroup>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SupplyProtectionGroup>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<SupplyProtectionGroup>
@Nonnull public io.vavr.control.Option<List<SupplyProtectionTimeBucket>> getSupplyProtectionTimeBucketTPIfPresent()
If the navigation property for an entity SupplyProtectionGroup 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 setSupplyProtectionTimeBucketTP(@Nonnull List<SupplyProtectionTimeBucket> value)
If the navigation property _SupplyProtectionTimeBucketTP of a queried SupplyProtectionGroup is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of SupplyProtectionTimeBucket entities.public void addSupplyProtectionTimeBucketTP(SupplyProtectionTimeBucket... entity)
If the navigation property _SupplyProtectionTimeBucketTP of a queried SupplyProtectionGroup is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of SupplyProtectionTimeBucket entities.@Nonnull public io.vavr.control.Option<SupplyProtection> getSupplyProtectionTPIfPresent()
If the navigation property for an entity SupplyProtectionGroup 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 SupplyProtectionGroup.SupplyProtectionGroupBuilder builder()
@Nullable public UUID getSupplyProtectionGroupUUID()
Original property name from the Odata EDM: SupplyProtectionGroupUUID
@Nullable public UUID getSupplyProtectionUUID()
Original property name from the Odata EDM: SupplyProtectionUUID
@Nullable public String getSupProtCharc01ValueID()
Original property name from the Odata EDM: SupProtCharc01ValueID
@Nullable public String getSupProtCharc02ValueID()
Original property name from the Odata EDM: SupProtCharc02ValueID
@Nullable public String getSupProtCharc03ValueID()
Original property name from the Odata EDM: SupProtCharc03ValueID
@Nullable public String getSupProtCharc04ValueID()
Original property name from the Odata EDM: SupProtCharc04ValueID
@Nullable public String getSupProtCharc05ValueID()
Original property name from the Odata EDM: SupProtCharc05ValueID
@Nullable public String getSupProtCharc06ValueID()
Original property name from the Odata EDM: SupProtCharc06ValueID
@Nullable public String getSupProtCharc07ValueID()
Original property name from the Odata EDM: SupProtCharc07ValueID
@Nullable public String getSupProtCharc08ValueID()
Original property name from the Odata EDM: SupProtCharc08ValueID
@Nullable public String getSupProtCharc09ValueID()
Original property name from the Odata EDM: SupProtCharc09ValueID
@Nullable public String getSupProtCharc10ValueID()
Original property name from the Odata EDM: SupProtCharc10ValueID
@Nullable public Integer getSupProtGroupPriorityValue()
Original property name from the Odata EDM: SupProtGroupPriorityValue
@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
@Nullable public String getCharcValAuthznGroup()
Original property name from the Odata EDM: CharcValAuthznGroup
@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
@Nonnull public String toString()
toString
in class VdmObject<SupplyProtectionGroup>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<SupplyProtectionGroup>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<SupplyProtectionGroup>
public int hashCode()
hashCode
in class VdmEntity<SupplyProtectionGroup>
public String getOdataType()
getOdataType
in class VdmObject<SupplyProtectionGroup>
Copyright © 2021 SAP SE. All rights reserved.