Class ProdSubstnCtrl
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProdSubstnCtrl_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProdSubstnCtrl instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<ProdSubstnCtrl,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ProdSubstnCtrl>Selector for all available fields of ProdSubstnCtrl.static final SimpleProperty.String<ProdSubstnCtrl>static final SimpleProperty.DateTime<ProdSubstnCtrl>static final SimpleProperty.DateTime<ProdSubstnCtrl>static final SimpleProperty.String<ProdSubstnCtrl>static final SimpleProperty.String<ProdSubstnCtrl>static final SimpleProperty.Boolean<ProdSubstnCtrl>static final SimpleProperty.String<ProdSubstnCtrl>static final NavigationProperty.Collection<ProdSubstnCtrl,Prodsubstnctrl_2> Use with available request builders to apply the _ControlGroup navigation property to query operations.static final NavigationProperty.Collection<ProdSubstnCtrl,Prodsubstngrptxtctrl> 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
ConstructorsConstructorDescriptionProdSubstnCtrl(String mDSubstnObjectType, String mDSubstnControl, Boolean mDSubstnHasDefaultGroup, String createdByUser, OffsetDateTime creationDateTime, String lastChangedByUser, OffsetDateTime lastChangeDateTime, Collection<SAP__Message> _Messages, List<Prodsubstnctrl_2> to_ControlGroup, List<Prodsubstngrptxtctrl> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddControlGroup(Prodsubstnctrl_2... entity) Adds elements to the list of associated Prodsubstnctrl_2 entities.voidaddText(Prodsubstngrptxtctrl... entity) Adds elements to the list of associated Prodsubstngrptxtctrl entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableio.vavr.control.Option<List<Prodsubstnctrl_2>>Retrieval of associated Prodsubstnctrl_2 entities (one to many).Constraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 20Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<List<Prodsubstngrptxtctrl>>Retrieval of associated Prodsubstngrptxtctrl entities (one to many).getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetControlGroup(List<Prodsubstnctrl_2> value) Overwrites the list of associated Prodsubstnctrl_2 entities for the loaded navigation property _ControlGroup.voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7voidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetMDSubstnControl(String mDSubstnControl) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetMDSubstnHasDefaultGroup(Boolean mDSubstnHasDefaultGroup) Constraints: Not nullablevoidsetMDSubstnObjectType(String mDSubstnObjectType) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetText(List<Prodsubstngrptxtctrl> value) Overwrites the list of associated Prodsubstngrptxtctrl 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 ProdSubstnCtrl. -
MD_SUBSTN_OBJECT_TYPE
-
MD_SUBSTN_CONTROL
-
MD_SUBSTN_HAS_DEFAULT_GROUP
-
CREATED_BY_USER
-
CREATION_DATE_TIME
-
LAST_CHANGED_BY_USER
-
LAST_CHANGE_DATE_TIME
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__CONTROL_GROUP
public static final NavigationProperty.Collection<ProdSubstnCtrl,Prodsubstnctrl_2> TO__CONTROL_GROUPUse with available request builders to apply the _ControlGroup navigation property to query operations. -
TO__TEXT
Use with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
ProdSubstnCtrl
public ProdSubstnCtrl() -
ProdSubstnCtrl
public ProdSubstnCtrl(@Nullable String mDSubstnObjectType, @Nullable String mDSubstnControl, @Nullable Boolean mDSubstnHasDefaultGroup, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable Collection<SAP__Message> _Messages, List<Prodsubstnctrl_2> to_ControlGroup, List<Prodsubstngrptxtctrl> to_Text)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProdSubstnCtrl>
-
setMDSubstnObjectType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: MDSubstnObjectType
- Parameters:
mDSubstnObjectType- SAP Object Type
-
setMDSubstnControl
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MDSubstnControl
- Parameters:
mDSubstnControl- Substitution Control
-
setMDSubstnHasDefaultGroup
Constraints: Not nullableOriginal property name from the Odata EDM: MDSubstnHasDefaultGroup
- Parameters:
mDSubstnHasDefaultGroup- No Default Substitution Group Indicator
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Created By User
-
setCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Substitution Creation Date
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Last Changed By User
-
setLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Substitution Last Changed Date
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProdSubstnCtrl>
-
getKey
- Overrides:
getKeyin classVdmObject<ProdSubstnCtrl>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProdSubstnCtrl>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProdSubstnCtrl>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProdSubstnCtrl>
-
getControlGroupIfPresent
Retrieval of associated Prodsubstnctrl_2 entities (one to many). This corresponds to the OData navigation property _ControlGroup.If the navigation property for an entity ProdSubstnCtrl 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 _ControlGroup is already loaded, the result will
contain the Prodsubstnctrl_2 entities. If not, an
Optionwith result stateemptyis returned.
-
setControlGroup
Overwrites the list of associated Prodsubstnctrl_2 entities for the loaded navigation property _ControlGroup.If the navigation property _ControlGroup of a queried ProdSubstnCtrl 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 Prodsubstnctrl_2 entities.
-
addControlGroup
Adds elements to the list of associated Prodsubstnctrl_2 entities. This corresponds to the OData navigation property _ControlGroup.If the navigation property _ControlGroup of a queried ProdSubstnCtrl 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 Prodsubstnctrl_2 entities.
-
getTextIfPresent
Retrieval of associated Prodsubstngrptxtctrl entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity ProdSubstnCtrl 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
Prodsubstngrptxtctrl entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated Prodsubstngrptxtctrl entities for the loaded navigation property _Text.If the navigation property _Text of a queried ProdSubstnCtrl 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 Prodsubstngrptxtctrl entities.
-
addText
Adds elements to the list of associated Prodsubstngrptxtctrl entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried ProdSubstnCtrl 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 Prodsubstngrptxtctrl entities.
-
builder
-
getMDSubstnObjectType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: MDSubstnObjectType
- Returns:
- SAP Object Type
-
getMDSubstnControl
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MDSubstnControl
- Returns:
- Substitution Control
-
getMDSubstnHasDefaultGroup
Constraints: Not nullableOriginal property name from the Odata EDM: MDSubstnHasDefaultGroup
- Returns:
- No Default Substitution Group Indicator
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Created By User
-
getCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
- Substitution Creation Date
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Last Changed By User
-
getLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Substitution Last Changed Date
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<ProdSubstnCtrl>
-
equals
- Overrides:
equalsin classVdmEntity<ProdSubstnCtrl>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProdSubstnCtrl>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProdSubstnCtrl>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProdSubstnCtrl>
-