Class VariantConfigurationTableLine
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: VariantConfigurationTableLine_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of VariantConfigurationTableLine instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<VariantConfigurationTableLine>Selector for all available fields of VariantConfigurationTableLine.static final SimpleProperty.String<VariantConfigurationTableLine>static final SimpleProperty.Boolean<VariantConfigurationTableLine>Use with available request builders to apply the _Table navigation property to query operations.static final NavigationProperty.Collection<VariantConfigurationTableLine,VariantConfigurationTableValue> Use with available request builders to apply the _Value navigation property to query operations.static final SimpleProperty.Date<VariantConfigurationTableLine>static final SimpleProperty.Date<VariantConfigurationTableLine>static final SimpleProperty.String<VariantConfigurationTableLine>static final SimpleProperty.String<VariantConfigurationTableLine>static final SimpleProperty.String<VariantConfigurationTableLine>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionVariantConfigurationTableLine(String varConfignTblName, String varConfignTblLineNumber, String changeNumber, String varConfignTblLinePosition, Boolean isDeleted, LocalDate validityStartDate, LocalDate validityEndDate, VarConfigurationTableContent to_Table, List<VariantConfigurationTableValue> to_Value) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(VariantConfigurationTableValue... entity) Adds elements to the list of associated VariantConfigurationTableValue entities.builder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 12protected Stringprotected StringConstraints: Not nullableprotected ODataEntityKeygetKey()io.vavr.control.Option<VarConfigurationTableContent>Retrieval of associated VarConfigurationTableContent entity (one to one).getType()Constraints: NullableConstraints: Nullableio.vavr.control.Option<List<VariantConfigurationTableValue>>Retrieval of associated VariantConfigurationTableValue entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 5(Key Field) Constraints: Not nullable, Maximum length: 18inthashCode()voidsetChangeNumber(String changeNumber) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetIsDeleted(Boolean isDeleted) Constraints: Not nullablevoidOverwrites the associated VarConfigurationTableContent entity for the loaded navigation property _Table.voidsetValidityEndDate(LocalDate validityEndDate) Constraints: NullablevoidsetValidityStartDate(LocalDate validityStartDate) Constraints: NullablevoidOverwrites the list of associated VariantConfigurationTableValue entities for the loaded navigation property _Value.voidsetVarConfignTblLineNumber(String varConfignTblLineNumber) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetVarConfignTblLinePosition(String varConfignTblLinePosition) Constraints: Not nullable, Maximum length: 5voidsetVarConfignTblName(String varConfignTblName) (Key Field) Constraints: Not nullable, Maximum length: 18toString()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 VariantConfigurationTableLine. -
VAR_CONFIGN_TBL_NAME
-
VAR_CONFIGN_TBL_LINE_NUMBER
public static final SimpleProperty.String<VariantConfigurationTableLine> VAR_CONFIGN_TBL_LINE_NUMBER -
CHANGE_NUMBER
-
VAR_CONFIGN_TBL_LINE_POSITION
public static final SimpleProperty.String<VariantConfigurationTableLine> VAR_CONFIGN_TBL_LINE_POSITION -
IS_DELETED
-
VALIDITY_START_DATE
-
VALIDITY_END_DATE
-
TO__TABLE
public static final NavigationProperty.Single<VariantConfigurationTableLine,VarConfigurationTableContent> TO__TABLEUse with available request builders to apply the _Table navigation property to query operations. -
TO__VALUE
public static final NavigationProperty.Collection<VariantConfigurationTableLine,VariantConfigurationTableValue> TO__VALUEUse with available request builders to apply the _Value navigation property to query operations.
-
-
Constructor Details
-
VariantConfigurationTableLine
public VariantConfigurationTableLine() -
VariantConfigurationTableLine
public VariantConfigurationTableLine(@Nullable String varConfignTblName, @Nullable String varConfignTblLineNumber, @Nullable String changeNumber, @Nullable String varConfignTblLinePosition, @Nullable Boolean isDeleted, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable VarConfigurationTableContent to_Table, List<VariantConfigurationTableValue> to_Value)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<VariantConfigurationTableLine>
-
setVarConfignTblName
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: VarConfignTblName
- Parameters:
varConfignTblName- Name of variant table
-
setVarConfignTblLineNumber
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: VarConfignTblLineNumber
- Parameters:
varConfignTblLineNumber- Row Number of Variant Table - External
-
setChangeNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChangeNumber
- Parameters:
changeNumber- Change Number
-
setVarConfignTblLinePosition
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: VarConfignTblLinePosition
- Parameters:
varConfignTblLinePosition- Row Number of Variant Table - External
-
setIsDeleted
Constraints: Not nullableOriginal property name from the Odata EDM: IsDeleted
- Parameters:
isDeleted- Deletion Indicator
-
setValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Valid-From Date
-
setValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Valid-to date
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<VariantConfigurationTableLine>
-
getKey
- Overrides:
getKeyin classVdmObject<VariantConfigurationTableLine>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<VariantConfigurationTableLine>
-
fromMap
- Overrides:
fromMapin classVdmObject<VariantConfigurationTableLine>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<VariantConfigurationTableLine>
-
getTableIfPresent
Retrieval of associated VarConfigurationTableContent entity (one to one). This corresponds to the OData navigation property _Table.If the navigation property for an entity VariantConfigurationTableLine 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 _Table is already loaded, the result will contain the
VarConfigurationTableContent entity. If not, an
Optionwith result stateemptyis returned.
-
setTable
Overwrites the associated VarConfigurationTableContent entity for the loaded navigation property _Table.- Parameters:
value- New VarConfigurationTableContent entity.
-
getValueIfPresent
Retrieval of associated VariantConfigurationTableValue entities (one to many). This corresponds to the OData navigation property _Value.If the navigation property for an entity VariantConfigurationTableLine 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 _Value is already loaded, the result will contain the
VariantConfigurationTableValue entities. If not, an
Optionwith result stateemptyis returned.
-
setValue
Overwrites the list of associated VariantConfigurationTableValue entities for the loaded navigation property _Value.If the navigation property _Value of a queried VariantConfigurationTableLine 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 VariantConfigurationTableValue entities.
-
addValue
Adds elements to the list of associated VariantConfigurationTableValue entities. This corresponds to the OData navigation property _Value.If the navigation property _Value of a queried VariantConfigurationTableLine 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 VariantConfigurationTableValue entities.
-
builder
-
getVarConfignTblName
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: VarConfignTblName
- Returns:
- Name of variant table
-
getVarConfignTblLineNumber
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: VarConfignTblLineNumber
- Returns:
- Row Number of Variant Table - External
-
getChangeNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChangeNumber
- Returns:
- Change Number
-
getVarConfignTblLinePosition
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: VarConfignTblLinePosition
- Returns:
- Row Number of Variant Table - External
-
getIsDeleted
Constraints: Not nullableOriginal property name from the Odata EDM: IsDeleted
- Returns:
- Deletion Indicator
-
getValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDate
- Returns:
- Valid-From Date
-
getValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDate
- Returns:
- Valid-to date
-
toString
- Overrides:
toStringin classVdmObject<VariantConfigurationTableLine>
-
equals
- Overrides:
equalsin classVdmEntity<VariantConfigurationTableLine>
-
canEqual
- Overrides:
canEqualin classVdmEntity<VariantConfigurationTableLine>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<VariantConfigurationTableLine>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<VariantConfigurationTableLine>
-