Class VarConfigurationTableContent
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: VarConfigurationTableContent_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of VarConfigurationTableContent instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<VarConfigurationTableContent>Selector for all available fields of VarConfigurationTableContent.static final SimpleProperty.String<VarConfigurationTableContent>static final NavigationProperty.Collection<VarConfigurationTableContent,VariantConfigurationTableLine> Use with available request builders to apply the _TableLine navigation property to query operations.static final SimpleProperty.String<VarConfigurationTableContent>static final SimpleProperty.DateTime<VarConfigurationTableContent>static final SimpleProperty.String<VarConfigurationTableContent>static final SimpleProperty.String<VarConfigurationTableContent>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionVarConfigurationTableContent(String varConfignTblName, String varConfignTblStatus, String engineProcessingMode, OffsetDateTime varConfignTblCntntLstChgDteTme, String varConfignTblCntntLastChgNo, Collection<SAP__Message> _Messages, List<VariantConfigurationTableLine> to_TableLine) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTableLine(VariantConfigurationTableLine... entity) Adds elements to the list of associated VariantConfigurationTableLine entities.builder()protected booleancreateLine(String varConfignTblTgtLinePosition, String changeNumber, String characteristic, String charcValue, Double charcFromNumericValue, Double charcToNumericValue, String charcValueIntervalType, String charcFromNumericValueUnit, String charcToNumericValueUnit, Boolean varConfignTblAnyValueIsAllowed) Action that can be applied to any entity object of this class.deleteAllLines(String changeNumber) Action that can be applied to any entity object of this class.booleanprotected voidConstraints: Not nullableprotected StringConstraints: Not nullable, Maximum length: 1protected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<List<VariantConfigurationTableLine>>Retrieval of associated VariantConfigurationTableLine entities (one to many).getType()Constraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7(Key Field) Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 1inthashCode()static BoundFunction.SingleToCollection<VarConfigurationTableContent,VariantConfigurationTableValue> retrieveByKeyDate(LocalDate keyDate) Function that can be applied to any entity object of this class.voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetEngineProcessingMode(String engineProcessingMode) Constraints: Not nullable, Maximum length: 1voidOverwrites the list of associated VariantConfigurationTableLine entities for the loaded navigation property _TableLine.voidsetVarConfignTblCntntLastChgNo(String varConfignTblCntntLastChgNo) Constraints: Not nullable, Maximum length: 12voidsetVarConfignTblCntntLstChgDteTme(OffsetDateTime varConfignTblCntntLstChgDteTme) Constraints: Nullable, Precision: 7voidsetVarConfignTblName(String varConfignTblName) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetVarConfignTblStatus(String varConfignTblStatus) Constraints: Not nullable, Maximum length: 1toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of VarConfigurationTableContent. -
VAR_CONFIGN_TBL_NAME
-
VAR_CONFIGN_TBL_STATUS
-
ENGINE_PROCESSING_MODE
-
VAR_CONFIGN_TBL_CNTNT_LST_CHG_DTE_TME
public static final SimpleProperty.DateTime<VarConfigurationTableContent> VAR_CONFIGN_TBL_CNTNT_LST_CHG_DTE_TME -
VAR_CONFIGN_TBL_CNTNT_LAST_CHG_NO
public static final SimpleProperty.String<VarConfigurationTableContent> VAR_CONFIGN_TBL_CNTNT_LAST_CHG_NO -
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__TABLE_LINE
public static final NavigationProperty.Collection<VarConfigurationTableContent,VariantConfigurationTableLine> TO__TABLE_LINEUse with available request builders to apply the _TableLine navigation property to query operations.
-
-
Constructor Details
-
VarConfigurationTableContent
public VarConfigurationTableContent() -
VarConfigurationTableContent
public VarConfigurationTableContent(@Nullable String varConfignTblName, @Nullable String varConfignTblStatus, @Nullable String engineProcessingMode, @Nullable OffsetDateTime varConfignTblCntntLstChgDteTme, @Nullable String varConfignTblCntntLastChgNo, @Nullable Collection<SAP__Message> _Messages, List<VariantConfigurationTableLine> to_TableLine)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<VarConfigurationTableContent>
-
setVarConfignTblName
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: VarConfignTblName
- Parameters:
varConfignTblName- Name of variant table
-
setVarConfignTblStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: VarConfignTblStatus
- Parameters:
varConfignTblStatus- Variant table status
-
setEngineProcessingMode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: EngineProcessingMode
- Parameters:
engineProcessingMode- Variant Table Processing Mode
-
setVarConfignTblCntntLstChgDteTme
public void setVarConfignTblCntntLstChgDteTme(@Nullable OffsetDateTime varConfignTblCntntLstChgDteTme) Constraints: Nullable, Precision: 7Original property name from the Odata EDM: VarConfignTblCntntLstChgDteTme
- Parameters:
varConfignTblCntntLstChgDteTme- Date/Time of last Change to Table Cont.
-
setVarConfignTblCntntLastChgNo
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: VarConfignTblCntntLastChgNo
- Parameters:
varConfignTblCntntLastChgNo- Change Number
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<VarConfigurationTableContent>
-
getKey
- Overrides:
getKeyin classVdmObject<VarConfigurationTableContent>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<VarConfigurationTableContent>
-
fromMap
- Overrides:
fromMapin classVdmObject<VarConfigurationTableContent>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<VarConfigurationTableContent>
-
getTableLineIfPresent
Retrieval of associated VariantConfigurationTableLine entities (one to many). This corresponds to the OData navigation property _TableLine.If the navigation property for an entity VarConfigurationTableContent has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _TableLine is already loaded, the result will contain
the VariantConfigurationTableLine entities. If not, an
Optionwith result stateemptyis returned.
-
setTableLine
Overwrites the list of associated VariantConfigurationTableLine entities for the loaded navigation property _TableLine.If the navigation property _TableLine of a queried VarConfigurationTableContent is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of VariantConfigurationTableLine entities.
-
addTableLine
Adds elements to the list of associated VariantConfigurationTableLine entities. This corresponds to the OData navigation property _TableLine.If the navigation property _TableLine of a queried VarConfigurationTableContent is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of VariantConfigurationTableLine entities.
-
retrieveByKeyDate
@Nonnull public static BoundFunction.SingleToCollection<VarConfigurationTableContent,VariantConfigurationTableValue> retrieveByKeyDate(@Nullable LocalDate keyDate) Function that can be applied to any entity object of this class.- Parameters:
keyDate- Constraints: NullableOriginal parameter name from the Odata EDM: KeyDate
- Returns:
- Function object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyFunction(thisFunction)API.
-
createLine
@Nonnull public static BoundAction.SingleToSingle<VarConfigurationTableContent,VarConfigurationTableContent> createLine(@Nonnull String varConfignTblTgtLinePosition, @Nonnull String changeNumber, @Nonnull String characteristic, @Nonnull String charcValue, @Nonnull Double charcFromNumericValue, @Nonnull Double charcToNumericValue, @Nonnull String charcValueIntervalType, @Nonnull String charcFromNumericValueUnit, @Nonnull String charcToNumericValueUnit, @Nonnull Boolean varConfignTblAnyValueIsAllowed) Action that can be applied to any entity object of this class.- Parameters:
varConfignTblAnyValueIsAllowed- Constraints: Not nullableOriginal parameter name from the Odata EDM: VarConfignTblAnyValueIsAllowed
charcValue- Constraints: Not nullable, Maximum length: 70Original parameter name from the Odata EDM: CharcValue
charcFromNumericValueUnit- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: CharcFromNumericValueUnit
charcValueIntervalType- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: CharcValueIntervalType
charcToNumericValueUnit- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: CharcToNumericValueUnit
varConfignTblTgtLinePosition- Constraints: Not nullable, Maximum length: 5Original parameter name from the Odata EDM: VarConfignTblTgtLinePosition
changeNumber- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChangeNumber
charcFromNumericValue- Constraints: Not nullableOriginal parameter name from the Odata EDM: CharcFromNumericValue
characteristic- Constraints: Not nullable, Maximum length: 30Original parameter name from the Odata EDM: Characteristic
charcToNumericValue- Constraints: Not nullableOriginal parameter name from the Odata EDM: CharcToNumericValue
- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
deleteAllLines
@Nonnull public static BoundAction.SingleToSingle<VarConfigurationTableContent,VarConfigurationTableContent> deleteAllLines(@Nonnull String changeNumber) Action that can be applied to any entity object of this class.- Parameters:
changeNumber- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChangeNumber
- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getVarConfignTblName
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: VarConfignTblName
- Returns:
- Name of variant table
-
getVarConfignTblStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: VarConfignTblStatus
- Returns:
- Variant table status
-
getEngineProcessingMode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: EngineProcessingMode
- Returns:
- Variant Table Processing Mode
-
getVarConfignTblCntntLstChgDteTme
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: VarConfignTblCntntLstChgDteTme
- Returns:
- Date/Time of last Change to Table Cont.
-
getVarConfignTblCntntLastChgNo
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: VarConfignTblCntntLastChgNo
- Returns:
- Change Number
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<VarConfigurationTableContent>
-
equals
- Overrides:
equalsin classVdmEntity<VarConfigurationTableContent>
-
canEqual
- Overrides:
canEqualin classVdmEntity<VarConfigurationTableContent>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<VarConfigurationTableContent>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<VarConfigurationTableContent>
-