Class ProdSubstnGrp
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProdSubstnGrp_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProdSubstnGrp instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<ProdSubstnGrp,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ProdSubstnGrp>Selector for all available fields of ProdSubstnGrp.static final SimpleProperty.String<ProdSubstnGrp>static final SimpleProperty.DateTime<ProdSubstnGrp>static final SimpleProperty.DateTime<ProdSubstnGrp>static final SimpleProperty.String<ProdSubstnGrp>static final SimpleProperty.String<ProdSubstnGrp>static final SimpleProperty.String<ProdSubstnGrp>static final SimpleProperty.String<ProdSubstnGrp>static final NavigationProperty.Collection<ProdSubstnGrp,ProdSubstnGrpTxt> 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
ConstructorsConstructorDescriptionProdSubstnGrp(String mDSubstnObjectType, String mDSubstnGroup, String mDSubstnStatus, String createdByUser, OffsetDateTime creationDateTime, String lastChangedByUser, OffsetDateTime lastChangeDateTime, Collection<SAP__Message> _Messages, List<ProdSubstnGrpTxt> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddText(ProdSubstnGrpTxt... entity) Adds elements to the list of associated ProdSubstnGrpTxt entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: 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: 20(Key Field) Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<ProdSubstnGrpTxt>>Retrieval of associated ProdSubstnGrpTxt entities (one to many).getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetCreatedByUser(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: 12voidsetMDSubstnGroup(String mDSubstnGroup) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetMDSubstnObjectType(String mDSubstnObjectType) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetMDSubstnStatus(String mDSubstnStatus) Constraints: Not nullable, Maximum length: 1voidsetText(List<ProdSubstnGrpTxt> value) Overwrites the list of associated ProdSubstnGrpTxt 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 ProdSubstnGrp. -
MD_SUBSTN_OBJECT_TYPE
-
MD_SUBSTN_GROUP
-
MD_SUBSTN_STATUS
-
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__TEXT
Use with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
ProdSubstnGrp
public ProdSubstnGrp() -
ProdSubstnGrp
public ProdSubstnGrp(@Nullable String mDSubstnObjectType, @Nullable String mDSubstnGroup, @Nullable String mDSubstnStatus, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable Collection<SAP__Message> _Messages, List<ProdSubstnGrpTxt> to_Text)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProdSubstnGrp>
-
setMDSubstnObjectType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: MDSubstnObjectType
- Parameters:
mDSubstnObjectType- SAP Object Type
-
setMDSubstnGroup
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MDSubstnGroup
- Parameters:
mDSubstnGroup- Group Name
-
setMDSubstnStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MDSubstnStatus
- Parameters:
mDSubstnStatus- Group Status
-
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<ProdSubstnGrp>
-
getKey
- Overrides:
getKeyin classVdmObject<ProdSubstnGrp>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProdSubstnGrp>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProdSubstnGrp>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProdSubstnGrp>
-
getTextIfPresent
Retrieval of associated ProdSubstnGrpTxt entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity ProdSubstnGrp 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
ProdSubstnGrpTxt entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated ProdSubstnGrpTxt entities for the loaded navigation property _Text.If the navigation property _Text of a queried ProdSubstnGrp 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 ProdSubstnGrpTxt entities.
-
addText
Adds elements to the list of associated ProdSubstnGrpTxt entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried ProdSubstnGrp 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 ProdSubstnGrpTxt entities.
-
builder
-
getMDSubstnObjectType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: MDSubstnObjectType
- Returns:
- SAP Object Type
-
getMDSubstnGroup
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MDSubstnGroup
- Returns:
- Group Name
-
getMDSubstnStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MDSubstnStatus
- Returns:
- Group Status
-
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<ProdSubstnGrp>
-
equals
- Overrides:
equalsin classVdmEntity<ProdSubstnGrp>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProdSubstnGrp>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProdSubstnGrp>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProdSubstnGrp>
-