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

public class HouseBank extends VdmEntity<HouseBank>
House Bank (Master Data)

Original entity name from the Odata EDM: HouseBank

  • Field Details

    • ALL_FIELDS

      public static final HouseBankSelectable ALL_FIELDS
      Selector for all available fields of HouseBank.
    • HOUSE_BANK_ID

      public static final HouseBankField<String> HOUSE_BANK_ID
      Use with available fluent helpers to apply the HouseBank_ID field to query operations.
    • COMPANY_CODE

      public static final HouseBankField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • COMPANY_CODE_NAME

      public static final HouseBankField<String> COMPANY_CODE_NAME
      Use with available fluent helpers to apply the CompanyCodeName field to query operations.
  • Constructor Details

    • HouseBank

      public HouseBank()
    • HouseBank

      public HouseBank(@Nullable String houseBank_ID, @Nullable String companyCode, @Nullable String companyCodeName)
  • Method Details

    • getType

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

      public void setHouseBank_ID(@Nullable String houseBank_ID)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBank_ID

      Parameters:
      houseBank_ID - House Bank
    • setCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - House Bank (Company Code)
    • setCompanyCodeName

      public void setCompanyCodeName(@Nullable String companyCodeName)
      Constraints: none

      Original property name from the Odata EDM: CompanyCodeName

      Parameters:
      companyCodeName - Company Code (Description) (Parent Description)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> HouseBankField<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> HouseBankField<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<HouseBank>
    • setServicePathForFetch

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

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

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

      @Nonnull public static HouseBank.HouseBankBuilder builder()
    • getHouseBank_ID

      @Nullable public String getHouseBank_ID()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: HouseBank_ID

      Returns:
      House Bank
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      House Bank (Company Code)
    • getCompanyCodeName

      @Nullable public String getCompanyCodeName()
      Constraints: none

      Original property name from the Odata EDM: CompanyCodeName

      Returns:
      Company Code (Description) (Parent Description)
    • toString

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

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

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

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