Class StorageLocationSubstnGrp
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: StorageLocationSubstnGrp_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of StorageLocationSubstnGrp instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<StorageLocationSubstnGrp,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<StorageLocationSubstnGrp>Selector for all available fields of StorageLocationSubstnGrp.static final SimpleProperty.String<StorageLocationSubstnGrp>static final SimpleProperty.DateTime<StorageLocationSubstnGrp>static final SimpleProperty.DateTime<StorageLocationSubstnGrp>static final SimpleProperty.String<StorageLocationSubstnGrp>static final SimpleProperty.String<StorageLocationSubstnGrp>static final SimpleProperty.String<StorageLocationSubstnGrp>static final SimpleProperty.String<StorageLocationSubstnGrp>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
ConstructorsConstructorDescriptionStorageLocationSubstnGrp(String mDSubstnObjectType, String mDSubstnGroup, String mDSubstnStatus, String createdByUser, OffsetDateTime creationDateTime, String lastChangedByUser, OffsetDateTime lastChangeDateTime, Collection<SAP__Message> _Messages, List<StorageLocationSubstnGrpTxt> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddText(StorageLocationSubstnGrpTxt... entity) Adds elements to the list of associated StorageLocationSubstnGrpTxt 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<StorageLocationSubstnGrpTxt>>Retrieval of associated StorageLocationSubstnGrpTxt 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<StorageLocationSubstnGrpTxt> value) Overwrites the list of associated StorageLocationSubstnGrpTxt 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 StorageLocationSubstnGrp. -
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
public static final NavigationProperty.Collection<StorageLocationSubstnGrp,StorageLocationSubstnGrpTxt> TO__TEXTUse with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
StorageLocationSubstnGrp
public StorageLocationSubstnGrp() -
StorageLocationSubstnGrp
public StorageLocationSubstnGrp(@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<StorageLocationSubstnGrpTxt> to_Text)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<StorageLocationSubstnGrp>
-
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<StorageLocationSubstnGrp>
-
getKey
- Overrides:
getKeyin classVdmObject<StorageLocationSubstnGrp>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<StorageLocationSubstnGrp>
-
fromMap
- Overrides:
fromMapin classVdmObject<StorageLocationSubstnGrp>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<StorageLocationSubstnGrp>
-
getTextIfPresent
Retrieval of associated StorageLocationSubstnGrpTxt entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity StorageLocationSubstnGrp 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
StorageLocationSubstnGrpTxt entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated StorageLocationSubstnGrpTxt entities for the loaded navigation property _Text.If the navigation property _Text of a queried StorageLocationSubstnGrp 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 StorageLocationSubstnGrpTxt entities.
-
addText
Adds elements to the list of associated StorageLocationSubstnGrpTxt entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried StorageLocationSubstnGrp 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 StorageLocationSubstnGrpTxt 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<StorageLocationSubstnGrp>
-
equals
- Overrides:
equalsin classVdmEntity<StorageLocationSubstnGrp>
-
canEqual
- Overrides:
canEqualin classVdmEntity<StorageLocationSubstnGrp>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<StorageLocationSubstnGrp>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<StorageLocationSubstnGrp>
-