Class VarConfignObjectDependency
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: VarConfignObjectDependency_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of VarConfignObjectDependency instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<VarConfignObjectDependency,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<VarConfignObjectDependency>Selector for all available fields of VarConfignObjectDependency.static final SimpleProperty.DateTime<VarConfignObjectDependency>static final SimpleProperty.Boolean<VarConfignObjectDependency>static final SimpleProperty.String<VarConfignObjectDependency>Use with available request builders to apply the _HistoricalObjectDependency navigation property to query operations.static final NavigationProperty.Collection<VarConfignObjectDependency,VarCnfObjDependencySourceCode> Use with available request builders to apply the _SourceCode navigation property to query operations.Use with available request builders to apply the _Text 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
ConstructorsConstructorDescriptionVarConfignObjectDependency(String objectDependencyName, Boolean objectDependencyIsLocal, OffsetDateTime lastChangeDateTime, Collection<SAP__Message> _Messages, List<VarCnfHistlObjectDependency> to_HistoricalObjectDependency, List<VarCnfObjDependencySourceCode> to_SourceCode, List<VarCnfObjectDependencyText> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated VarCnfHistlObjectDependency entities.voidaddSourceCode(VarCnfObjDependencySourceCode... entity) Adds elements to the list of associated VarCnfObjDependencySourceCode entities.voidaddText(VarCnfObjectDependencyText... entity) Adds elements to the list of associated VarCnfObjectDependencyText entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected Stringio.vavr.control.Option<List<VarCnfHistlObjectDependency>>Retrieval of associated VarCnfHistlObjectDependency entities (one to many).protected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<List<VarCnfObjDependencySourceCode>>Retrieval of associated VarCnfObjDependencySourceCode entities (one to many).io.vavr.control.Option<List<VarCnfObjectDependencyText>>Retrieval of associated VarCnfObjectDependencyText entities (one to many).getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidOverwrites the list of associated VarCnfHistlObjectDependency entities for the loaded navigation property _HistoricalObjectDependency.voidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7voidsetObjectDependencyIsLocal(Boolean objectDependencyIsLocal) Constraints: Not nullablevoidsetObjectDependencyName(String objectDependencyName) (Key Field) Constraints: Not nullable, Maximum length: 30voidOverwrites the list of associated VarCnfObjDependencySourceCode entities for the loaded navigation property _SourceCode.voidsetText(List<VarCnfObjectDependencyText> value) Overwrites the list of associated VarCnfObjectDependencyText entities for the loaded navigation property _Text.toString()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 VarConfignObjectDependency. -
OBJECT_DEPENDENCY_NAME
-
OBJECT_DEPENDENCY_IS_LOCAL
-
LAST_CHANGE_DATE_TIME
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__HISTORICAL_OBJECT_DEPENDENCY
public static final NavigationProperty.Collection<VarConfignObjectDependency,VarCnfHistlObjectDependency> TO__HISTORICAL_OBJECT_DEPENDENCYUse with available request builders to apply the _HistoricalObjectDependency navigation property to query operations. -
TO__SOURCE_CODE
public static final NavigationProperty.Collection<VarConfignObjectDependency,VarCnfObjDependencySourceCode> TO__SOURCE_CODEUse with available request builders to apply the _SourceCode navigation property to query operations. -
TO__TEXT
public static final NavigationProperty.Collection<VarConfignObjectDependency,VarCnfObjectDependencyText> TO__TEXTUse with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
VarConfignObjectDependency
public VarConfignObjectDependency() -
VarConfignObjectDependency
public VarConfignObjectDependency(@Nullable String objectDependencyName, @Nullable Boolean objectDependencyIsLocal, @Nullable OffsetDateTime lastChangeDateTime, @Nullable Collection<SAP__Message> _Messages, List<VarCnfHistlObjectDependency> to_HistoricalObjectDependency, List<VarCnfObjDependencySourceCode> to_SourceCode, List<VarCnfObjectDependencyText> to_Text)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<VarConfignObjectDependency>
-
setObjectDependencyName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ObjectDependencyName
- Parameters:
objectDependencyName- Name of Dependency
-
setObjectDependencyIsLocal
Constraints: Not nullableOriginal property name from the Odata EDM: ObjectDependencyIsLocal
- Parameters:
objectDependencyIsLocal- Object Dependency Is Local
-
setLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Object Dependency Last Change Datetime
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<VarConfignObjectDependency>
-
getKey
- Overrides:
getKeyin classVdmObject<VarConfignObjectDependency>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<VarConfignObjectDependency>
-
fromMap
- Overrides:
fromMapin classVdmObject<VarConfignObjectDependency>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<VarConfignObjectDependency>
-
getHistoricalObjectDependencyIfPresent
@Nonnull public io.vavr.control.Option<List<VarCnfHistlObjectDependency>> getHistoricalObjectDependencyIfPresent()Retrieval of associated VarCnfHistlObjectDependency entities (one to many). This corresponds to the OData navigation property _HistoricalObjectDependency.If the navigation property for an entity VarConfignObjectDependency 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 _HistoricalObjectDependency is already loaded, the
result will contain the VarCnfHistlObjectDependency entities. If not, an
Optionwith result stateemptyis returned.
-
setHistoricalObjectDependency
Overwrites the list of associated VarCnfHistlObjectDependency entities for the loaded navigation property _HistoricalObjectDependency.If the navigation property _HistoricalObjectDependency of a queried VarConfignObjectDependency 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 VarCnfHistlObjectDependency entities.
-
addHistoricalObjectDependency
Adds elements to the list of associated VarCnfHistlObjectDependency entities. This corresponds to the OData navigation property _HistoricalObjectDependency.If the navigation property _HistoricalObjectDependency of a queried VarConfignObjectDependency 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 VarCnfHistlObjectDependency entities.
-
getSourceCodeIfPresent
@Nonnull public io.vavr.control.Option<List<VarCnfObjDependencySourceCode>> getSourceCodeIfPresent()Retrieval of associated VarCnfObjDependencySourceCode entities (one to many). This corresponds to the OData navigation property _SourceCode.If the navigation property for an entity VarConfignObjectDependency 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 _SourceCode is already loaded, the result will contain
the VarCnfObjDependencySourceCode entities. If not, an
Optionwith result stateemptyis returned.
-
setSourceCode
Overwrites the list of associated VarCnfObjDependencySourceCode entities for the loaded navigation property _SourceCode.If the navigation property _SourceCode of a queried VarConfignObjectDependency 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 VarCnfObjDependencySourceCode entities.
-
addSourceCode
Adds elements to the list of associated VarCnfObjDependencySourceCode entities. This corresponds to the OData navigation property _SourceCode.If the navigation property _SourceCode of a queried VarConfignObjectDependency 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 VarCnfObjDependencySourceCode entities.
-
getTextIfPresent
Retrieval of associated VarCnfObjectDependencyText entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity VarConfignObjectDependency 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 _Text is already loaded, the result will contain the
VarCnfObjectDependencyText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated VarCnfObjectDependencyText entities for the loaded navigation property _Text.If the navigation property _Text of a queried VarConfignObjectDependency 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 VarCnfObjectDependencyText entities.
-
addText
Adds elements to the list of associated VarCnfObjectDependencyText entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried VarConfignObjectDependency 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 VarCnfObjectDependencyText entities.
-
builder
-
getObjectDependencyName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ObjectDependencyName
- Returns:
- Name of Dependency
-
getObjectDependencyIsLocal
Constraints: Not nullableOriginal property name from the Odata EDM: ObjectDependencyIsLocal
- Returns:
- Object Dependency Is Local
-
getLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Object Dependency Last Change Datetime
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<VarConfignObjectDependency>
-
equals
- Overrides:
equalsin classVdmEntity<VarConfignObjectDependency>
-
canEqual
- Overrides:
canEqualin classVdmEntity<VarConfignObjectDependency>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<VarConfignObjectDependency>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<VarConfignObjectDependency>
-