Class VariantConfigurationProfile
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: VariantConfigurationProfile_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of VariantConfigurationProfile instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<VariantConfigurationProfile>Selector for all available fields of VariantConfigurationProfile.static final SimpleProperty.DateTime<VariantConfigurationProfile>static final SimpleProperty.String<VariantConfigurationProfile>Use with available request builders to apply the _HistoricalProfile navigation property to query operations.static final SimpleProperty.String<VariantConfigurationProfile>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionVariantConfigurationProfile(String product, String varConfigurationProfileName, OffsetDateTime lastChangeDateTime, Collection<SAP__Message> _Messages, List<VarCnfHistoricalProfile> to_HistoricalProfile) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHistoricalProfile(VarCnfHistoricalProfile... entity) Adds elements to the list of associated VarCnfHistoricalProfile entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected Stringio.vavr.control.Option<List<VarCnfHistoricalProfile>>Retrieval of associated VarCnfHistoricalProfile entities (one to many).protected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7(Key Field) Constraints: Not nullable, Maximum length: 18getType()(Key Field) Constraints: Not nullable, Maximum length: 30inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidOverwrites the list of associated VarCnfHistoricalProfile entities for the loaded navigation property _HistoricalProfile.voidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetVarConfigurationProfileName(String varConfigurationProfileName) (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 VariantConfigurationProfile. -
PRODUCT
-
VAR_CONFIGURATION_PROFILE_NAME
public static final SimpleProperty.String<VariantConfigurationProfile> VAR_CONFIGURATION_PROFILE_NAME -
LAST_CHANGE_DATE_TIME
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__HISTORICAL_PROFILE
public static final NavigationProperty.Collection<VariantConfigurationProfile,VarCnfHistoricalProfile> TO__HISTORICAL_PROFILEUse with available request builders to apply the _HistoricalProfile navigation property to query operations.
-
-
Constructor Details
-
VariantConfigurationProfile
public VariantConfigurationProfile() -
VariantConfigurationProfile
public VariantConfigurationProfile(@Nullable String product, @Nullable String varConfigurationProfileName, @Nullable OffsetDateTime lastChangeDateTime, @Nullable Collection<SAP__Message> _Messages, List<VarCnfHistoricalProfile> to_HistoricalProfile)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<VariantConfigurationProfile>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setVarConfigurationProfileName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: VarConfigurationProfileName
- Parameters:
varConfigurationProfileName- Configuration Profile Name
-
setLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<VariantConfigurationProfile>
-
getKey
- Overrides:
getKeyin classVdmObject<VariantConfigurationProfile>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<VariantConfigurationProfile>
-
fromMap
- Overrides:
fromMapin classVdmObject<VariantConfigurationProfile>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<VariantConfigurationProfile>
-
getHistoricalProfileIfPresent
@Nonnull public io.vavr.control.Option<List<VarCnfHistoricalProfile>> getHistoricalProfileIfPresent()Retrieval of associated VarCnfHistoricalProfile entities (one to many). This corresponds to the OData navigation property _HistoricalProfile.If the navigation property for an entity VariantConfigurationProfile 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 _HistoricalProfile is already loaded, the result will
contain the VarCnfHistoricalProfile entities. If not, an
Optionwith result stateemptyis returned.
-
setHistoricalProfile
Overwrites the list of associated VarCnfHistoricalProfile entities for the loaded navigation property _HistoricalProfile.If the navigation property _HistoricalProfile of a queried VariantConfigurationProfile 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 VarCnfHistoricalProfile entities.
-
addHistoricalProfile
Adds elements to the list of associated VarCnfHistoricalProfile entities. This corresponds to the OData navigation property _HistoricalProfile.If the navigation property _HistoricalProfile of a queried VariantConfigurationProfile 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 VarCnfHistoricalProfile entities.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getVarConfigurationProfileName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: VarConfigurationProfileName
- Returns:
- Configuration Profile Name
-
getLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<VariantConfigurationProfile>
-
equals
- Overrides:
equalsin classVdmEntity<VariantConfigurationProfile>
-
canEqual
- Overrides:
canEqualin classVdmEntity<VariantConfigurationProfile>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<VariantConfigurationProfile>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<VariantConfigurationProfile>
-