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

public class LglTransRelationship extends VdmEntity<LglTransRelationship>
Relationships

Original entity name from the Odata EDM: A_LglTransRelationshipType

  • Field Details

    • ALL_FIELDS

      public static final LglTransRelationshipSelectable ALL_FIELDS
      Selector for all available fields of LglTransRelationship.
    • LGL_CNTNT_M_RELSHP_TYPE

      public static final LglTransRelationshipField<String> LGL_CNTNT_M_RELSHP_TYPE
      Use with available fluent helpers to apply the LglCntntMRelshpType field to query operations.
  • Constructor Details

    • LglTransRelationship

      public LglTransRelationship()
    • LglTransRelationship

      public LglTransRelationship(@Nullable UUID legalTransactionRelshpUUID, @Nullable String lglCntntMRelshpType, @Nullable String relshpLegalTransaction, @Nullable String legalTransactionMandatoryFlag, @Nullable UUID legalTransactionUUID, @Nullable UUID relshpLegalTransactionUUID)
  • Method Details

    • getType

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

      public void setLegalTransactionRelshpUUID(@Nullable UUID legalTransactionRelshpUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LegalTransactionRelshpUUID

      Parameters:
      legalTransactionRelshpUUID - Universal Unique Identifier
    • setLglCntntMRelshpType

      public void setLglCntntMRelshpType(@Nullable String lglCntntMRelshpType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LglCntntMRelshpType

      Parameters:
      lglCntntMRelshpType - Relationship Type
    • setRelshpLegalTransaction

      public void setRelshpLegalTransaction(@Nullable String relshpLegalTransaction)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RelshpLegalTransaction

      Parameters:
      relshpLegalTransaction - Legal Transaction ID
    • setLegalTransactionMandatoryFlag

      public void setLegalTransactionMandatoryFlag(@Nullable String legalTransactionMandatoryFlag)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: LegalTransactionMandatoryFlag

      Parameters:
      legalTransactionMandatoryFlag - Control Parameter Legal Transaction Mandatory State
    • setLegalTransactionUUID

      public void setLegalTransactionUUID(@Nullable UUID legalTransactionUUID)
      Constraints: none

      Original property name from the Odata EDM: LegalTransactionUUID

      Parameters:
      legalTransactionUUID - Universal Unique Identifier
    • setRelshpLegalTransactionUUID

      public void setRelshpLegalTransactionUUID(@Nullable UUID relshpLegalTransactionUUID)
      Constraints: none

      Original property name from the Odata EDM: RelshpLegalTransactionUUID

      Parameters:
      relshpLegalTransactionUUID - Universal Unique Identifier
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> LglTransRelationshipField<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> LglTransRelationshipField<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<LglTransRelationship>
    • setServicePathForFetch

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

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

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

      @Nonnull public static LglTransRelationship.LglTransRelationshipBuilder builder()
    • getLegalTransactionRelshpUUID

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

      Original property name from the Odata EDM: LegalTransactionRelshpUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMRelshpType

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

      Original property name from the Odata EDM: LglCntntMRelshpType

      Returns:
      Relationship Type
    • getRelshpLegalTransaction

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

      Original property name from the Odata EDM: RelshpLegalTransaction

      Returns:
      Legal Transaction ID
    • getLegalTransactionMandatoryFlag

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

      Original property name from the Odata EDM: LegalTransactionMandatoryFlag

      Returns:
      Control Parameter Legal Transaction Mandatory State
    • getLegalTransactionUUID

      @Nullable public UUID getLegalTransactionUUID()
      Constraints: none

      Original property name from the Odata EDM: LegalTransactionUUID

      Returns:
      Universal Unique Identifier
    • getRelshpLegalTransactionUUID

      @Nullable public UUID getRelshpLegalTransactionUUID()
      Constraints: none

      Original property name from the Odata EDM: RelshpLegalTransactionUUID

      Returns:
      Universal Unique Identifier
    • toString

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

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

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

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