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

public class Centro extends VdmEntity<Centro> implements VdmEntitySet
BR Shadow Table for Plant

Original entity name from the Odata EDM: centroType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: empresa

      Parameters:
      empresa - Company Code
    • setFilial

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

      Original property name from the Odata EDM: filial

      Parameters:
      filial - Business Place
    • setCentro

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

      Original property name from the Odata EDM: centro

      Parameters:
      centro - Plant
    • 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<Centro>
    • getKey

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

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

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

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

      @Nonnull public static Centro.CentroBuilder builder()
    • getEmpresa

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

      Original property name from the Odata EDM: empresa

      Returns:
      Company Code
    • getFilial

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

      Original property name from the Odata EDM: filial

      Returns:
      Business Place
    • getCentro

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

      Original property name from the Odata EDM: centro

      Returns:
      Plant
    • 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<Centro>
    • equals

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

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

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

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