public class LglTransDate extends VdmEntity<LglTransDate>
Original entity name from the Odata EDM: A_LglTransDateType
Modifier and Type | Class and Description |
---|---|
static class |
LglTransDate.LglTransDateBuilder |
Modifier and Type | Field and Description |
---|---|
static LglTransDateSelectable |
ALL_FIELDS
Selector for all available fields of LglTransDate.
|
static LglTransDateField<UUID> |
LEGAL_TRANSACTION_DATE_UUID
Use with available fluent helpers to apply the LegalTransactionDateUUID field to query operations.
|
static LglTransDateField<String> |
LEGAL_TRANSACTION_MANDATORY_FLAG
Use with available fluent helpers to apply the LegalTransactionMandatoryFlag field to query operations.
|
static LglTransDateField<UUID> |
LEGAL_TRANSACTION_UUID
Use with available fluent helpers to apply the LegalTransactionUUID field to query operations.
|
static LglTransDateField<String> |
LGL_CNTNT_M_DATE_TYPE
Use with available fluent helpers to apply the LglCntntMDateType field to query operations.
|
static LglTransDateField<LocalDateTime> |
LGL_CNTNT_M_FROM_DATE
Use with available fluent helpers to apply the LglCntntMFromDate field to query operations.
|
static LglTransDateField<LocalDateTime> |
LGL_CNTNT_M_TO_DATE
Use with available fluent helpers to apply the LglCntntMToDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
LglTransDate() |
LglTransDate(UUID legalTransactionDateUUID,
String lglCntntMDateType,
LocalDateTime lglCntntMFromDate,
LocalDateTime lglCntntMToDate,
String legalTransactionMandatoryFlag,
UUID legalTransactionUUID) |
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 LglTransDate.LglTransDateBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> LglTransDateField<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 |
getLegalTransactionDateUUID()
(Key Field) Constraints: Not nullable
|
String |
getLegalTransactionMandatoryFlag()
Constraints: Not nullable, Maximum length: 1
|
UUID |
getLegalTransactionUUID()
Constraints: none
|
String |
getLglCntntMDateType()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getLglCntntMFromDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getLglCntntMToDate()
Constraints: Not nullable, Precision: 0
|
Class<LglTransDate> |
getType() |
int |
hashCode() |
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setLegalTransactionDateUUID(UUID legalTransactionDateUUID)
(Key Field) Constraints: Not nullable
|
void |
setLegalTransactionMandatoryFlag(String legalTransactionMandatoryFlag)
Constraints: Not nullable, Maximum length: 1
|
void |
setLegalTransactionUUID(UUID legalTransactionUUID)
Constraints: none
|
void |
setLglCntntMDateType(String lglCntntMDateType)
Constraints: Not nullable, Maximum length: 4
|
void |
setLglCntntMFromDate(LocalDateTime lglCntntMFromDate)
Constraints: Not nullable, Precision: 0
|
void |
setLglCntntMToDate(LocalDateTime lglCntntMToDate)
Constraints: Not nullable, Precision: 0
|
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 LglTransDateSelectable ALL_FIELDS
public static final LglTransDateField<UUID> LEGAL_TRANSACTION_DATE_UUID
public static final LglTransDateField<String> LGL_CNTNT_M_DATE_TYPE
public static final LglTransDateField<LocalDateTime> LGL_CNTNT_M_FROM_DATE
public static final LglTransDateField<LocalDateTime> LGL_CNTNT_M_TO_DATE
public static final LglTransDateField<String> LEGAL_TRANSACTION_MANDATORY_FLAG
public static final LglTransDateField<UUID> LEGAL_TRANSACTION_UUID
@Nonnull public Class<LglTransDate> getType()
getType
in class VdmObject<LglTransDate>
public void setLegalTransactionDateUUID(@Nullable UUID legalTransactionDateUUID)
Original property name from the Odata EDM: LegalTransactionDateUUID
legalTransactionDateUUID
- Universal Unique Identifierpublic void setLglCntntMDateType(@Nullable String lglCntntMDateType)
Original property name from the Odata EDM: LglCntntMDateType
lglCntntMDateType
- Date Typepublic void setLglCntntMFromDate(@Nullable LocalDateTime lglCntntMFromDate)
Original property name from the Odata EDM: LglCntntMFromDate
lglCntntMFromDate
- Valid Frompublic void setLglCntntMToDate(@Nullable LocalDateTime lglCntntMToDate)
Original property name from the Odata EDM: LglCntntMToDate
lglCntntMToDate
- Valid Topublic 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()
getEntityCollection
in class VdmEntity<LglTransDate>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<LglTransDate>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<LglTransDate>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<LglTransDate>
@Nonnull public static <T> LglTransDateField<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> LglTransDateField<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<LglTransDate>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<LglTransDate>
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<LglTransDate>
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<LglTransDate>
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<LglTransDate>
public static LglTransDate.LglTransDateBuilder builder()
@Nullable public UUID getLegalTransactionDateUUID()
Original property name from the Odata EDM: LegalTransactionDateUUID
@Nullable public String getLglCntntMDateType()
Original property name from the Odata EDM: LglCntntMDateType
@Nullable public LocalDateTime getLglCntntMFromDate()
Original property name from the Odata EDM: LglCntntMFromDate
@Nullable public LocalDateTime getLglCntntMToDate()
Original property name from the Odata EDM: LglCntntMToDate
@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<LglTransDate>
public boolean equals(Object o)
equals
in class VdmObject<LglTransDate>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<LglTransDate>
public int hashCode()
hashCode
in class VdmObject<LglTransDate>
Copyright © 2019 SAP SE. All rights reserved.