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

public class SLocSubstn extends VdmEntity<SLocSubstn> implements VdmEntitySet
Storage Location Substitution

Original entity name from the Odata EDM: SLocSubstn_Type

  • Field Details

  • Constructor Details

    • SLocSubstn

      public SLocSubstn()
    • SLocSubstn

      public SLocSubstn(@Nullable UUID mDSubstnUUID, @Nullable String storageLocation, @Nullable String substituteStorageLocation, @Nullable String plant, @Nullable String mDSubstnGroup, @Nullable Boolean mDSubstnIsExit, @Nullable Boolean mDSubstnIsLeading, @Nullable Short mDSubstnSequenceValue, @Nullable LocalDate mDSubstnValidityStartDate, @Nullable LocalTime mDSubstnValidityStartTime, @Nullable LocalDate mDSubstnValidityEndDate, @Nullable LocalTime mDSubstnValidityEndTime, @Nullable String timeZoneID, @Nullable String mDSubstnReason, @Nullable String mDSubstnStatus, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable Collection<SAP__Message> _Messages)
  • Method Details

    • getType

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

      public void setMDSubstnUUID(@Nullable UUID mDSubstnUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnUUID

      Parameters:
      mDSubstnUUID - Substitution UUID
    • setStorageLocation

      public void setStorageLocation(@Nullable String storageLocation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StorageLocation

      Parameters:
      storageLocation - Storage Location
    • setSubstituteStorageLocation

      public void setSubstituteStorageLocation(@Nullable String substituteStorageLocation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SubstituteStorageLocation

      Parameters:
      substituteStorageLocation - Substitution Substitute for Storage Location
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setMDSubstnGroup

      public void setMDSubstnGroup(@Nullable String mDSubstnGroup)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: MDSubstnGroup

      Parameters:
      mDSubstnGroup - Group Name
    • setMDSubstnIsExit

      public void setMDSubstnIsExit(@Nullable Boolean mDSubstnIsExit)
      Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnIsExit

      Parameters:
      mDSubstnIsExit - Stops Further Substitution in the Chain
    • setMDSubstnIsLeading

      public void setMDSubstnIsLeading(@Nullable Boolean mDSubstnIsLeading)
      Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnIsLeading

      Parameters:
      mDSubstnIsLeading - Substitution Lead Indicator
    • setMDSubstnSequenceValue

      public void setMDSubstnSequenceValue(@Nullable Short mDSubstnSequenceValue)
      Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnSequenceValue

      Parameters:
      mDSubstnSequenceValue - Order of Substitutions in the Chain
    • setMDSubstnValidityStartDate

      public void setMDSubstnValidityStartDate(@Nullable LocalDate mDSubstnValidityStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: MDSubstnValidityStartDate

      Parameters:
      mDSubstnValidityStartDate - Valid From Date
    • setMDSubstnValidityStartTime

      public void setMDSubstnValidityStartTime(@Nullable LocalTime mDSubstnValidityStartTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnValidityStartTime

      Parameters:
      mDSubstnValidityStartTime - Valid From Time
    • setMDSubstnValidityEndDate

      public void setMDSubstnValidityEndDate(@Nullable LocalDate mDSubstnValidityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: MDSubstnValidityEndDate

      Parameters:
      mDSubstnValidityEndDate - Valid To Date
    • setMDSubstnValidityEndTime

      public void setMDSubstnValidityEndTime(@Nullable LocalTime mDSubstnValidityEndTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnValidityEndTime

      Parameters:
      mDSubstnValidityEndTime - Valid To Time
    • setTimeZoneID

      public void setTimeZoneID(@Nullable String timeZoneID)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: TimeZoneID

      Parameters:
      timeZoneID - Time Zone
    • setMDSubstnReason

      public void setMDSubstnReason(@Nullable String mDSubstnReason)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: MDSubstnReason

      Parameters:
      mDSubstnReason - Reason
    • setMDSubstnStatus

      public void setMDSubstnStatus(@Nullable String mDSubstnStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MDSubstnStatus

      Parameters:
      mDSubstnStatus - Substitution Status
    • 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 - Substitution Creation Date
    • 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 - Substitution Last Changed Date
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SLocSubstn>
    • builder

      @Nonnull public static SLocSubstn.SLocSubstnBuilder builder()
    • getMDSubstnUUID

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

      Original property name from the Odata EDM: MDSubstnUUID

      Returns:
      Substitution UUID
    • getStorageLocation

      @Nullable public String getStorageLocation()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StorageLocation

      Returns:
      Storage Location
    • getSubstituteStorageLocation

      @Nullable public String getSubstituteStorageLocation()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SubstituteStorageLocation

      Returns:
      Substitution Substitute for Storage Location
    • getPlant

      @Nullable public String getPlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getMDSubstnGroup

      @Nullable public String getMDSubstnGroup()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: MDSubstnGroup

      Returns:
      Group Name
    • getMDSubstnIsExit

      @Nullable public Boolean getMDSubstnIsExit()
      Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnIsExit

      Returns:
      Stops Further Substitution in the Chain
    • getMDSubstnIsLeading

      @Nullable public Boolean getMDSubstnIsLeading()
      Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnIsLeading

      Returns:
      Substitution Lead Indicator
    • getMDSubstnSequenceValue

      @Nullable public Short getMDSubstnSequenceValue()
      Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnSequenceValue

      Returns:
      Order of Substitutions in the Chain
    • getMDSubstnValidityStartDate

      @Nullable public LocalDate getMDSubstnValidityStartDate()
      Constraints: Nullable

      Original property name from the Odata EDM: MDSubstnValidityStartDate

      Returns:
      Valid From Date
    • getMDSubstnValidityStartTime

      @Nullable public LocalTime getMDSubstnValidityStartTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnValidityStartTime

      Returns:
      Valid From Time
    • getMDSubstnValidityEndDate

      @Nullable public LocalDate getMDSubstnValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: MDSubstnValidityEndDate

      Returns:
      Valid To Date
    • getMDSubstnValidityEndTime

      @Nullable public LocalTime getMDSubstnValidityEndTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: MDSubstnValidityEndTime

      Returns:
      Valid To Time
    • getTimeZoneID

      @Nullable public String getTimeZoneID()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: TimeZoneID

      Returns:
      Time Zone
    • getMDSubstnReason

      @Nullable public String getMDSubstnReason()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: MDSubstnReason

      Returns:
      Reason
    • getMDSubstnStatus

      @Nullable public String getMDSubstnStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MDSubstnStatus

      Returns:
      Substitution Status
    • 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:
      Substitution Creation Date
    • 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:
      Substitution Last Changed Date
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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