Class SupplyProtectionGroup
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: A_SupplyProtectionGroup_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SupplyProtectionGroup instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SupplyProtectionGroup>Selector for all available fields of SupplyProtectionGroup.static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.DateTime<SupplyProtectionGroup>static final SimpleProperty.DateTime<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.String<SupplyProtectionGroup>static final SimpleProperty.NumericDecimal<SupplyProtectionGroup>static final SimpleProperty.NumericInteger<SupplyProtectionGroup>static final SimpleProperty.NumericDecimal<SupplyProtectionGroup>static final SimpleProperty.NumericDecimal<SupplyProtectionGroup>static final SimpleProperty.Guid<SupplyProtectionGroup>static final SimpleProperty.Guid<SupplyProtectionGroup>Use with available request builders to apply the _SupplyProtectionTimeBucketTP navigation property to query operations.static final NavigationProperty.Single<SupplyProtectionGroup,SupplyProtection> Use with available request builders to apply the _SupplyProtectionTP navigation property to query operations.static final SimpleProperty.String<SupplyProtectionGroup>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSupplyProtectionGroup(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, BigDecimal supProtRemainingProtectedQty, List<SupplyProtectionTimeBucket> to_SupplyProtectionTimeBucketTP, SupplyProtection to_SupplyProtectionTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SupplyProtectionTimeBucket entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullableio.vavr.control.Option<List<SupplyProtectionTimeBucket>>Retrieval of associated SupplyProtectionTimeBucket entities (one to many).io.vavr.control.Option<SupplyProtection>Retrieval of associated SupplyProtection entity (one to one).Constraints: Not nullableConstraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullableConstraints: Not nullable, Precision: 15, Scale: 3Constraints: Not nullable, Precision: 15, Scale: 3getType()Constraints: Not nullable, Maximum length: 3inthashCode()voidsetCharcValAuthznGroup(String charcValAuthznGroup) Constraints: Not nullable, Maximum length: 40voidsetCreatedByUser(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: 12voidsetSupplyProtectionGroupUUID(UUID supplyProtectionGroupUUID) (Key Field) Constraints: Not nullablevoidOverwrites the list of associated SupplyProtectionTimeBucket entities for the loaded navigation property _SupplyProtectionTimeBucketTP.voidOverwrites the associated SupplyProtection entity for the loaded navigation property _SupplyProtectionTP.voidsetSupplyProtectionUUID(UUID supplyProtectionUUID) Constraints: Not nullablevoidsetSupProtCharc01ValueID(String supProtCharc01ValueID) Constraints: Not nullable, Maximum length: 40voidsetSupProtCharc02ValueID(String supProtCharc02ValueID) Constraints: Not nullable, Maximum length: 40voidsetSupProtCharc03ValueID(String supProtCharc03ValueID) Constraints: Not nullable, Maximum length: 40voidsetSupProtCharc04ValueID(String supProtCharc04ValueID) Constraints: Not nullable, Maximum length: 40voidsetSupProtCharc05ValueID(String supProtCharc05ValueID) Constraints: Not nullable, Maximum length: 40voidsetSupProtCharc06ValueID(String supProtCharc06ValueID) Constraints: Not nullable, Maximum length: 40voidsetSupProtCharc07ValueID(String supProtCharc07ValueID) Constraints: Not nullable, Maximum length: 40voidsetSupProtCharc08ValueID(String supProtCharc08ValueID) Constraints: Not nullable, Maximum length: 40voidsetSupProtCharc09ValueID(String supProtCharc09ValueID) Constraints: Not nullable, Maximum length: 40voidsetSupProtCharc10ValueID(String supProtCharc10ValueID) Constraints: Not nullable, Maximum length: 40voidsetSupProtConsumedQuantity(BigDecimal supProtConsumedQuantity) Constraints: Not nullable, Precision: 15, Scale: 3voidsetSupProtGroupPriorityValue(Integer supProtGroupPriorityValue) Constraints: Not nullablevoidsetSupProtProtectedQuantity(BigDecimal supProtProtectedQuantity) Constraints: Not nullable, Precision: 15, Scale: 3voidsetSupProtRemainingProtectedQty(BigDecimal supProtRemainingProtectedQty) Constraints: Not nullable, Precision: 15, Scale: 3voidsetUnitOfMeasure(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 SupplyProtectionGroup. -
SUPPLY_PROTECTION_GROUP_UUID
-
SUPPLY_PROTECTION_UUID
-
SUP_PROT_CHARC01_VALUE_ID
-
SUP_PROT_CHARC02_VALUE_ID
-
SUP_PROT_CHARC03_VALUE_ID
-
SUP_PROT_CHARC04_VALUE_ID
-
SUP_PROT_CHARC05_VALUE_ID
-
SUP_PROT_CHARC06_VALUE_ID
-
SUP_PROT_CHARC07_VALUE_ID
-
SUP_PROT_CHARC08_VALUE_ID
-
SUP_PROT_CHARC09_VALUE_ID
-
SUP_PROT_CHARC10_VALUE_ID
-
SUP_PROT_GROUP_PRIORITY_VALUE
public static final SimpleProperty.NumericInteger<SupplyProtectionGroup> SUP_PROT_GROUP_PRIORITY_VALUE -
CREATED_BY_USER
-
CREATION_DATE_TIME
-
LAST_CHANGED_BY_USER
-
LAST_CHANGE_DATE_TIME
-
CHARC_VAL_AUTHZN_GROUP
-
UNIT_OF_MEASURE
-
SUP_PROT_PROTECTED_QUANTITY
public static final SimpleProperty.NumericDecimal<SupplyProtectionGroup> SUP_PROT_PROTECTED_QUANTITY -
SUP_PROT_CONSUMED_QUANTITY
-
SUP_PROT_REMAINING_PROTECTED_QTY
public static final SimpleProperty.NumericDecimal<SupplyProtectionGroup> SUP_PROT_REMAINING_PROTECTED_QTY -
TO__SUPPLY_PROTECTION_TIME_BUCKET_TP
public static final NavigationProperty.Collection<SupplyProtectionGroup,SupplyProtectionTimeBucket> TO__SUPPLY_PROTECTION_TIME_BUCKET_TPUse with available request builders to apply the _SupplyProtectionTimeBucketTP navigation property to query operations. -
TO__SUPPLY_PROTECTION_TP
public static final NavigationProperty.Single<SupplyProtectionGroup,SupplyProtection> TO__SUPPLY_PROTECTION_TPUse with available request builders to apply the _SupplyProtectionTP navigation property to query operations.
-
-
Constructor Details
-
SupplyProtectionGroup
public SupplyProtectionGroup() -
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, @Nullable BigDecimal supProtRemainingProtectedQty, List<SupplyProtectionTimeBucket> to_SupplyProtectionTimeBucketTP, @Nullable SupplyProtection to_SupplyProtectionTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SupplyProtectionGroup>
-
setSupplyProtectionGroupUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionGroupUUID
- Parameters:
supplyProtectionGroupUUID- Characteristic Value Combination UUID
-
setSupplyProtectionUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionUUID
- Parameters:
supplyProtectionUUID- UUID
-
setSupProtCharc01ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc01ValueID
- Parameters:
supProtCharc01ValueID- Characteristic Value
-
setSupProtCharc02ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc02ValueID
- Parameters:
supProtCharc02ValueID- Characteristic Value
-
setSupProtCharc03ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc03ValueID
- Parameters:
supProtCharc03ValueID- Characteristic Value
-
setSupProtCharc04ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc04ValueID
- Parameters:
supProtCharc04ValueID- Characteristic Value
-
setSupProtCharc05ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc05ValueID
- Parameters:
supProtCharc05ValueID- Characteristic Value
-
setSupProtCharc06ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc06ValueID
- Parameters:
supProtCharc06ValueID- Characteristic Value
-
setSupProtCharc07ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc07ValueID
- Parameters:
supProtCharc07ValueID- Characteristic Value
-
setSupProtCharc08ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc08ValueID
- Parameters:
supProtCharc08ValueID- Characteristic Value
-
setSupProtCharc09ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc09ValueID
- Parameters:
supProtCharc09ValueID- Characteristic Value
-
setSupProtCharc10ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc10ValueID
- Parameters:
supProtCharc10ValueID- Characteristic Value
-
setSupProtGroupPriorityValue
Constraints: Not nullableOriginal property name from the Odata EDM: SupProtGroupPriorityValue
- Parameters:
supProtGroupPriorityValue- Priority
-
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
-
setCharcValAuthznGroup
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CharcValAuthznGroup
- Parameters:
charcValAuthznGroup- Supply Protection Characteristic Value Authorization Group
-
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
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SupplyProtectionGroup>
-
getKey
- Overrides:
getKeyin classVdmObject<SupplyProtectionGroup>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SupplyProtectionGroup>
-
fromMap
- Overrides:
fromMapin classVdmObject<SupplyProtectionGroup>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SupplyProtectionGroup>
-
getSupplyProtectionTimeBucketTPIfPresent
@Nonnull public io.vavr.control.Option<List<SupplyProtectionTimeBucket>> getSupplyProtectionTimeBucketTPIfPresent()Retrieval of associated SupplyProtectionTimeBucket entities (one to many). This corresponds to the OData navigation property _SupplyProtectionTimeBucketTP.If the navigation property for an entity SupplyProtectionGroup 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 _SupplyProtectionTimeBucketTP is already loaded, the
result will contain the SupplyProtectionTimeBucket entities. If not, an
Optionwith result stateemptyis returned.
-
setSupplyProtectionTimeBucketTP
Overwrites the list of associated SupplyProtectionTimeBucket entities for the loaded navigation property _SupplyProtectionTimeBucketTP.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.
- Parameters:
value- List of SupplyProtectionTimeBucket entities.
-
addSupplyProtectionTimeBucketTP
Adds elements to the list of associated SupplyProtectionTimeBucket entities. This corresponds to the OData navigation property _SupplyProtectionTimeBucketTP.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.
- Parameters:
entity- Array of SupplyProtectionTimeBucket entities.
-
getSupplyProtectionTPIfPresent
Retrieval of associated SupplyProtection entity (one to one). This corresponds to the OData navigation property _SupplyProtectionTP.If the navigation property for an entity SupplyProtectionGroup 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
-
getSupplyProtectionGroupUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionGroupUUID
- Returns:
- Characteristic Value Combination UUID
-
getSupplyProtectionUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionUUID
- Returns:
- UUID
-
getSupProtCharc01ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc01ValueID
- Returns:
- Characteristic Value
-
getSupProtCharc02ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc02ValueID
- Returns:
- Characteristic Value
-
getSupProtCharc03ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc03ValueID
- Returns:
- Characteristic Value
-
getSupProtCharc04ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc04ValueID
- Returns:
- Characteristic Value
-
getSupProtCharc05ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc05ValueID
- Returns:
- Characteristic Value
-
getSupProtCharc06ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc06ValueID
- Returns:
- Characteristic Value
-
getSupProtCharc07ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc07ValueID
- Returns:
- Characteristic Value
-
getSupProtCharc08ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc08ValueID
- Returns:
- Characteristic Value
-
getSupProtCharc09ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc09ValueID
- Returns:
- Characteristic Value
-
getSupProtCharc10ValueID
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SupProtCharc10ValueID
- Returns:
- Characteristic Value
-
getSupProtGroupPriorityValue
Constraints: Not nullableOriginal property name from the Odata EDM: SupProtGroupPriorityValue
- Returns:
- Priority
-
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
-
getCharcValAuthznGroup
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CharcValAuthznGroup
- Returns:
- Supply Protection Characteristic Value Authorization Group
-
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
-
toString
- Overrides:
toStringin classVdmObject<SupplyProtectionGroup>
-
equals
- Overrides:
equalsin classVdmEntity<SupplyProtectionGroup>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SupplyProtectionGroup>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SupplyProtectionGroup>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SupplyProtectionGroup>
-