Class VarCnfTblValAssgmtAltvItem

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

public class VarCnfTblValAssgmtAltvItem extends VdmEntity<VarCnfTblValAssgmtAltvItem> implements VdmEntitySet
Value Assignment Alternative Items

Original entity name from the Odata EDM: VarCnfTblValAssgmtAltvItem_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setVarConfignTblName(@Nullable String varConfignTblName)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: VarConfignTblName

      Parameters:
      varConfignTblName - Name of variant table
    • setVarConfignTblValAssgmtAltvID

      public void setVarConfignTblValAssgmtAltvID(@Nullable String varConfignTblValAssgmtAltvID)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: VarConfignTblValAssgmtAltvID

      Parameters:
      varConfignTblValAssgmtAltvID - Counter for value assignment alternative
    • setCharacteristic

      public void setCharacteristic(@Nullable String characteristic)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: Characteristic

      Parameters:
      characteristic - Characteristic Name
    • setCharcInternalID

      public void setCharcInternalID(@Nullable String charcInternalID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CharcInternalID

      Parameters:
      charcInternalID - Characteristic Internal ID
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity VarCnfTblValAssgmtAltvItem 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 _Column is already loaded, the result will contain the VarCnfTblColumn entity. If not, an Option with result state empty is returned.
    • setColumn

      public void setColumn(VarCnfTblColumn value)
      Overwrites the associated VarCnfTblColumn entity for the loaded navigation property _Column.
      Parameters:
      value - New VarCnfTblColumn entity.
    • getTableIfPresent

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

      If the navigation property for an entity VarCnfTblValAssgmtAltvItem 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 _Table is already loaded, the result will contain the VariantConfigurationTable entity. If not, an Option with result state empty is returned.
    • setTable

      public void setTable(VariantConfigurationTable value)
      Overwrites the associated VariantConfigurationTable entity for the loaded navigation property _Table.
      Parameters:
      value - New VariantConfigurationTable entity.
    • getValueAssignmentAlternativeIfPresent

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

      If the navigation property for an entity VarCnfTblValAssgmtAltvItem 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 _ValueAssignmentAlternative is already loaded, the result will contain the VarCnfTblValAssgmtAlternative entity. If not, an Option with result state empty is returned.
    • setValueAssignmentAlternative

      public void setValueAssignmentAlternative(VarCnfTblValAssgmtAlternative value)
      Overwrites the associated VarCnfTblValAssgmtAlternative entity for the loaded navigation property _ValueAssignmentAlternative.
      Parameters:
      value - New VarCnfTblValAssgmtAlternative entity.
    • builder

    • getVarConfignTblName

      @Nullable public String getVarConfignTblName()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: VarConfignTblName

      Returns:
      Name of variant table
    • getVarConfignTblValAssgmtAltvID

      @Nullable public String getVarConfignTblValAssgmtAltvID()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: VarConfignTblValAssgmtAltvID

      Returns:
      Counter for value assignment alternative
    • getCharacteristic

      @Nullable public String getCharacteristic()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: Characteristic

      Returns:
      Characteristic Name
    • getCharcInternalID

      @Nullable public String getCharcInternalID()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CharcInternalID

      Returns:
      Characteristic Internal ID
    • toString

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

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

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

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

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