Class VarCnfObjDependencySourceCode
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: VarCnfObjDependencySourceCode_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of VarCnfObjDependencySourceCode instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<VarCnfObjDependencySourceCode>Selector for all available fields of VarCnfObjDependencySourceCode.static final SimpleProperty.String<VarCnfObjDependencySourceCode>static final SimpleProperty.Boolean<VarCnfObjDependencySourceCode>static final SimpleProperty.String<VarCnfObjDependencySourceCode>Use with available request builders to apply the _ObjectDependency navigation property to query operations.static final NavigationProperty.Collection<VarCnfObjDependencySourceCode,VarCnfObjDpndcySourceCodeLine> Use with available request builders to apply the _SourceCodeLine navigation property to query operations.static final SimpleProperty.Date<VarCnfObjDependencySourceCode>static final SimpleProperty.Date<VarCnfObjDependencySourceCode>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionVarCnfObjDependencySourceCode(String objectDependencyName, String changeNumber, LocalDate validityStartDate, LocalDate validityEndDate, Boolean isDeleted, VarConfignObjectDependency to_ObjectDependency, List<VarCnfObjDpndcySourceCodeLine> to_SourceCodeLine) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSourceCodeLine(VarCnfObjDpndcySourceCodeLine... entity) Adds elements to the list of associated VarCnfObjDpndcySourceCodeLine entities.builder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 12protected Stringprotected StringConstraints: Not nullableprotected ODataEntityKeygetKey()io.vavr.control.Option<VarConfignObjectDependency>Retrieval of associated VarConfignObjectDependency entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<List<VarCnfObjDpndcySourceCodeLine>>Retrieval of associated VarCnfObjDpndcySourceCodeLine entities (one to many).getType()Constraints: NullableConstraints: NullableinthashCode()voidsetChangeNumber(String changeNumber) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetIsDeleted(Boolean isDeleted) Constraints: Not nullablevoidOverwrites the associated VarConfignObjectDependency entity for the loaded navigation property _ObjectDependency.voidsetObjectDependencyName(String objectDependencyName) (Key Field) Constraints: Not nullable, Maximum length: 30voidOverwrites the list of associated VarCnfObjDpndcySourceCodeLine entities for the loaded navigation property _SourceCodeLine.voidsetValidityEndDate(LocalDate validityEndDate) Constraints: NullablevoidsetValidityStartDate(LocalDate validityStartDate) Constraints: NullabletoString()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 VarCnfObjDependencySourceCode. -
OBJECT_DEPENDENCY_NAME
-
CHANGE_NUMBER
-
VALIDITY_START_DATE
-
VALIDITY_END_DATE
-
IS_DELETED
-
TO__OBJECT_DEPENDENCY
public static final NavigationProperty.Single<VarCnfObjDependencySourceCode,VarConfignObjectDependency> TO__OBJECT_DEPENDENCYUse with available request builders to apply the _ObjectDependency navigation property to query operations. -
TO__SOURCE_CODE_LINE
public static final NavigationProperty.Collection<VarCnfObjDependencySourceCode,VarCnfObjDpndcySourceCodeLine> TO__SOURCE_CODE_LINEUse with available request builders to apply the _SourceCodeLine navigation property to query operations.
-
-
Constructor Details
-
VarCnfObjDependencySourceCode
public VarCnfObjDependencySourceCode() -
VarCnfObjDependencySourceCode
public VarCnfObjDependencySourceCode(@Nullable String objectDependencyName, @Nullable String changeNumber, @Nullable LocalDate validityStartDate, @Nullable LocalDate validityEndDate, @Nullable Boolean isDeleted, @Nullable VarConfignObjectDependency to_ObjectDependency, List<VarCnfObjDpndcySourceCodeLine> to_SourceCodeLine)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<VarCnfObjDependencySourceCode>
-
setObjectDependencyName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ObjectDependencyName
- Parameters:
objectDependencyName- Name of Dependency
-
setChangeNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChangeNumber
- Parameters:
changeNumber- Change Number
-
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
-
setIsDeleted
Constraints: Not nullableOriginal property name from the Odata EDM: IsDeleted
- Parameters:
isDeleted- Deletion Indicator
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<VarCnfObjDependencySourceCode>
-
getKey
- Overrides:
getKeyin classVdmObject<VarCnfObjDependencySourceCode>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<VarCnfObjDependencySourceCode>
-
fromMap
- Overrides:
fromMapin classVdmObject<VarCnfObjDependencySourceCode>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<VarCnfObjDependencySourceCode>
-
getObjectDependencyIfPresent
Retrieval of associated VarConfignObjectDependency entity (one to one). This corresponds to the OData navigation property _ObjectDependency.If the navigation property for an entity VarCnfObjDependencySourceCode 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.
-
getSourceCodeLineIfPresent
@Nonnull public io.vavr.control.Option<List<VarCnfObjDpndcySourceCodeLine>> getSourceCodeLineIfPresent()Retrieval of associated VarCnfObjDpndcySourceCodeLine entities (one to many). This corresponds to the OData navigation property _SourceCodeLine.If the navigation property for an entity VarCnfObjDependencySourceCode 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 _SourceCodeLine is already loaded, the result will
contain the VarCnfObjDpndcySourceCodeLine entities. If not, an
Optionwith result stateemptyis returned.
-
setSourceCodeLine
Overwrites the list of associated VarCnfObjDpndcySourceCodeLine entities for the loaded navigation property _SourceCodeLine.If the navigation property _SourceCodeLine of a queried VarCnfObjDependencySourceCode 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 VarCnfObjDpndcySourceCodeLine entities.
-
addSourceCodeLine
Adds elements to the list of associated VarCnfObjDpndcySourceCodeLine entities. This corresponds to the OData navigation property _SourceCodeLine.If the navigation property _SourceCodeLine of a queried VarCnfObjDependencySourceCode 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 VarCnfObjDpndcySourceCodeLine entities.
-
builder
-
getObjectDependencyName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ObjectDependencyName
- Returns:
- Name of Dependency
-
getChangeNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChangeNumber
- Returns:
- Change Number
-
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
-
getIsDeleted
Constraints: Not nullableOriginal property name from the Odata EDM: IsDeleted
- Returns:
- Deletion Indicator
-
toString
- Overrides:
toStringin classVdmObject<VarCnfObjDependencySourceCode>
-
equals
- Overrides:
equalsin classVdmEntity<VarCnfObjDependencySourceCode>
-
canEqual
- Overrides:
canEqualin classVdmEntity<VarCnfObjDependencySourceCode>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<VarCnfObjDependencySourceCode>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<VarCnfObjDependencySourceCode>
-