public class LglTransRelationship extends VdmEntity<LglTransRelationship>
Original entity name from the Odata EDM: A_LglTransRelationshipType
Modifier and Type | Class and Description |
---|---|
static class |
LglTransRelationship.LglTransRelationshipBuilder |
Modifier and Type | Field and Description |
---|---|
static LglTransRelationshipSelectable |
ALL_FIELDS
Selector for all available fields of LglTransRelationship.
|
static LglTransRelationshipField<String> |
LEGAL_TRANSACTION_MANDATORY_FLAG
Use with available fluent helpers to apply the LegalTransactionMandatoryFlag field to query operations.
|
static LglTransRelationshipField<UUID> |
LEGAL_TRANSACTION_RELSHP_UUID
Use with available fluent helpers to apply the LegalTransactionRelshpUUID field to query operations.
|
static LglTransRelationshipField<UUID> |
LEGAL_TRANSACTION_UUID
Use with available fluent helpers to apply the LegalTransactionUUID field to query operations.
|
static LglTransRelationshipField<String> |
LGL_CNTNT_M_RELSHP_TYPE
Use with available fluent helpers to apply the LglCntntMRelshpType field to query operations.
|
static LglTransRelationshipField<String> |
RELSHP_LEGAL_TRANSACTION
Use with available fluent helpers to apply the RelshpLegalTransaction field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
LglTransRelationship() |
LglTransRelationship(UUID legalTransactionRelshpUUID,
String lglCntntMRelshpType,
String relshpLegalTransaction,
String legalTransactionMandatoryFlag,
UUID legalTransactionUUID) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static LglTransRelationship.LglTransRelationshipBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> LglTransRelationshipField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getLegalTransactionMandatoryFlag()
Constraints: Not nullable, Maximum length: 1
|
UUID |
getLegalTransactionRelshpUUID()
(Key Field) Constraints: Not nullable
|
UUID |
getLegalTransactionUUID()
Constraints: none
|
String |
getLglCntntMRelshpType()
Constraints: Not nullable, Maximum length: 4
|
String |
getRelshpLegalTransaction()
Constraints: Not nullable, Maximum length: 10
|
Class<LglTransRelationship> |
getType() |
int |
hashCode() |
void |
setLegalTransactionMandatoryFlag(String legalTransactionMandatoryFlag)
Constraints: Not nullable, Maximum length: 1
|
void |
setLegalTransactionRelshpUUID(UUID legalTransactionRelshpUUID)
(Key Field) Constraints: Not nullable
|
void |
setLegalTransactionUUID(UUID legalTransactionUUID)
Constraints: none
|
void |
setLglCntntMRelshpType(String lglCntntMRelshpType)
Constraints: Not nullable, Maximum length: 4
|
void |
setRelshpLegalTransaction(String relshpLegalTransaction)
Constraints: Not nullable, Maximum length: 10
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final LglTransRelationshipSelectable ALL_FIELDS
public static final LglTransRelationshipField<UUID> LEGAL_TRANSACTION_RELSHP_UUID
public static final LglTransRelationshipField<String> LGL_CNTNT_M_RELSHP_TYPE
public static final LglTransRelationshipField<String> RELSHP_LEGAL_TRANSACTION
public static final LglTransRelationshipField<String> LEGAL_TRANSACTION_MANDATORY_FLAG
public static final LglTransRelationshipField<UUID> LEGAL_TRANSACTION_UUID
@Nonnull public Class<LglTransRelationship> getType()
getType
in class VdmObject<LglTransRelationship>
public void setLegalTransactionRelshpUUID(@Nullable UUID legalTransactionRelshpUUID)
Original property name from the Odata EDM: LegalTransactionRelshpUUID
legalTransactionRelshpUUID
- Universal Unique Identifierpublic void setLglCntntMRelshpType(@Nullable String lglCntntMRelshpType)
Original property name from the Odata EDM: LglCntntMRelshpType
lglCntntMRelshpType
- Relationship Typepublic void setRelshpLegalTransaction(@Nullable String relshpLegalTransaction)
Original property name from the Odata EDM: RelshpLegalTransaction
relshpLegalTransaction
- Legal Transaction IDpublic void setLegalTransactionMandatoryFlag(@Nullable String legalTransactionMandatoryFlag)
Original property name from the Odata EDM: LegalTransactionMandatoryFlag
legalTransactionMandatoryFlag
- Control Parameter Legal Transaction Mandatory Statepublic void setLegalTransactionUUID(@Nullable UUID legalTransactionUUID)
Original property name from the Odata EDM: LegalTransactionUUID
legalTransactionUUID
- Universal Unique Identifierprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<LglTransRelationship>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<LglTransRelationship>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<LglTransRelationship>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<LglTransRelationship>
@Nonnull public static <T> LglTransRelationshipField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> LglTransRelationshipField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<LglTransRelationship>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<LglTransRelationship>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<LglTransRelationship>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<LglTransRelationship>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)public static LglTransRelationship.LglTransRelationshipBuilder builder()
@Nullable public UUID getLegalTransactionRelshpUUID()
Original property name from the Odata EDM: LegalTransactionRelshpUUID
@Nullable public String getLglCntntMRelshpType()
Original property name from the Odata EDM: LglCntntMRelshpType
@Nullable public String getRelshpLegalTransaction()
Original property name from the Odata EDM: RelshpLegalTransaction
@Nullable public String getLegalTransactionMandatoryFlag()
Original property name from the Odata EDM: LegalTransactionMandatoryFlag
@Nullable public UUID getLegalTransactionUUID()
Original property name from the Odata EDM: LegalTransactionUUID
public String toString()
toString
in class VdmObject<LglTransRelationship>
public boolean equals(Object o)
equals
in class VdmObject<LglTransRelationship>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<LglTransRelationship>
public int hashCode()
hashCode
in class VdmObject<LglTransRelationship>
Copyright © 2020 SAP SE. All rights reserved.