Class PlantSubstnGrpTxt
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: PlantSubstnGrpTxt_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PlantSubstnGrpTxt instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<PlantSubstnGrpTxt>Selector for all available fields of PlantSubstnGrpTxt.static final SimpleProperty.String<PlantSubstnGrpTxt>static final SimpleProperty.String<PlantSubstnGrpTxt>static final SimpleProperty.String<PlantSubstnGrpTxt>static final SimpleProperty.String<PlantSubstnGrpTxt>static final NavigationProperty.Single<PlantSubstnGrpTxt,PlantSubstnGrp> 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
ConstructorsConstructorDescriptionPlantSubstnGrpTxt(String language, String mDSubstnObjectType, String mDSubstnGroup, String mDSubstnGroupDescription, PlantSubstnGrp to_Group) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<PlantSubstnGrp>Retrieval of associated PlantSubstnGrp 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(PlantSubstnGrp value) Overwrites the associated PlantSubstnGrp 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 PlantSubstnGrpTxt. -
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
-
PlantSubstnGrpTxt
public PlantSubstnGrpTxt() -
PlantSubstnGrpTxt
public PlantSubstnGrpTxt(@Nullable String language, @Nullable String mDSubstnObjectType, @Nullable String mDSubstnGroup, @Nullable String mDSubstnGroupDescription, @Nullable PlantSubstnGrp to_Group)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PlantSubstnGrpTxt>
-
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<PlantSubstnGrpTxt>
-
getKey
- Overrides:
getKeyin classVdmObject<PlantSubstnGrpTxt>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PlantSubstnGrpTxt>
-
fromMap
- Overrides:
fromMapin classVdmObject<PlantSubstnGrpTxt>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PlantSubstnGrpTxt>
-
getGroupIfPresent
Retrieval of associated PlantSubstnGrp entity (one to one). This corresponds to the OData navigation property _Group.If the navigation property for an entity PlantSubstnGrpTxt 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
PlantSubstnGrp entity. If not, an
Optionwith result stateemptyis returned.
-
setGroup
Overwrites the associated PlantSubstnGrp entity for the loaded navigation property _Group.- Parameters:
value- New PlantSubstnGrp 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<PlantSubstnGrpTxt>
-
equals
- Overrides:
equalsin classVdmEntity<PlantSubstnGrpTxt>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PlantSubstnGrpTxt>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PlantSubstnGrpTxt>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PlantSubstnGrpTxt>
-