Class ProdSubstnGrpTxt
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProdSubstnGrpTxt_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProdSubstnGrpTxt instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProdSubstnGrpTxt>Selector for all available fields of ProdSubstnGrpTxt.static final SimpleProperty.String<ProdSubstnGrpTxt>static final SimpleProperty.String<ProdSubstnGrpTxt>static final SimpleProperty.String<ProdSubstnGrpTxt>static final SimpleProperty.String<ProdSubstnGrpTxt>static final NavigationProperty.Single<ProdSubstnGrpTxt,ProdSubstnGrp> Use with available request builders to apply the _Group 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
ConstructorsConstructorDescriptionProdSubstnGrpTxt(String language, String mDSubstnObjectType, String mDSubstnGroup, String mDSubstnGroupDescription, ProdSubstnGrp to_Group) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<ProdSubstnGrp>Retrieval of associated ProdSubstnGrp entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 60(Key Field) Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidsetGroup(ProdSubstnGrp value) Overwrites the associated ProdSubstnGrp entity for the loaded navigation property _Group.voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetMDSubstnGroup(String mDSubstnGroup) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetMDSubstnGroupDescription(String mDSubstnGroupDescription) Constraints: Not nullable, Maximum length: 60voidsetMDSubstnObjectType(String mDSubstnObjectType) (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 ProdSubstnGrpTxt. -
LANGUAGE
-
MD_SUBSTN_OBJECT_TYPE
-
MD_SUBSTN_GROUP
-
MD_SUBSTN_GROUP_DESCRIPTION
-
TO__GROUP
Use with available request builders to apply the _Group navigation property to query operations.
-
-
Constructor Details
-
ProdSubstnGrpTxt
public ProdSubstnGrpTxt() -
ProdSubstnGrpTxt
public ProdSubstnGrpTxt(@Nullable String language, @Nullable String mDSubstnObjectType, @Nullable String mDSubstnGroup, @Nullable String mDSubstnGroupDescription, @Nullable ProdSubstnGrp to_Group)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProdSubstnGrpTxt>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language
-
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
-
setMDSubstnGroupDescription
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: MDSubstnGroupDescription
- Parameters:
mDSubstnGroupDescription- Group Description
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProdSubstnGrpTxt>
-
getKey
- Overrides:
getKeyin classVdmObject<ProdSubstnGrpTxt>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProdSubstnGrpTxt>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProdSubstnGrpTxt>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProdSubstnGrpTxt>
-
getGroupIfPresent
Retrieval of associated ProdSubstnGrp entity (one to one). This corresponds to the OData navigation property _Group.If the navigation property for an entity ProdSubstnGrpTxt 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 _Group is already loaded, the result will contain the
ProdSubstnGrp entity. If not, an
Optionwith result stateemptyis returned.
-
setGroup
Overwrites the associated ProdSubstnGrp entity for the loaded navigation property _Group.- Parameters:
value- New ProdSubstnGrp entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language
-
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
-
getMDSubstnGroupDescription
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: MDSubstnGroupDescription
- Returns:
- Group Description
-
toString
- Overrides:
toStringin classVdmObject<ProdSubstnGrpTxt>
-
equals
- Overrides:
equalsin classVdmEntity<ProdSubstnGrpTxt>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProdSubstnGrpTxt>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProdSubstnGrpTxt>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProdSubstnGrpTxt>
-