Class RecipeText
Original entity name from the Odata EDM: A_RecipeTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of RecipeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RecipeTextSelectableSelector for all available fields of RecipeText.static final RecipeTextField<Boolean>Use with available fluent helpers to apply the Delete_mc field to query operations.static final RecipeTextField<String>Use with available fluent helpers to apply the Language field to query operations.static final RecipeTextField<String>Use with available fluent helpers to apply the Recipe field to query operations.static final RecipeTextField<String>Use with available fluent helpers to apply the RecipeDescription field to query operations.static final RecipeTextField<ZonedDateTime>Use with available fluent helpers to apply the RecipeLastChangeDateTime field to query operations.static final RecipeTextField<UUID>Use with available fluent helpers to apply the RecipeUUID field to query operations.static final RecipeTextOneToOneLink<Recipe>Use with available fluent helpers to apply the to_Recipe navigation property to query operations.static final RecipeTextField<Boolean>Use with available fluent helpers to apply the Update_mc field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionRecipeText(Boolean delete_mc, Boolean update_mc, UUID recipeUUID, String language, String recipeDescription, ZonedDateTime recipeLastChangeDateTime, String recipe, Recipe toRecipe) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) static RecipeText.RecipeTextBuilderbuilder()protected booleanbooleanFetches the Recipe entity (one to one) associated with this entity.static <T,DomainT>
RecipeTextField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> RecipeTextField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected StringConstraints: noneprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 132io.vavr.control.Option<Recipe>Retrieval of associated Recipe entity (one to one).Constraints: Not nullable, Precision: 0Retrieval of associated Recipe entity (one to one).(Key Field) Constraints: Not nullablegetType()Constraints: noneinthashCode()voidsetDelete_mc(Boolean delete_mc) Constraints: nonevoidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated Recipe entity for the loaded navigation property to_Recipe.voidConstraints: Not nullable, Maximum length: 20voidsetRecipeDescription(String recipeDescription) Constraints: Not nullable, Maximum length: 132voidsetRecipeLastChangeDateTime(ZonedDateTime recipeLastChangeDateTime) Constraints: Not nullable, Precision: 0voidsetRecipeUUID(UUID recipeUUID) (Key Field) Constraints: Not nullableprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetUpdate_mc(Boolean update_mc) Constraints: nonetoString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
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 RecipeText. -
DELETE_MC
Use with available fluent helpers to apply the Delete_mc field to query operations. -
UPDATE_MC
Use with available fluent helpers to apply the Update_mc field to query operations. -
RECIPE_UUID
Use with available fluent helpers to apply the RecipeUUID field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
RECIPE_DESCRIPTION
Use with available fluent helpers to apply the RecipeDescription field to query operations. -
RECIPE_LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the RecipeLastChangeDateTime field to query operations. -
RECIPE
Use with available fluent helpers to apply the Recipe field to query operations. -
TO_RECIPE
Use with available fluent helpers to apply the to_Recipe navigation property to query operations.
-
-
Constructor Details
-
RecipeText
public RecipeText() -
RecipeText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<RecipeText>
-
setDelete_mc
Constraints: noneOriginal property name from the Odata EDM: Delete_mc
- Parameters:
delete_mc- Dyn. Method Control
-
setUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Parameters:
update_mc- Dyn. Method Control
-
setRecipeUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: RecipeUUID
- Parameters:
recipeUUID- Common Recipe GUID
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setRecipeDescription
Constraints: Not nullable, Maximum length: 132Original property name from the Odata EDM: RecipeDescription
- Parameters:
recipeDescription- Recipe Description
-
setRecipeLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: RecipeLastChangeDateTime
- Parameters:
recipeLastChangeDateTime- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
setRecipe
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: Recipe
- Parameters:
recipe- Recipe ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<RecipeText>
-
getKey
- Overrides:
getKeyin classVdmObject<RecipeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<RecipeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<RecipeText>
-
field
@Nonnull public static <T> RecipeTextField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> RecipeTextField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<RecipeText>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<RecipeText>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<RecipeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<RecipeText>
-
fetchRecipe
Fetches the Recipe entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Recipe.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated Recipe entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getRecipeOrFetch
Retrieval of associated Recipe entity (one to one). This corresponds to the OData navigation property to_Recipe.If the navigation property to_Recipe of a queried RecipeText 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.
- Returns:
- List of associated Recipe entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getRecipeIfPresent
Retrieval of associated Recipe entity (one to one). This corresponds to the OData navigation property to_Recipe.If the navigation property for an entity RecipeText 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 to_Recipe is already loaded, the result will contain
the Recipe entity. If not, an
Optionwith result stateemptyis returned.
-
setRecipe
Overwrites the associated Recipe entity for the loaded navigation property to_Recipe.- Parameters:
value- New Recipe entity.
-
builder
-
getDelete_mc
Constraints: noneOriginal property name from the Odata EDM: Delete_mc
- Returns:
- Dyn. Method Control
-
getUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Returns:
- Dyn. Method Control
-
getRecipeUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: RecipeUUID
- Returns:
- Common Recipe GUID
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getRecipeDescription
Constraints: Not nullable, Maximum length: 132Original property name from the Odata EDM: RecipeDescription
- Returns:
- Recipe Description
-
getRecipeLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: RecipeLastChangeDateTime
- Returns:
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
getRecipe
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: Recipe
- Returns:
- Recipe ID
-
toString
- Overrides:
toStringin classVdmObject<RecipeText>
-
equals
- Overrides:
equalsin classVdmEntity<RecipeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<RecipeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<RecipeText>
-