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

public class LegalTransaction extends VdmEntity<LegalTransaction>
Legal Transactions

Original entity name from the Odata EDM: A_LegalTransactionType

  • Field Details

    • ALL_FIELDS

      public static final LegalTransactionSelectable ALL_FIELDS
      Selector for all available fields of LegalTransaction.
    • LGL_CNTNT_M_CONTEXT

      public static final LegalTransactionField<String> LGL_CNTNT_M_CONTEXT
      Use with available fluent helpers to apply the LglCntntMContext field to query operations.
    • LGL_CNTNT_M_CONTEXT_UUID

      public static final LegalTransactionField<UUID> LGL_CNTNT_M_CONTEXT_UUID
      Use with available fluent helpers to apply the LglCntntMContextUUID field to query operations.
    • LGL_CNTNT_M_LANGUAGE

      public static final LegalTransactionField<String> LGL_CNTNT_M_LANGUAGE
      Use with available fluent helpers to apply the LglCntntMLanguage field to query operations.
    • LGL_CNTNT_M_CHANGED_BY_USER

      public static final LegalTransactionField<String> LGL_CNTNT_M_CHANGED_BY_USER
      Use with available fluent helpers to apply the LglCntntMChangedByUser field to query operations.
    • LGL_CNTNT_M_CHANGED_UTC_DATE_TIME

      public static final LegalTransactionField<ZonedDateTime> LGL_CNTNT_M_CHANGED_UTC_DATE_TIME
      Use with available fluent helpers to apply the LglCntntMChangedUTCDateTime field to query operations.
    • LGL_CNTNT_M_CREATED_BY_USER

      public static final LegalTransactionField<String> LGL_CNTNT_M_CREATED_BY_USER
      Use with available fluent helpers to apply the LglCntntMCreatedByUser field to query operations.
    • LGL_CNTNT_M_CREATED_UTC_DATE_TIME

      public static final LegalTransactionField<ZonedDateTime> LGL_CNTNT_M_CREATED_UTC_DATE_TIME
      Use with available fluent helpers to apply the LglCntntMCreatedUTCDateTime field to query operations.
    • LGL_CNTNT_M_PROFILE

      public static final LegalTransactionField<String> LGL_CNTNT_M_PROFILE
      Use with available fluent helpers to apply the LglCntntMProfile field to query operations.
    • IS_END_OF_PURPOSE_BLOCKED

      public static final LegalTransactionField<String> IS_END_OF_PURPOSE_BLOCKED
      Use with available fluent helpers to apply the IsEndOfPurposeBlocked field to query operations.
    • LGL_CNTNT_M_GOV_LAW

      public static final LegalTransactionField<String> LGL_CNTNT_M_GOV_LAW
      Use with available fluent helpers to apply the LglCntntMGovLaw field to query operations.
    • LGL_TRANS_ACCESS_LVL

      public static final LegalTransactionField<String> LGL_TRANS_ACCESS_LVL
      Use with available fluent helpers to apply the LglTransAccessLvl field to query operations.
    • LGL_CNTNT_M_MAIN_ORG_CO_CODE

      public static final LegalTransactionField<String> LGL_CNTNT_M_MAIN_ORG_CO_CODE
      Use with available fluent helpers to apply the LglCntntMMainOrgCoCode field to query operations.
    • LGL_CNTNT_M_MAIN_ORG_SALES_ORG

      public static final LegalTransactionField<String> LGL_CNTNT_M_MAIN_ORG_SALES_ORG
      Use with available fluent helpers to apply the LglCntntMMainOrgSalesOrg field to query operations.
    • LGL_CNTNT_M_MAIN_ORG_PUR_ORG

      public static final LegalTransactionField<String> LGL_CNTNT_M_MAIN_ORG_PUR_ORG
      Use with available fluent helpers to apply the LglCntntMMainOrgPurOrg field to query operations.
    • TO_LGL_TRANS_CATEGORY_GROUP

      public static final LegalTransactionLink<LglTransCategoryGroup> TO_LGL_TRANS_CATEGORY_GROUP
      Use with available fluent helpers to apply the to_LglTransCategoryGroup navigation property to query operations.
    • TO_LGL_TRANS_DATE

      public static final LegalTransactionLink<LglTransDate> TO_LGL_TRANS_DATE
      Use with available fluent helpers to apply the to_LglTransDate navigation property to query operations.
    • TO_LGL_TRANS_ENTITY

      public static final LegalTransactionLink<LglTransEntity> TO_LGL_TRANS_ENTITY
      Use with available fluent helpers to apply the to_LglTransEntity navigation property to query operations.
    • TO_LGL_TRANS_EXTERNAL_CONTACT

      public static final LegalTransactionLink<LglTransExternalContact> TO_LGL_TRANS_EXTERNAL_CONTACT
      Use with available fluent helpers to apply the to_LglTransExternalContact navigation property to query operations.
    • TO_LGL_TRANS_INTERNAL_CONTACT

      public static final LegalTransactionLink<LglTransInternalContact> TO_LGL_TRANS_INTERNAL_CONTACT
      Use with available fluent helpers to apply the to_LglTransInternalContact navigation property to query operations.
    • TO_LGL_TRANS_LINKED_OBJECTS

      public static final LegalTransactionLink<LglTransLinkedObjects> TO_LGL_TRANS_LINKED_OBJECTS
      Use with available fluent helpers to apply the to_LglTransLinkedObjects navigation property to query operations.
    • TO_LGL_TRANS_RELATIONSHIP

      public static final LegalTransactionLink<LglTransRelationship> TO_LGL_TRANS_RELATIONSHIP
      Use with available fluent helpers to apply the to_LglTransRelationship navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

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

      public void setLegalTransactionUUID(@Nullable UUID legalTransactionUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LegalTransactionUUID

      Parameters:
      legalTransactionUUID - Universal Unique Identifier
    • setLegalTransaction

      public void setLegalTransaction(@Nullable String legalTransaction)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LegalTransaction

      Parameters:
      legalTransaction - Legal Transaction ID
    • setLegalTransactionTitle

      public void setLegalTransactionTitle(@Nullable String legalTransactionTitle)
      Constraints: Not nullable, Maximum length: 128

      Original property name from the Odata EDM: LegalTransactionTitle

      Parameters:
      legalTransactionTitle - Legal Transaction Name
    • setLglCntntMContext

      public void setLglCntntMContext(@Nullable String lglCntntMContext)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: LglCntntMContext

      Parameters:
      lglCntntMContext - Context ID
    • setLglCntntMContextUUID

      public void setLglCntntMContextUUID(@Nullable UUID lglCntntMContextUUID)
      Constraints: none

      Original property name from the Odata EDM: LglCntntMContextUUID

      Parameters:
      lglCntntMContextUUID - Universal Unique Identifier
    • setLglCntntMLanguage

      public void setLglCntntMLanguage(@Nullable String lglCntntMLanguage)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LglCntntMLanguage

      Parameters:
      lglCntntMLanguage - Language Key
    • setLglCntntMChangedByUser

      public void setLglCntntMChangedByUser(@Nullable String lglCntntMChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LglCntntMChangedByUser

      Parameters:
      lglCntntMChangedByUser - Changed By User
    • setLglCntntMChangedUTCDateTime

      public void setLglCntntMChangedUTCDateTime(@Nullable ZonedDateTime lglCntntMChangedUTCDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LglCntntMChangedUTCDateTime

      Parameters:
      lglCntntMChangedUTCDateTime - Changed UTC Date Time
    • setLglCntntMCreatedByUser

      public void setLglCntntMCreatedByUser(@Nullable String lglCntntMCreatedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LglCntntMCreatedByUser

      Parameters:
      lglCntntMCreatedByUser - Created By
    • setLglCntntMCreatedUTCDateTime

      public void setLglCntntMCreatedUTCDateTime(@Nullable ZonedDateTime lglCntntMCreatedUTCDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LglCntntMCreatedUTCDateTime

      Parameters:
      lglCntntMCreatedUTCDateTime - Created On
    • setLegalTransactionHealth

      public void setLegalTransactionHealth(@Nullable String legalTransactionHealth)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LegalTransactionHealth

      Parameters:
      legalTransactionHealth - Legal Transaction Status
    • setLglCntntMProfile

      public void setLglCntntMProfile(@Nullable String lglCntntMProfile)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LglCntntMProfile

      Parameters:
      lglCntntMProfile - Profile
    • setLegalTransactionSource

      public void setLegalTransactionSource(@Nullable String legalTransactionSource)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: LegalTransactionSource

      Parameters:
      legalTransactionSource - LT Integration source
    • setIsEndOfPurposeBlocked

      public void setIsEndOfPurposeBlocked(@Nullable String isEndOfPurposeBlocked)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsEndOfPurposeBlocked

      Parameters:
      isEndOfPurposeBlocked - Business Purpose Completed
    • setLglCntntMGovLaw

      public void setLglCntntMGovLaw(@Nullable String lglCntntMGovLaw)
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: LglCntntMGovLaw

      Parameters:
      lglCntntMGovLaw - Governing Law
    • setLglTransAccessLvl

      public void setLglTransAccessLvl(@Nullable String lglTransAccessLvl)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LglTransAccessLvl

      Parameters:
      lglTransAccessLvl - Access Level
    • setLglCntntMMainOrgCoCode

      public void setLglCntntMMainOrgCoCode(@Nullable String lglCntntMMainOrgCoCode)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LglCntntMMainOrgCoCode

      Parameters:
      lglCntntMMainOrgCoCode - Entity ID
    • setLglCntntMMainOrgSalesOrg

      public void setLglCntntMMainOrgSalesOrg(@Nullable String lglCntntMMainOrgSalesOrg)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LglCntntMMainOrgSalesOrg

      Parameters:
      lglCntntMMainOrgSalesOrg - Entity ID
    • setLglCntntMMainOrgPurOrg

      public void setLglCntntMMainOrgPurOrg(@Nullable String lglCntntMMainOrgPurOrg)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LglCntntMMainOrgPurOrg

      Parameters:
      lglCntntMMainOrgPurOrg - Entity ID
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> LegalTransactionField<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> LegalTransactionField<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<LegalTransaction>
    • setServicePathForFetch

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

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

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

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

      @Nonnull public List<LglTransCategoryGroup> fetchLglTransCategoryGroup()
      Fetches the LglTransCategoryGroup entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LglTransCategoryGroup.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated LglTransCategoryGroup entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransCategoryGroupOrFetch

      @Nonnull public List<LglTransCategoryGroup> getLglTransCategoryGroupOrFetch()
      Retrieval of associated LglTransCategoryGroup entities (one to many). This corresponds to the OData navigation property to_LglTransCategoryGroup.

      If the navigation property to_LglTransCategoryGroup of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated LglTransCategoryGroup entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransCategoryGroupIfPresent

      @Nonnull public io.vavr.control.Option<List<LglTransCategoryGroup>> getLglTransCategoryGroupIfPresent()
      Retrieval of associated LglTransCategoryGroup entities (one to many). This corresponds to the OData navigation property to_LglTransCategoryGroup.

      If the navigation property for an entity LegalTransaction 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 to_LglTransCategoryGroup is already loaded, the result will contain the LglTransCategoryGroup entities. If not, an Option with result state empty is returned.
    • setLglTransCategoryGroup

      public void setLglTransCategoryGroup(@Nonnull List<LglTransCategoryGroup> value)
      Overwrites the list of associated LglTransCategoryGroup entities for the loaded navigation property to_LglTransCategoryGroup.

      If the navigation property to_LglTransCategoryGroup of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of LglTransCategoryGroup entities.
    • addLglTransCategoryGroup

      public void addLglTransCategoryGroup(LglTransCategoryGroup... entity)
      Adds elements to the list of associated LglTransCategoryGroup entities. This corresponds to the OData navigation property to_LglTransCategoryGroup.

      If the navigation property to_LglTransCategoryGroup of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of LglTransCategoryGroup entities.
    • fetchLglTransDate

      @Nonnull public List<LglTransDate> fetchLglTransDate()
      Fetches the LglTransDate entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LglTransDate.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated LglTransDate entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransDateOrFetch

      @Nonnull public List<LglTransDate> getLglTransDateOrFetch()
      Retrieval of associated LglTransDate entities (one to many). This corresponds to the OData navigation property to_LglTransDate.

      If the navigation property to_LglTransDate of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated LglTransDate entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransDateIfPresent

      @Nonnull public io.vavr.control.Option<List<LglTransDate>> getLglTransDateIfPresent()
      Retrieval of associated LglTransDate entities (one to many). This corresponds to the OData navigation property to_LglTransDate.

      If the navigation property for an entity LegalTransaction 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 to_LglTransDate is already loaded, the result will contain the LglTransDate entities. If not, an Option with result state empty is returned.
    • setLglTransDate

      public void setLglTransDate(@Nonnull List<LglTransDate> value)
      Overwrites the list of associated LglTransDate entities for the loaded navigation property to_LglTransDate.

      If the navigation property to_LglTransDate of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of LglTransDate entities.
    • addLglTransDate

      public void addLglTransDate(LglTransDate... entity)
      Adds elements to the list of associated LglTransDate entities. This corresponds to the OData navigation property to_LglTransDate.

      If the navigation property to_LglTransDate of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of LglTransDate entities.
    • fetchLglTransEntity

      @Nonnull public List<LglTransEntity> fetchLglTransEntity()
      Fetches the LglTransEntity entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LglTransEntity.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated LglTransEntity entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransEntityOrFetch

      @Nonnull public List<LglTransEntity> getLglTransEntityOrFetch()
      Retrieval of associated LglTransEntity entities (one to many). This corresponds to the OData navigation property to_LglTransEntity.

      If the navigation property to_LglTransEntity of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated LglTransEntity entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransEntityIfPresent

      @Nonnull public io.vavr.control.Option<List<LglTransEntity>> getLglTransEntityIfPresent()
      Retrieval of associated LglTransEntity entities (one to many). This corresponds to the OData navigation property to_LglTransEntity.

      If the navigation property for an entity LegalTransaction 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 to_LglTransEntity is already loaded, the result will contain the LglTransEntity entities. If not, an Option with result state empty is returned.
    • setLglTransEntity

      public void setLglTransEntity(@Nonnull List<LglTransEntity> value)
      Overwrites the list of associated LglTransEntity entities for the loaded navigation property to_LglTransEntity.

      If the navigation property to_LglTransEntity of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of LglTransEntity entities.
    • addLglTransEntity

      public void addLglTransEntity(LglTransEntity... entity)
      Adds elements to the list of associated LglTransEntity entities. This corresponds to the OData navigation property to_LglTransEntity.

      If the navigation property to_LglTransEntity of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of LglTransEntity entities.
    • fetchLglTransExternalContact

      @Nonnull public List<LglTransExternalContact> fetchLglTransExternalContact()
      Fetches the LglTransExternalContact entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LglTransExternalContact.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated LglTransExternalContact entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransExternalContactOrFetch

      @Nonnull public List<LglTransExternalContact> getLglTransExternalContactOrFetch()
      Retrieval of associated LglTransExternalContact entities (one to many). This corresponds to the OData navigation property to_LglTransExternalContact.

      If the navigation property to_LglTransExternalContact of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated LglTransExternalContact entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransExternalContactIfPresent

      @Nonnull public io.vavr.control.Option<List<LglTransExternalContact>> getLglTransExternalContactIfPresent()
      Retrieval of associated LglTransExternalContact entities (one to many). This corresponds to the OData navigation property to_LglTransExternalContact.

      If the navigation property for an entity LegalTransaction 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 to_LglTransExternalContact is already loaded, the result will contain the LglTransExternalContact entities. If not, an Option with result state empty is returned.
    • setLglTransExternalContact

      public void setLglTransExternalContact(@Nonnull List<LglTransExternalContact> value)
      Overwrites the list of associated LglTransExternalContact entities for the loaded navigation property to_LglTransExternalContact.

      If the navigation property to_LglTransExternalContact of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of LglTransExternalContact entities.
    • addLglTransExternalContact

      public void addLglTransExternalContact(LglTransExternalContact... entity)
      Adds elements to the list of associated LglTransExternalContact entities. This corresponds to the OData navigation property to_LglTransExternalContact.

      If the navigation property to_LglTransExternalContact of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of LglTransExternalContact entities.
    • fetchLglTransInternalContact

      @Nonnull public List<LglTransInternalContact> fetchLglTransInternalContact()
      Fetches the LglTransInternalContact entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LglTransInternalContact.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated LglTransInternalContact entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransInternalContactOrFetch

      @Nonnull public List<LglTransInternalContact> getLglTransInternalContactOrFetch()
      Retrieval of associated LglTransInternalContact entities (one to many). This corresponds to the OData navigation property to_LglTransInternalContact.

      If the navigation property to_LglTransInternalContact of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated LglTransInternalContact entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransInternalContactIfPresent

      @Nonnull public io.vavr.control.Option<List<LglTransInternalContact>> getLglTransInternalContactIfPresent()
      Retrieval of associated LglTransInternalContact entities (one to many). This corresponds to the OData navigation property to_LglTransInternalContact.

      If the navigation property for an entity LegalTransaction 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 to_LglTransInternalContact is already loaded, the result will contain the LglTransInternalContact entities. If not, an Option with result state empty is returned.
    • setLglTransInternalContact

      public void setLglTransInternalContact(@Nonnull List<LglTransInternalContact> value)
      Overwrites the list of associated LglTransInternalContact entities for the loaded navigation property to_LglTransInternalContact.

      If the navigation property to_LglTransInternalContact of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of LglTransInternalContact entities.
    • addLglTransInternalContact

      public void addLglTransInternalContact(LglTransInternalContact... entity)
      Adds elements to the list of associated LglTransInternalContact entities. This corresponds to the OData navigation property to_LglTransInternalContact.

      If the navigation property to_LglTransInternalContact of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of LglTransInternalContact entities.
    • fetchLglTransLinkedObjects

      @Nonnull public List<LglTransLinkedObjects> fetchLglTransLinkedObjects()
      Fetches the LglTransLinkedObjects entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LglTransLinkedObjects.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated LglTransLinkedObjects entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransLinkedObjectsOrFetch

      @Nonnull public List<LglTransLinkedObjects> getLglTransLinkedObjectsOrFetch()
      Retrieval of associated LglTransLinkedObjects entities (one to many). This corresponds to the OData navigation property to_LglTransLinkedObjects.

      If the navigation property to_LglTransLinkedObjects of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated LglTransLinkedObjects entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransLinkedObjectsIfPresent

      @Nonnull public io.vavr.control.Option<List<LglTransLinkedObjects>> getLglTransLinkedObjectsIfPresent()
      Retrieval of associated LglTransLinkedObjects entities (one to many). This corresponds to the OData navigation property to_LglTransLinkedObjects.

      If the navigation property for an entity LegalTransaction 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 to_LglTransLinkedObjects is already loaded, the result will contain the LglTransLinkedObjects entities. If not, an Option with result state empty is returned.
    • setLglTransLinkedObjects

      public void setLglTransLinkedObjects(@Nonnull List<LglTransLinkedObjects> value)
      Overwrites the list of associated LglTransLinkedObjects entities for the loaded navigation property to_LglTransLinkedObjects.

      If the navigation property to_LglTransLinkedObjects of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of LglTransLinkedObjects entities.
    • addLglTransLinkedObjects

      public void addLglTransLinkedObjects(LglTransLinkedObjects... entity)
      Adds elements to the list of associated LglTransLinkedObjects entities. This corresponds to the OData navigation property to_LglTransLinkedObjects.

      If the navigation property to_LglTransLinkedObjects of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of LglTransLinkedObjects entities.
    • fetchLglTransRelationship

      @Nonnull public List<LglTransRelationship> fetchLglTransRelationship()
      Fetches the LglTransRelationship entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LglTransRelationship.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated LglTransRelationship entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransRelationshipOrFetch

      @Nonnull public List<LglTransRelationship> getLglTransRelationshipOrFetch()
      Retrieval of associated LglTransRelationship entities (one to many). This corresponds to the OData navigation property to_LglTransRelationship.

      If the navigation property to_LglTransRelationship of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated LglTransRelationship entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getLglTransRelationshipIfPresent

      @Nonnull public io.vavr.control.Option<List<LglTransRelationship>> getLglTransRelationshipIfPresent()
      Retrieval of associated LglTransRelationship entities (one to many). This corresponds to the OData navigation property to_LglTransRelationship.

      If the navigation property for an entity LegalTransaction 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 to_LglTransRelationship is already loaded, the result will contain the LglTransRelationship entities. If not, an Option with result state empty is returned.
    • setLglTransRelationship

      public void setLglTransRelationship(@Nonnull List<LglTransRelationship> value)
      Overwrites the list of associated LglTransRelationship entities for the loaded navigation property to_LglTransRelationship.

      If the navigation property to_LglTransRelationship of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of LglTransRelationship entities.
    • addLglTransRelationship

      public void addLglTransRelationship(LglTransRelationship... entity)
      Adds elements to the list of associated LglTransRelationship entities. This corresponds to the OData navigation property to_LglTransRelationship.

      If the navigation property to_LglTransRelationship of a queried LegalTransaction is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of LglTransRelationship entities.
    • builder

      @Nonnull public static LegalTransaction.LegalTransactionBuilder builder()
    • getLegalTransactionUUID

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

      Original property name from the Odata EDM: LegalTransactionUUID

      Returns:
      Universal Unique Identifier
    • getLegalTransaction

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

      Original property name from the Odata EDM: LegalTransaction

      Returns:
      Legal Transaction ID
    • getLegalTransactionTitle

      @Nullable public String getLegalTransactionTitle()
      Constraints: Not nullable, Maximum length: 128

      Original property name from the Odata EDM: LegalTransactionTitle

      Returns:
      Legal Transaction Name
    • getLglCntntMContext

      @Nullable public String getLglCntntMContext()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: LglCntntMContext

      Returns:
      Context ID
    • getLglCntntMContextUUID

      @Nullable public UUID getLglCntntMContextUUID()
      Constraints: none

      Original property name from the Odata EDM: LglCntntMContextUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMLanguage

      @Nullable public String getLglCntntMLanguage()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: LglCntntMLanguage

      Returns:
      Language Key
    • getLglCntntMChangedByUser

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

      Original property name from the Odata EDM: LglCntntMChangedByUser

      Returns:
      Changed By User
    • getLglCntntMChangedUTCDateTime

      @Nullable public ZonedDateTime getLglCntntMChangedUTCDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LglCntntMChangedUTCDateTime

      Returns:
      Changed UTC Date Time
    • getLglCntntMCreatedByUser

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

      Original property name from the Odata EDM: LglCntntMCreatedByUser

      Returns:
      Created By
    • getLglCntntMCreatedUTCDateTime

      @Nullable public ZonedDateTime getLglCntntMCreatedUTCDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LglCntntMCreatedUTCDateTime

      Returns:
      Created On
    • getLegalTransactionHealth

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

      Original property name from the Odata EDM: LegalTransactionHealth

      Returns:
      Legal Transaction Status
    • getLglCntntMProfile

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

      Original property name from the Odata EDM: LglCntntMProfile

      Returns:
      Profile
    • getLegalTransactionSource

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

      Original property name from the Odata EDM: LegalTransactionSource

      Returns:
      LT Integration source
    • getIsEndOfPurposeBlocked

      @Nullable public String getIsEndOfPurposeBlocked()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsEndOfPurposeBlocked

      Returns:
      Business Purpose Completed
    • getLglCntntMGovLaw

      @Nullable public String getLglCntntMGovLaw()
      Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: LglCntntMGovLaw

      Returns:
      Governing Law
    • getLglTransAccessLvl

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

      Original property name from the Odata EDM: LglTransAccessLvl

      Returns:
      Access Level
    • getLglCntntMMainOrgCoCode

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

      Original property name from the Odata EDM: LglCntntMMainOrgCoCode

      Returns:
      Entity ID
    • getLglCntntMMainOrgSalesOrg

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

      Original property name from the Odata EDM: LglCntntMMainOrgSalesOrg

      Returns:
      Entity ID
    • getLglCntntMMainOrgPurOrg

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

      Original property name from the Odata EDM: LglCntntMMainOrgPurOrg

      Returns:
      Entity ID
    • toString

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

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

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

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