java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ProductStructureVariant>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productstructure.ProductStructureVariant

public class ProductStructureVariant extends VdmEntity<ProductStructureVariant>
Product Structure Variant (API)

Original entity name from the Odata EDM: A_ProductStructureVariantType

  • Field Details

    • ALL_FIELDS

      public static final ProductStructureVariantSelectable ALL_FIELDS
      Selector for all available fields of ProductStructureVariant.
    • PRODUCT_STRUCTURE_VARIANT_UUID

      public static final ProductStructureVariantField<UUID> PRODUCT_STRUCTURE_VARIANT_UUID
      Use with available fluent helpers to apply the ProductStructureVariantUUID field to query operations.
    • PROD_STRUC_VARIANT_CHG_STATE_INT_ID

      public static final ProductStructureVariantField<String> PROD_STRUC_VARIANT_CHG_STATE_INT_ID
      Use with available fluent helpers to apply the ProdStrucVariantChgStateIntID field to query operations.
    • PROD_STRUC_VARIANT_UNIQUE_ID

      public static final ProductStructureVariantField<String> PROD_STRUC_VARIANT_UNIQUE_ID
      Use with available fluent helpers to apply the ProdStrucVariantUniqueID field to query operations.
    • PRODUCT_STRUCTURE_VARIANT_NAME

      public static final ProductStructureVariantField<String> PRODUCT_STRUCTURE_VARIANT_NAME
      Use with available fluent helpers to apply the ProductStructureVariantName field to query operations.
    • PROD_STRUCTURE_VARIANT_PARENT_UUID

      public static final ProductStructureVariantField<UUID> PROD_STRUCTURE_VARIANT_PARENT_UUID
      Use with available fluent helpers to apply the ProdStructureVariantParentUUID field to query operations.
    • PRODUCT_STRUCTURE_CREATION_DATE

      public static final ProductStructureVariantField<LocalDateTime> PRODUCT_STRUCTURE_CREATION_DATE
      Use with available fluent helpers to apply the ProductStructureCreationDate field to query operations.
    • PRODUCT_STRUCTURE_CREATED_BY_USER

      public static final ProductStructureVariantField<String> PRODUCT_STRUCTURE_CREATED_BY_USER
      Use with available fluent helpers to apply the ProductStructureCreatedByUser field to query operations.
    • PRODUCT_STRUC_LAST_CHANGED_DATE

      public static final ProductStructureVariantField<LocalDateTime> PRODUCT_STRUC_LAST_CHANGED_DATE
      Use with available fluent helpers to apply the ProductStrucLastChangedDate field to query operations.
    • PRODUCT_STRUC_LAST_CHANGED_BY_USER

      public static final ProductStructureVariantField<String> PRODUCT_STRUC_LAST_CHANGED_BY_USER
      Use with available fluent helpers to apply the ProductStrucLastChangedByUser field to query operations.
    • PROD_STRUC_VARIANT_CHANGE_NUMBER

      public static final ProductStructureVariantField<String> PROD_STRUC_VARIANT_CHANGE_NUMBER
      Use with available fluent helpers to apply the ProdStrucVariantChangeNumber field to query operations.
    • AUTHORIZATION_GROUP

      public static final ProductStructureVariantField<String> AUTHORIZATION_GROUP
      Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
    • PROD_STRUC_VAR_IS_MRKD_FOR_DELETION

      public static final ProductStructureVariantField<Boolean> PROD_STRUC_VAR_IS_MRKD_FOR_DELETION
      Use with available fluent helpers to apply the ProdStrucVarIsMrkdForDeletion field to query operations.
    • PROD_STRUC_VAR_CHG_NMBR_DESCRIPTION

      public static final ProductStructureVariantField<String> PROD_STRUC_VAR_CHG_NMBR_DESCRIPTION
      Use with available fluent helpers to apply the ProdStrucVarChgNmbrDescription field to query operations.
    • PRODUCT_STRUCTURE_VARIANT_QTY

      public static final ProductStructureVariantField<BigDecimal> PRODUCT_STRUCTURE_VARIANT_QTY
      Use with available fluent helpers to apply the ProductStructureVariantQty field to query operations.
    • PRODUCT_STRUCTURE_VARIANT_UNIT

      public static final ProductStructureVariantField<String> PRODUCT_STRUCTURE_VARIANT_UNIT
      Use with available fluent helpers to apply the ProductStructureVariantUnit field to query operations.
    • MATERIAL

      public static final ProductStructureVariantField<String> MATERIAL
      Use with available fluent helpers to apply the Material field to query operations.
    • MATERIAL_AUTHORIZATION_GROUP

      public static final ProductStructureVariantField<String> MATERIAL_AUTHORIZATION_GROUP
      Use with available fluent helpers to apply the MaterialAuthorizationGroup field to query operations.
    • PRODUCT_STRUCTURE_VARIANT_TYPE

      public static final ProductStructureVariantField<String> PRODUCT_STRUCTURE_VARIANT_TYPE
      Use with available fluent helpers to apply the ProductStructureVariantType field to query operations.
  • Constructor Details

    • ProductStructureVariant

      public ProductStructureVariant()
    • ProductStructureVariant

      public ProductStructureVariant(@Nullable UUID productStructureVariantUUID, @Nullable String prodStrucVariantChgStateIntID, @Nullable String prodStrucVariantUniqueID, @Nullable String productStructureVariantName, @Nullable UUID prodStructureVariantParentUUID, @Nullable LocalDateTime productStructureCreationDate, @Nullable String productStructureCreatedByUser, @Nullable LocalDateTime productStrucLastChangedDate, @Nullable String productStrucLastChangedByUser, @Nullable String prodStrucVariantChangeNumber, @Nullable String authorizationGroup, @Nullable Boolean prodStrucVarIsMrkdForDeletion, @Nullable String prodStrucVarChgNmbrDescription, @Nullable BigDecimal productStructureVariantQty, @Nullable String productStructureVariantUnit, @Nullable String material, @Nullable String materialAuthorizationGroup, @Nullable String productStructureVariantType)
  • Method Details

    • getType

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

      public void setProductStructureVariantUUID(@Nullable UUID productStructureVariantUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProductStructureVariantUUID

      Parameters:
      productStructureVariantUUID - Internal Number of the PVS Variant
    • setProdStrucVariantChgStateIntID

      public void setProdStrucVariantChgStateIntID(@Nullable String prodStrucVariantChgStateIntID)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProdStrucVariantChgStateIntID

      Parameters:
      prodStrucVariantChgStateIntID - Internal Counter for iPPE Objects
    • setProdStrucVariantUniqueID

      public void setProdStrucVariantUniqueID(@Nullable String prodStrucVariantUniqueID)
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: ProdStrucVariantUniqueID

      Parameters:
      prodStrucVariantUniqueID - The prodStrucVariantUniqueID to set.
    • setProductStructureVariantName

      public void setProductStructureVariantName(@Nullable String productStructureVariantName)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProductStructureVariantName

      Parameters:
      productStructureVariantName - Variant
    • setProdStructureVariantParentUUID

      public void setProdStructureVariantParentUUID(@Nullable UUID prodStructureVariantParentUUID)
      Constraints: none

      Original property name from the Odata EDM: ProdStructureVariantParentUUID

      Parameters:
      prodStructureVariantParentUUID - Internal Number of iPPE Node
    • setProductStructureCreationDate

      public void setProductStructureCreationDate(@Nullable LocalDateTime productStructureCreationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProductStructureCreationDate

      Parameters:
      productStructureCreationDate - Date of Application
    • setProductStructureCreatedByUser

      public void setProductStructureCreatedByUser(@Nullable String productStructureCreatedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ProductStructureCreatedByUser

      Parameters:
      productStructureCreatedByUser - User who created record
    • setProductStrucLastChangedDate

      public void setProductStrucLastChangedDate(@Nullable LocalDateTime productStrucLastChangedDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProductStrucLastChangedDate

      Parameters:
      productStrucLastChangedDate - Date of Last Change
    • setProductStrucLastChangedByUser

      public void setProductStrucLastChangedByUser(@Nullable String productStrucLastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ProductStrucLastChangedByUser

      Parameters:
      productStrucLastChangedByUser - Name of Person Who Changed Object
    • setProdStrucVariantChangeNumber

      public void setProdStrucVariantChangeNumber(@Nullable String prodStrucVariantChangeNumber)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ProdStrucVariantChangeNumber

      Parameters:
      prodStrucVariantChangeNumber - Change Number in iPPE
    • setAuthorizationGroup

      public void setAuthorizationGroup(@Nullable String authorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: AuthorizationGroup

      Parameters:
      authorizationGroup - Authorization group for change master record
    • setProdStrucVarIsMrkdForDeletion

      public void setProdStrucVarIsMrkdForDeletion(@Nullable Boolean prodStrucVarIsMrkdForDeletion)
      Constraints: none

      Original property name from the Odata EDM: ProdStrucVarIsMrkdForDeletion

      Parameters:
      prodStrucVarIsMrkdForDeletion - Deletion Indicator
    • setProdStrucVarChgNmbrDescription

      public void setProdStrucVarChgNmbrDescription(@Nullable String prodStrucVarChgNmbrDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProdStrucVarChgNmbrDescription

      Parameters:
      prodStrucVarChgNmbrDescription - Change number description
    • setProductStructureVariantQty

      public void setProductStructureVariantQty(@Nullable BigDecimal productStructureVariantQty)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: ProductStructureVariantQty

      Parameters:
      productStructureVariantQty - Fixed Quantity in Variant of iPPE Product Structure
    • setProductStructureVariantUnit

      public void setProductStructureVariantUnit(@Nullable String productStructureVariantUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProductStructureVariantUnit

      Parameters:
      productStructureVariantUnit - Unit of Measure
    • setMaterial

      public void setMaterial(@Nullable String material)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Parameters:
      material - Product Number
    • setMaterialAuthorizationGroup

      public void setMaterialAuthorizationGroup(@Nullable String materialAuthorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MaterialAuthorizationGroup

      Parameters:
      materialAuthorizationGroup - Authorization Group
    • setProductStructureVariantType

      public void setProductStructureVariantType(@Nullable String productStructureVariantType)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProductStructureVariantType

      Parameters:
      productStructureVariantType - iPPE Variant Type
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProductStructureVariantField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> ProductStructureVariantField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<ProductStructureVariant>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<ProductStructureVariant>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<ProductStructureVariant>
    • getDefaultServicePath

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

    • getProductStructureVariantUUID

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

      Original property name from the Odata EDM: ProductStructureVariantUUID

      Returns:
      Internal Number of the PVS Variant
    • getProdStrucVariantChgStateIntID

      @Nullable public String getProdStrucVariantChgStateIntID()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProdStrucVariantChgStateIntID

      Returns:
      Internal Counter for iPPE Objects
    • getProdStrucVariantUniqueID

      @Nullable public String getProdStrucVariantUniqueID()
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: ProdStrucVariantUniqueID

      Returns:
      The prodStrucVariantUniqueID contained in this entity.
    • getProductStructureVariantName

      @Nullable public String getProductStructureVariantName()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProductStructureVariantName

      Returns:
      Variant
    • getProdStructureVariantParentUUID

      @Nullable public UUID getProdStructureVariantParentUUID()
      Constraints: none

      Original property name from the Odata EDM: ProdStructureVariantParentUUID

      Returns:
      Internal Number of iPPE Node
    • getProductStructureCreationDate

      @Nullable public LocalDateTime getProductStructureCreationDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProductStructureCreationDate

      Returns:
      Date of Application
    • getProductStructureCreatedByUser

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

      Original property name from the Odata EDM: ProductStructureCreatedByUser

      Returns:
      User who created record
    • getProductStrucLastChangedDate

      @Nullable public LocalDateTime getProductStrucLastChangedDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProductStrucLastChangedDate

      Returns:
      Date of Last Change
    • getProductStrucLastChangedByUser

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

      Original property name from the Odata EDM: ProductStrucLastChangedByUser

      Returns:
      Name of Person Who Changed Object
    • getProdStrucVariantChangeNumber

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

      Original property name from the Odata EDM: ProdStrucVariantChangeNumber

      Returns:
      Change Number in iPPE
    • getAuthorizationGroup

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

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      Authorization group for change master record
    • getProdStrucVarIsMrkdForDeletion

      @Nullable public Boolean getProdStrucVarIsMrkdForDeletion()
      Constraints: none

      Original property name from the Odata EDM: ProdStrucVarIsMrkdForDeletion

      Returns:
      Deletion Indicator
    • getProdStrucVarChgNmbrDescription

      @Nullable public String getProdStrucVarChgNmbrDescription()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProdStrucVarChgNmbrDescription

      Returns:
      Change number description
    • getProductStructureVariantQty

      @Nullable public BigDecimal getProductStructureVariantQty()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: ProductStructureVariantQty

      Returns:
      Fixed Quantity in Variant of iPPE Product Structure
    • getProductStructureVariantUnit

      @Nullable public String getProductStructureVariantUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProductStructureVariantUnit

      Returns:
      Unit of Measure
    • getMaterial

      @Nullable public String getMaterial()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Returns:
      Product Number
    • getMaterialAuthorizationGroup

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

      Original property name from the Odata EDM: MaterialAuthorizationGroup

      Returns:
      Authorization Group
    • getProductStructureVariantType

      @Nullable public String getProductStructureVariantType()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProductStructureVariantType

      Returns:
      iPPE Variant Type
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ProductStructureVariant>