Class FunctionalLocationLongText
Original entity name from the Odata EDM: FunctionalLocationLongTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FunctionalLocationLongText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionalLocationLongTextSelectableSelector for all available fields of FunctionalLocationLongText.static final FunctionalLocationLongTextField<String>Use with available fluent helpers to apply the FuncnlLocLongText field to query operations.static final FunctionalLocationLongTextField<String>Use with available fluent helpers to apply the FunctionalLocation field to query operations.static final FunctionalLocationLongTextField<String>Use with available fluent helpers to apply the FunctionalLocationLabelName field to query operations.static final FunctionalLocationLongTextField<String>Use with available fluent helpers to apply the Language field to query operations.static final FunctionalLocationLongTextField<String>Use with available fluent helpers to apply the TextObjectKey field to query operations.static final FunctionalLocationLongTextOneToOneLink<FunctionalLocation>Use with available fluent helpers to apply the to_FunctionalLocation navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionFunctionalLocationLongText(String functionalLocation, String functionalLocationLabelName, String textObjectKey, String language, String funcnlLocLongText, FunctionalLocation toFunctionalLocation) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the FunctionalLocation entity (one to one) associated with this entity.static <T,DomainT>
FunctionalLocationLongTextField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> FunctionalLocationLongTextField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringConstraints: none(Key Field) Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<FunctionalLocation>Retrieval of associated FunctionalLocation entity (one to one).Constraints: Not nullable, Maximum length: 40Retrieval of associated FunctionalLocation entity (one to one).getKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidsetFuncnlLocLongText(String funcnlLocLongText) Constraints: nonevoidOverwrites the associated FunctionalLocation entity for the loaded navigation property to_FunctionalLocation.voidsetFunctionalLocation(String functionalLocation) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetFunctionalLocationLabelName(String functionalLocationLabelName) Constraints: Not nullable, Maximum length: 40voidsetLanguage(String language) Constraints: Not nullable, Maximum length: 2protected voidsetServicePathForFetch(String servicePathForFetch) voidsetTextObjectKey(String textObjectKey) Constraints: Not nullable, Maximum length: 30toString()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 FunctionalLocationLongText. -
FUNCTIONAL_LOCATION
Use with available fluent helpers to apply the FunctionalLocation field to query operations. -
FUNCTIONAL_LOCATION_LABEL_NAME
Use with available fluent helpers to apply the FunctionalLocationLabelName field to query operations. -
TEXT_OBJECT_KEY
Use with available fluent helpers to apply the TextObjectKey field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
FUNCNL_LOC_LONG_TEXT
Use with available fluent helpers to apply the FuncnlLocLongText field to query operations. -
TO_FUNCTIONAL_LOCATION
public static final FunctionalLocationLongTextOneToOneLink<FunctionalLocation> TO_FUNCTIONAL_LOCATIONUse with available fluent helpers to apply the to_FunctionalLocation navigation property to query operations.
-
-
Constructor Details
-
FunctionalLocationLongText
public FunctionalLocationLongText() -
FunctionalLocationLongText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FunctionalLocationLongText>
-
setFunctionalLocation
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: FunctionalLocation
- Parameters:
functionalLocation- Functional location
-
setFunctionalLocationLabelName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: FunctionalLocationLabelName
- Parameters:
functionalLocationLabelName- Functional Location Label
-
setTextObjectKey
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: TextObjectKey
- Parameters:
textObjectKey- Functional location
-
setLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setFuncnlLocLongText
Constraints: noneOriginal property name from the Odata EDM: FuncnlLocLongText
- Parameters:
funcnlLocLongText- Long Text
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FunctionalLocationLongText>
-
getKey
- Overrides:
getKeyin classVdmObject<FunctionalLocationLongText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FunctionalLocationLongText>
-
fromMap
- Overrides:
fromMapin classVdmObject<FunctionalLocationLongText>
-
field
@Nonnull public static <T> FunctionalLocationLongTextField<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> FunctionalLocationLongTextField<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<FunctionalLocationLongText>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<FunctionalLocationLongText>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<FunctionalLocationLongText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FunctionalLocationLongText>
-
fetchFunctionalLocation
Fetches the FunctionalLocation entity (one to one) associated with this entity. This corresponds to the OData navigation property to_FunctionalLocation.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated FunctionalLocation 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.
-
getFunctionalLocationOrFetch
Retrieval of associated FunctionalLocation entity (one to one). This corresponds to the OData navigation property to_FunctionalLocation.If the navigation property to_FunctionalLocation of a queried FunctionalLocationLongText 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 FunctionalLocation 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.
-
getFunctionalLocationIfPresent
Retrieval of associated FunctionalLocation entity (one to one). This corresponds to the OData navigation property to_FunctionalLocation.If the navigation property for an entity FunctionalLocationLongText 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_FunctionalLocation is already loaded, the result
will contain the FunctionalLocation entity. If not, an
Optionwith result stateemptyis returned.
-
setFunctionalLocation
Overwrites the associated FunctionalLocation entity for the loaded navigation property to_FunctionalLocation.- Parameters:
value- New FunctionalLocation entity.
-
builder
-
getFunctionalLocation
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: FunctionalLocation
- Returns:
- Functional location
-
getFunctionalLocationLabelName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: FunctionalLocationLabelName
- Returns:
- Functional Location Label
-
getTextObjectKey
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: TextObjectKey
- Returns:
- Functional location
-
getLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getFuncnlLocLongText
Constraints: noneOriginal property name from the Odata EDM: FuncnlLocLongText
- Returns:
- Long Text
-
toString
- Overrides:
toStringin classVdmObject<FunctionalLocationLongText>
-
equals
- Overrides:
equalsin classVdmEntity<FunctionalLocationLongText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FunctionalLocationLongText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FunctionalLocationLongText>
-