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

public class DisputeCaseObject extends VdmEntity<DisputeCaseObject> implements VdmEntitySet
Dispute Case Object

Original entity name from the Odata EDM: DisputeCaseObjectType

  • Field Details

  • Constructor Details

    • DisputeCaseObject

      public DisputeCaseObject()
    • DisputeCaseObject

      public DisputeCaseObject(@Nullable UUID caseUUID, @Nullable String objectType, @Nullable String objectKey, @Nullable String objectClassification, @Nullable String cAPaymentLot, @Nullable String cAPaymentLotItem, @Nullable Collection<SAP__Message> _Messages, @Nullable DisputeCase to_CADisputeCase)
  • Method Details

    • getType

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

      public void setCaseUUID(@Nullable UUID caseUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CaseUUID

      Parameters:
      caseUUID - UUID in Character Format
    • setObjectType

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

      Original property name from the Odata EDM: ObjectType

      Parameters:
      objectType - Object Type
    • setObjectKey

      public void setObjectKey(@Nullable String objectKey)
      (Key Field) Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: ObjectKey

      Parameters:
      objectKey - Object key
    • setObjectClassification

      public void setObjectClassification(@Nullable String objectClassification)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ObjectClassification

      Parameters:
      objectClassification - Object Classification
    • setCAPaymentLot

      public void setCAPaymentLot(@Nullable String cAPaymentLot)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CAPaymentLot

      Parameters:
      cAPaymentLot - Payment Lot
    • setCAPaymentLotItem

      public void setCAPaymentLotItem(@Nullable String cAPaymentLotItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CAPaymentLotItem

      Parameters:
      cAPaymentLotItem - Item number in a payment lot
    • 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<DisputeCaseObject>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity DisputeCaseObject 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 _CADisputeCase is already loaded, the result will contain the DisputeCase entity. If not, an Option with result state empty is returned.
    • setCADisputeCase

      public void setCADisputeCase(DisputeCase value)
      Overwrites the associated DisputeCase entity for the loaded navigation property _CADisputeCase.
      Parameters:
      value - New DisputeCase entity.
    • builder

      @Nonnull public static DisputeCaseObject.DisputeCaseObjectBuilder builder()
    • getCaseUUID

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

      Original property name from the Odata EDM: CaseUUID

      Returns:
      UUID in Character Format
    • getObjectType

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

      Original property name from the Odata EDM: ObjectType

      Returns:
      Object Type
    • getObjectKey

      @Nullable public String getObjectKey()
      (Key Field) Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: ObjectKey

      Returns:
      Object key
    • getObjectClassification

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

      Original property name from the Odata EDM: ObjectClassification

      Returns:
      Object Classification
    • getCAPaymentLot

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

      Original property name from the Odata EDM: CAPaymentLot

      Returns:
      Payment Lot
    • getCAPaymentLotItem

      @Nullable public String getCAPaymentLotItem()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: CAPaymentLotItem

      Returns:
      Item number in a payment lot
    • 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<DisputeCaseObject>
    • equals

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

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

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

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