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

public class ExplicitAssortmentModuleUser extends VdmEntity<ExplicitAssortmentModuleUser> implements VdmEntitySet
Assortment User Assignment to Assortment Module

Original entity name from the Odata EDM: ExplicitAssortmentModuleUserType

  • Field Details

  • Constructor Details

    • ExplicitAssortmentModuleUser

      public ExplicitAssortmentModuleUser()
    • ExplicitAssortmentModuleUser

      public ExplicitAssortmentModuleUser(@Nullable UUID assortmentModuleUUID, @Nullable String assortmentModuleUser, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable LocalDate lastChangeDate, @Nullable String lastChangedByUserName, @Nullable Collection<SAP__Message> _Messages)
  • Method Details

    • getType

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

      public void setAssortmentModuleUUID(@Nullable UUID assortmentModuleUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: AssortmentModuleUUID

      Parameters:
      assortmentModuleUUID - Universal Unique Identifier of Assortment
    • setAssortmentModuleUser

      public void setAssortmentModuleUser(@Nullable String assortmentModuleUser)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AssortmentModuleUser

      Parameters:
      assortmentModuleUser - Assortment User
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDate validityStartDate)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid From
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDate validityEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Valid To
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDate lastChangeDate)
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - The lastChangeDate to set.
    • setLastChangedByUserName

      public void setLastChangedByUserName(@Nullable String lastChangedByUserName)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUserName

      Parameters:
      lastChangedByUserName - User Name of the User Who Last Changed an Object
    • 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<ExplicitAssortmentModuleUser>
    • getKey

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

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ExplicitAssortmentModuleUser>
    • updateValidity

      @Nonnull public static BoundAction.SingleToSingle<ExplicitAssortmentModuleUser,Void> updateValidity(@Nullable LocalDate newValidityStartDate, @Nullable LocalDate newValidityEndDate)
      Action that can be applied to any entity object of this class.

      Parameters:
      newValidityEndDate - Constraints: Nullable

      Original parameter name from the Odata EDM: NewValidityEndDate

      newValidityStartDate - Constraints: Nullable

      Original parameter name from the Odata EDM: NewValidityStartDate

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

    • getAssortmentModuleUUID

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

      Original property name from the Odata EDM: AssortmentModuleUUID

      Returns:
      Universal Unique Identifier of Assortment
    • getAssortmentModuleUser

      @Nullable public String getAssortmentModuleUser()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AssortmentModuleUser

      Returns:
      Assortment User
    • getValidityStartDate

      @Nullable public LocalDate getValidityStartDate()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid From
    • getValidityEndDate

      @Nullable public LocalDate getValidityEndDate()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Valid To
    • getLastChangeDate

      @Nullable public LocalDate getLastChangeDate()
      Constraints: Nullable

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      The lastChangeDate contained in this VdmEntity.
    • getLastChangedByUserName

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

      Original property name from the Odata EDM: LastChangedByUserName

      Returns:
      User Name of the User Who Last Changed an Object
    • 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<ExplicitAssortmentModuleUser>
    • equals

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

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

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

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