java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SupProtCharacteristic>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.supplyavailabilityprotectionplanv2.SupProtCharacteristic
All Implemented Interfaces:
VdmEntitySet

public class SupProtCharacteristic extends VdmEntity<SupProtCharacteristic> implements VdmEntitySet
Characteristic

Original entity name from the Odata EDM: A_SupProtCharacteristic_Type

  • Field Details

  • Constructor Details

    • SupProtCharacteristic

      public SupProtCharacteristic()
    • SupProtCharacteristic

      public SupProtCharacteristic(@Nullable UUID supProtCharacteristicUUID, @Nullable UUID supplyProtectionUUID, @Nullable Short supProtOrdinalNumberValue, @Nullable String supProtCharcName, @Nullable byte[] supProtCharcCtlgPathIntID, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable String supProtCharcText, @Nullable SupplyProtection to_SupplyProtectionTP)
  • Method Details

    • getType

      @Nonnull public Class<SupProtCharacteristic> getType()
      Specified by:
      getType in class VdmObject<SupProtCharacteristic>
    • setSupProtCharacteristicUUID

      public void setSupProtCharacteristicUUID(@Nullable UUID supProtCharacteristicUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SupProtCharacteristicUUID

      Parameters:
      supProtCharacteristicUUID - Characteristic UUID
    • setSupplyProtectionUUID

      public void setSupplyProtectionUUID(@Nullable UUID supplyProtectionUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplyProtectionUUID

      Parameters:
      supplyProtectionUUID - UUID
    • setSupProtOrdinalNumberValue

      public void setSupProtOrdinalNumberValue(@Nullable Short supProtOrdinalNumberValue)
      Constraints: Not nullable

      Original property name from the Odata EDM: SupProtOrdinalNumberValue

      Parameters:
      supProtOrdinalNumberValue - Ordinal Number
    • setSupProtCharcName

      public void setSupProtCharcName(@Nullable String supProtCharcName)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SupProtCharcName

      Parameters:
      supProtCharcName - Characteristic Name
    • setSupProtCharcCtlgPathIntID

      public void setSupProtCharcCtlgPathIntID(@Nullable byte[] supProtCharcCtlgPathIntID)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SupProtCharcCtlgPathIntID

      Parameters:
      supProtCharcCtlgPathIntID - Characteristic Catalog Path Internal ID
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By User
    • setCreationDateTime

      public void setCreationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - Created On / At
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Last Changed By User
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Changed On / At
    • setSupProtCharcText

      public void setSupProtCharcText(@Nullable String supProtCharcText)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: SupProtCharcText

      Parameters:
      supProtCharcText - Characteristic
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<SupProtCharacteristic>
    • getKey

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<SupProtCharacteristic>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<SupProtCharacteristic>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<SupProtCharacteristic>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SupProtCharacteristic>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SupProtCharacteristic>
    • getSupplyProtectionTPIfPresent

      @Nonnull public io.vavr.control.Option<SupplyProtection> getSupplyProtectionTPIfPresent()
      Retrieval of associated SupplyProtection entity (one to one). This corresponds to the OData navigation property _SupplyProtectionTP.

      If the navigation property for an entity SupProtCharacteristic has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _SupplyProtectionTP is already loaded, the result will contain the SupplyProtection entity. If not, an Option with result state empty is returned.
    • setSupplyProtectionTP

      public void setSupplyProtectionTP(SupplyProtection value)
      Overwrites the associated SupplyProtection entity for the loaded navigation property _SupplyProtectionTP.
      Parameters:
      value - New SupplyProtection entity.
    • builder

      @Nonnull public static SupProtCharacteristic.SupProtCharacteristicBuilder builder()
    • getSupProtCharacteristicUUID

      @Nullable public UUID getSupProtCharacteristicUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SupProtCharacteristicUUID

      Returns:
      Characteristic UUID
    • getSupplyProtectionUUID

      @Nullable public UUID getSupplyProtectionUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplyProtectionUUID

      Returns:
      UUID
    • getSupProtOrdinalNumberValue

      @Nullable public Short getSupProtOrdinalNumberValue()
      Constraints: Not nullable

      Original property name from the Odata EDM: SupProtOrdinalNumberValue

      Returns:
      Ordinal Number
    • getSupProtCharcName

      @Nullable public String getSupProtCharcName()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SupProtCharcName

      Returns:
      Characteristic Name
    • getSupProtCharcCtlgPathIntID

      @Nullable public byte[] getSupProtCharcCtlgPathIntID()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SupProtCharcCtlgPathIntID

      Returns:
      Characteristic Catalog Path Internal ID
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By User
    • getCreationDateTime

      @Nullable public OffsetDateTime getCreationDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      Created On / At
    • getLastChangedByUser

      @Nullable public String getLastChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Last Changed By User
    • getLastChangeDateTime

      @Nullable public OffsetDateTime getLastChangeDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Changed On / At
    • getSupProtCharcText

      @Nullable public String getSupProtCharcText()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: SupProtCharcText

      Returns:
      Characteristic
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<SupProtCharacteristic>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<SupProtCharacteristic>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<SupProtCharacteristic>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<SupProtCharacteristic>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<SupProtCharacteristic>