Class VarCnfObjectDependencyText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: VarCnfObjectDependencyText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of VarCnfObjectDependencyText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<VarCnfObjectDependencyText>Selector for all available fields of VarCnfObjectDependencyText.static final SimpleProperty.String<VarCnfObjectDependencyText>static final SimpleProperty.String<VarCnfObjectDependencyText>Use with available request builders to apply the _HistoricalText navigation property to query operations.Use with available request builders to apply the _ObjectDependency navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionVarCnfObjectDependencyText(String objectDependencyName, String languageCode, List<VarCnfHistlObjDependencyText> to_HistoricalText, VarConfignObjectDependency to_ObjectDependency) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHistoricalText(VarCnfHistlObjDependencyText... entity) Adds elements to the list of associated VarCnfHistlObjDependencyText entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<List<VarCnfHistlObjDependencyText>>Retrieval of associated VarCnfHistlObjDependencyText entities (one to many).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<VarConfignObjectDependency>Retrieval of associated VarConfignObjectDependency entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidOverwrites the list of associated VarCnfHistlObjDependencyText entities for the loaded navigation property _HistoricalText.voidsetLanguageCode(String languageCode) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated VarConfignObjectDependency entity for the loaded navigation property _ObjectDependency.voidsetObjectDependencyName(String objectDependencyName) (Key Field) Constraints: Not nullable, Maximum length: 30toString()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 VarCnfObjectDependencyText. -
OBJECT_DEPENDENCY_NAME
-
LANGUAGE_CODE
-
TO__HISTORICAL_TEXT
public static final NavigationProperty.Collection<VarCnfObjectDependencyText,VarCnfHistlObjDependencyText> TO__HISTORICAL_TEXTUse with available request builders to apply the _HistoricalText navigation property to query operations. -
TO__OBJECT_DEPENDENCY
public static final NavigationProperty.Single<VarCnfObjectDependencyText,VarConfignObjectDependency> TO__OBJECT_DEPENDENCYUse with available request builders to apply the _ObjectDependency navigation property to query operations.
-
-
Constructor Details
-
VarCnfObjectDependencyText
public VarCnfObjectDependencyText() -
VarCnfObjectDependencyText
public VarCnfObjectDependencyText(@Nullable String objectDependencyName, @Nullable String languageCode, List<VarCnfHistlObjDependencyText> to_HistoricalText, @Nullable VarConfignObjectDependency to_ObjectDependency)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<VarCnfObjectDependencyText>
-
setObjectDependencyName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ObjectDependencyName
- Parameters:
objectDependencyName- Name of Dependency
-
setLanguageCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: LanguageCode
- Parameters:
languageCode- Language Key
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<VarCnfObjectDependencyText>
-
getKey
- Overrides:
getKeyin classVdmObject<VarCnfObjectDependencyText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<VarCnfObjectDependencyText>
-
fromMap
- Overrides:
fromMapin classVdmObject<VarCnfObjectDependencyText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<VarCnfObjectDependencyText>
-
getHistoricalTextIfPresent
@Nonnull public io.vavr.control.Option<List<VarCnfHistlObjDependencyText>> getHistoricalTextIfPresent()Retrieval of associated VarCnfHistlObjDependencyText entities (one to many). This corresponds to the OData navigation property _HistoricalText.If the navigation property for an entity VarCnfObjectDependencyText 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 _HistoricalText is already loaded, the result will
contain the VarCnfHistlObjDependencyText entities. If not, an
Optionwith result stateemptyis returned.
-
setHistoricalText
Overwrites the list of associated VarCnfHistlObjDependencyText entities for the loaded navigation property _HistoricalText.If the navigation property _HistoricalText of a queried VarCnfObjectDependencyText 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 VarCnfHistlObjDependencyText entities.
-
addHistoricalText
Adds elements to the list of associated VarCnfHistlObjDependencyText entities. This corresponds to the OData navigation property _HistoricalText.If the navigation property _HistoricalText of a queried VarCnfObjectDependencyText 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 VarCnfHistlObjDependencyText entities.
-
getObjectDependencyIfPresent
Retrieval of associated VarConfignObjectDependency entity (one to one). This corresponds to the OData navigation property _ObjectDependency.If the navigation property for an entity VarCnfObjectDependencyText 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 _ObjectDependency is already loaded, the result will
contain the VarConfignObjectDependency entity. If not, an
Optionwith result stateemptyis returned.
-
setObjectDependency
Overwrites the associated VarConfignObjectDependency entity for the loaded navigation property _ObjectDependency.- Parameters:
value- New VarConfignObjectDependency entity.
-
builder
-
getObjectDependencyName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ObjectDependencyName
- Returns:
- Name of Dependency
-
getLanguageCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: LanguageCode
- Returns:
- Language Key
-
toString
- Overrides:
toStringin classVdmObject<VarCnfObjectDependencyText>
-
equals
- Overrides:
equalsin classVdmEntity<VarCnfObjectDependencyText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<VarCnfObjectDependencyText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<VarCnfObjectDependencyText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<VarCnfObjectDependencyText>
-