public class LglTransEntity extends VdmEntity<LglTransEntity>
Original entity name from the Odata EDM: A_LglTransEntityType
Modifier and Type | Class and Description |
---|---|
static class |
LglTransEntity.LglTransEntityBuilder |
Modifier and Type | Field and Description |
---|---|
static LglTransEntitySelectable |
ALL_FIELDS
Selector for all available fields of LglTransEntity.
|
static LglTransEntityField<UUID> |
LEGAL_TRANSACTION_ENTITY_UUID
Use with available fluent helpers to apply the LegalTransactionEntityUUID field to query operations.
|
static LglTransEntityField<String> |
LEGAL_TRANSACTION_MANDATORY_FLAG
Use with available fluent helpers to apply the LegalTransactionMandatoryFlag field to query operations.
|
static LglTransEntityField<UUID> |
LEGAL_TRANSACTION_UUID
Use with available fluent helpers to apply the LegalTransactionUUID field to query operations.
|
static LglTransEntityField<String> |
LGL_CNTNT_M_ENTITY
Use with available fluent helpers to apply the LglCntntMEntity field to query operations.
|
static LglTransEntityField<String> |
LGL_CNTNT_M_ENTITY_TYPE
Use with available fluent helpers to apply the LglCntntMEntityType field to query operations.
|
static LglTransEntityField<Boolean> |
LGL_CNTNT_M_IS_MAIN_ENTITY
Use with available fluent helpers to apply the LglCntntMIsMainEntity field to query operations.
|
static LglTransEntityField<Short> |
LGL_CNTNT_M_RANK
Use with available fluent helpers to apply the LglCntntMRank field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
LglTransEntity() |
LglTransEntity(UUID legalTransactionEntityUUID,
Short lglCntntMRank,
String lglCntntMEntityType,
String lglCntntMEntity,
UUID legalTransactionUUID,
String legalTransactionMandatoryFlag,
Boolean lglCntntMIsMainEntity) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static LglTransEntity.LglTransEntityBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> LglTransEntityField<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() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
UUID |
getLegalTransactionEntityUUID()
(Key Field) Constraints: Not nullable
|
String |
getLegalTransactionMandatoryFlag()
Constraints: Not nullable, Maximum length: 1
|
UUID |
getLegalTransactionUUID()
Constraints: none
|
String |
getLglCntntMEntity()
Constraints: Not nullable, Maximum length: 10
|
String |
getLglCntntMEntityType()
Constraints: Not nullable, Maximum length: 4
|
Boolean |
getLglCntntMIsMainEntity()
Constraints: none
|
Short |
getLglCntntMRank()
Constraints: none
|
Class<LglTransEntity> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setLegalTransactionEntityUUID(UUID legalTransactionEntityUUID)
(Key Field) Constraints: Not nullable
|
void |
setLegalTransactionMandatoryFlag(String legalTransactionMandatoryFlag)
Constraints: Not nullable, Maximum length: 1
|
void |
setLegalTransactionUUID(UUID legalTransactionUUID)
Constraints: none
|
void |
setLglCntntMEntity(String lglCntntMEntity)
Constraints: Not nullable, Maximum length: 10
|
void |
setLglCntntMEntityType(String lglCntntMEntityType)
Constraints: Not nullable, Maximum length: 4
|
void |
setLglCntntMIsMainEntity(Boolean lglCntntMIsMainEntity)
Constraints: none
|
void |
setLglCntntMRank(Short lglCntntMRank)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final LglTransEntitySelectable ALL_FIELDS
public static final LglTransEntityField<UUID> LEGAL_TRANSACTION_ENTITY_UUID
public static final LglTransEntityField<Short> LGL_CNTNT_M_RANK
public static final LglTransEntityField<String> LGL_CNTNT_M_ENTITY_TYPE
public static final LglTransEntityField<String> LGL_CNTNT_M_ENTITY
public static final LglTransEntityField<UUID> LEGAL_TRANSACTION_UUID
public static final LglTransEntityField<String> LEGAL_TRANSACTION_MANDATORY_FLAG
public static final LglTransEntityField<Boolean> LGL_CNTNT_M_IS_MAIN_ENTITY
public LglTransEntity()
public LglTransEntity(@Nullable UUID legalTransactionEntityUUID, @Nullable Short lglCntntMRank, @Nullable String lglCntntMEntityType, @Nullable String lglCntntMEntity, @Nullable UUID legalTransactionUUID, @Nullable String legalTransactionMandatoryFlag, @Nullable Boolean lglCntntMIsMainEntity)
@Nonnull public Class<LglTransEntity> getType()
getType
in class VdmObject<LglTransEntity>
public void setLegalTransactionEntityUUID(@Nullable UUID legalTransactionEntityUUID)
Original property name from the Odata EDM: LegalTransactionEntityUUID
legalTransactionEntityUUID
- Universal Unique Identifierpublic void setLglCntntMRank(@Nullable Short lglCntntMRank)
Original property name from the Odata EDM: LglCntntMRank
lglCntntMRank
- Rankpublic void setLglCntntMEntityType(@Nullable String lglCntntMEntityType)
Original property name from the Odata EDM: LglCntntMEntityType
lglCntntMEntityType
- Entity Typepublic void setLglCntntMEntity(@Nullable String lglCntntMEntity)
Original property name from the Odata EDM: LglCntntMEntity
lglCntntMEntity
- Entity IDpublic void setLegalTransactionUUID(@Nullable UUID legalTransactionUUID)
Original property name from the Odata EDM: LegalTransactionUUID
legalTransactionUUID
- Universal Unique Identifierpublic void setLegalTransactionMandatoryFlag(@Nullable String legalTransactionMandatoryFlag)
Original property name from the Odata EDM: LegalTransactionMandatoryFlag
legalTransactionMandatoryFlag
- Control Parameter Legal Transaction Mandatory Statepublic void setLglCntntMIsMainEntity(@Nullable Boolean lglCntntMIsMainEntity)
Original property name from the Odata EDM: LglCntntMIsMainEntity
lglCntntMIsMainEntity
- Entity is Main Entity of Legal Transactionprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<LglTransEntity>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<LglTransEntity>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<LglTransEntity>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<LglTransEntity>
@Nonnull public static <T> LglTransEntityField<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> LglTransEntityField<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 ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<LglTransEntity>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<LglTransEntity>
erpConfigContext
- New ERP configuration context to apply to this entityprotected 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<LglTransEntity>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
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<LglTransEntity>
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.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<LglTransEntity>
public static LglTransEntity.LglTransEntityBuilder builder()
@Nullable public UUID getLegalTransactionEntityUUID()
Original property name from the Odata EDM: LegalTransactionEntityUUID
@Nullable public Short getLglCntntMRank()
Original property name from the Odata EDM: LglCntntMRank
@Nullable public String getLglCntntMEntityType()
Original property name from the Odata EDM: LglCntntMEntityType
@Nullable public String getLglCntntMEntity()
Original property name from the Odata EDM: LglCntntMEntity
@Nullable public UUID getLegalTransactionUUID()
Original property name from the Odata EDM: LegalTransactionUUID
@Nullable public String getLegalTransactionMandatoryFlag()
Original property name from the Odata EDM: LegalTransactionMandatoryFlag
@Nullable public Boolean getLglCntntMIsMainEntity()
Original property name from the Odata EDM: LglCntntMIsMainEntity
public String toString()
toString
in class VdmObject<LglTransEntity>
public boolean equals(Object o)
equals
in class VdmObject<LglTransEntity>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<LglTransEntity>
public int hashCode()
hashCode
in class VdmObject<LglTransEntity>
Copyright © 2019 SAP SE. All rights reserved.