public class CndnContrCndnRecordValidity extends VdmEntity<CndnContrCndnRecordValidity>
Original entity name from the Odata EDM: CndnContrCndnRecordValidityType
Modifier and Type | Class and Description |
---|---|
static class |
CndnContrCndnRecordValidity.CndnContrCndnRecordValidityBuilder
Helper class to allow for fluent creation of CndnContrCndnRecordValidity instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
CndnContrCndnRecordValidity() |
CndnContrCndnRecordValidity(String conditionContract,
String conditionRecord,
LocalDate conditionValidityEndDate,
LocalDate conditionValidityStartDate,
String conditionTable,
String conditionApplication,
String conditionType,
Collection<SAP__Message> _Messages,
CndnContrConditionRecord to_CndnContrCndnRecord,
ConditionContract to_ConditionContract) |
Modifier and Type | Method and Description |
---|---|
static CndnContrCndnRecordValidity.CndnContrCndnRecordValidityBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
Collection<SAP__Message> |
get_Messages()
Constraints: Not nullable
|
io.vavr.control.Option<CndnContrConditionRecord> |
getCndnContrCndnRecordIfPresent()
Retrieval of associated CndnContrConditionRecord entity (one to one).
|
String |
getConditionApplication()
Constraints: Not nullable, Maximum length: 2
|
String |
getConditionContract()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<ConditionContract> |
getConditionContractIfPresent()
Retrieval of associated ConditionContract entity (one to one).
|
String |
getConditionRecord()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getConditionTable()
Constraints: Not nullable, Maximum length: 3
|
String |
getConditionType()
Constraints: Not nullable, Maximum length: 4
|
LocalDate |
getConditionValidityEndDate()
(Key Field) Constraints: Not nullable
|
LocalDate |
getConditionValidityStartDate()
Constraints: Nullable
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
Class<CndnContrCndnRecordValidity> |
getType() |
int |
hashCode() |
void |
set_Messages(Collection<SAP__Message> _Messages)
Constraints: Not nullable
|
void |
setCndnContrCndnRecord(CndnContrConditionRecord value)
Overwrites the associated CndnContrConditionRecord entity for the loaded navigation property
_CndnContrCndnRecord.
|
void |
setConditionApplication(String conditionApplication)
Constraints: Not nullable, Maximum length: 2
|
void |
setConditionContract(ConditionContract value)
Overwrites the associated ConditionContract entity for the loaded navigation property
_ConditionContract.
|
void |
setConditionContract(String conditionContract)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setConditionRecord(String conditionRecord)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setConditionTable(String conditionTable)
Constraints: Not nullable, Maximum length: 3
|
void |
setConditionType(String conditionType)
Constraints: Not nullable, Maximum length: 4
|
void |
setConditionValidityEndDate(LocalDate conditionValidityEndDate)
(Key Field) Constraints: Not nullable
|
void |
setConditionValidityStartDate(LocalDate conditionValidityStartDate)
Constraints: Nullable
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<CndnContrCndnRecordValidity> ALL_FIELDS
public static final SimpleProperty.String<CndnContrCndnRecordValidity> CONDITION_CONTRACT
public static final SimpleProperty.String<CndnContrCndnRecordValidity> CONDITION_RECORD
public static final SimpleProperty.Date<CndnContrCndnRecordValidity> CONDITION_VALIDITY_END_DATE
public static final SimpleProperty.Date<CndnContrCndnRecordValidity> CONDITION_VALIDITY_START_DATE
public static final SimpleProperty.String<CndnContrCndnRecordValidity> CONDITION_TABLE
public static final SimpleProperty.String<CndnContrCndnRecordValidity> CONDITION_APPLICATION
public static final SimpleProperty.String<CndnContrCndnRecordValidity> CONDITION_TYPE
public static final ComplexProperty.Collection<CndnContrCndnRecordValidity,SAP__Message> _MESSAGES
public static final NavigationProperty.Single<CndnContrCndnRecordValidity,CndnContrConditionRecord> TO__CNDN_CONTR_CNDN_RECORD
public static final NavigationProperty.Single<CndnContrCndnRecordValidity,ConditionContract> TO__CONDITION_CONTRACT
public CndnContrCndnRecordValidity()
public CndnContrCndnRecordValidity(@Nullable String conditionContract, @Nullable String conditionRecord, @Nullable LocalDate conditionValidityEndDate, @Nullable LocalDate conditionValidityStartDate, @Nullable String conditionTable, @Nullable String conditionApplication, @Nullable String conditionType, @Nullable Collection<SAP__Message> _Messages, @Nullable CndnContrConditionRecord to_CndnContrCndnRecord, @Nullable ConditionContract to_ConditionContract)
@Nonnull public Class<CndnContrCndnRecordValidity> getType()
getType
in class VdmObject<CndnContrCndnRecordValidity>
public void setConditionContract(@Nullable String conditionContract)
Original property name from the Odata EDM: ConditionContract
conditionContract
- Condition Contractpublic void setConditionRecord(@Nullable String conditionRecord)
Original property name from the Odata EDM: ConditionRecord
conditionRecord
- Number of the Condition Recordpublic void setConditionValidityEndDate(@Nullable LocalDate conditionValidityEndDate)
Original property name from the Odata EDM: ConditionValidityEndDate
conditionValidityEndDate
- Validity end date of the condition recordpublic void setConditionValidityStartDate(@Nullable LocalDate conditionValidityStartDate)
Original property name from the Odata EDM: ConditionValidityStartDate
conditionValidityStartDate
- Validity start date of the condition recordpublic void setConditionTable(@Nullable String conditionTable)
Original property name from the Odata EDM: ConditionTable
conditionTable
- Condition Tablepublic void setConditionApplication(@Nullable String conditionApplication)
Original property name from the Odata EDM: ConditionApplication
conditionApplication
- Applicationpublic void setConditionType(@Nullable String conditionType)
Original property name from the Odata EDM: ConditionType
conditionType
- Condition Typepublic void set_Messages(@Nullable Collection<SAP__Message> _Messages)
Original property name from the Odata EDM: SAP__Messages
_Messages
- The _Messages to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CndnContrCndnRecordValidity>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<CndnContrCndnRecordValidity>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<CndnContrCndnRecordValidity>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<CndnContrCndnRecordValidity>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<CndnContrCndnRecordValidity>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<CndnContrCndnRecordValidity>
@Nonnull public io.vavr.control.Option<CndnContrConditionRecord> getCndnContrCndnRecordIfPresent()
If the navigation property for an entity CndnContrCndnRecordValidity has not been resolved yet, this
method will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setCndnContrCndnRecord(CndnContrConditionRecord value)
value
- New CndnContrConditionRecord entity.@Nonnull public io.vavr.control.Option<ConditionContract> getConditionContractIfPresent()
If the navigation property for an entity CndnContrCndnRecordValidity has not been resolved yet, this
method will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setConditionContract(ConditionContract value)
value
- New ConditionContract entity.@Nonnull public static CndnContrCndnRecordValidity.CndnContrCndnRecordValidityBuilder builder()
@Nullable public String getConditionContract()
Original property name from the Odata EDM: ConditionContract
@Nullable public String getConditionRecord()
Original property name from the Odata EDM: ConditionRecord
@Nullable public LocalDate getConditionValidityEndDate()
Original property name from the Odata EDM: ConditionValidityEndDate
@Nullable public LocalDate getConditionValidityStartDate()
Original property name from the Odata EDM: ConditionValidityStartDate
@Nullable public String getConditionTable()
Original property name from the Odata EDM: ConditionTable
@Nullable public String getConditionApplication()
Original property name from the Odata EDM: ConditionApplication
@Nullable public String getConditionType()
Original property name from the Odata EDM: ConditionType
@Nullable public Collection<SAP__Message> get_Messages()
Original property name from the Odata EDM: SAP__Messages
@Nonnull public String toString()
toString
in class VdmObject<CndnContrCndnRecordValidity>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<CndnContrCndnRecordValidity>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<CndnContrCndnRecordValidity>
public int hashCode()
hashCode
in class VdmEntity<CndnContrCndnRecordValidity>
public String getOdataType()
getOdataType
in class VdmObject<CndnContrCndnRecordValidity>
Copyright © 2021 SAP SE. All rights reserved.