Class SrcgProjItemDmndConfCodeTxt
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SrcgProjItemDmndConfCodeTxt>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.sourcingprojectdemandconfirmationcode.SrcgProjItemDmndConfCodeTxt
- All Implemented Interfaces:
VdmEntitySet
public class SrcgProjItemDmndConfCodeTxt
extends VdmEntity<SrcgProjItemDmndConfCodeTxt>
implements VdmEntitySet
Demand Confirmation - Text
Original entity name from the Odata EDM: SrcgProjItemDmndConfCodeTxtType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjItemDmndConfCodeTxt instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjItemDmndConfCodeTxt>Selector for all available fields of SrcgProjItemDmndConfCodeTxt.static final SimpleProperty.String<SrcgProjItemDmndConfCodeTxt>static final SimpleProperty.String<SrcgProjItemDmndConfCodeTxt>static final SimpleProperty.String<SrcgProjItemDmndConfCodeTxt>Use with available request builders to apply the _SrcgProjItemDemandConfCode 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
ConstructorsConstructorDescriptionSrcgProjItemDmndConfCodeTxt(String srcgProjItemDemandConfCode, String language, String srcgProjItemDemandConfCodeName, SrcgProjItemDemandConfCode to_SrcgProjItemDemandConfCode) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<SrcgProjItemDemandConfCode>Retrieval of associated SrcgProjItemDemandConfCode entity (one to one).Constraints: Not nullable, Maximum length: 60getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SrcgProjItemDemandConfCode entity for the loaded navigation property _SrcgProjItemDemandConfCode.voidsetSrcgProjItemDemandConfCode(String srcgProjItemDemandConfCode) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjItemDemandConfCodeName(String srcgProjItemDemandConfCodeName) Constraints: Not nullable, Maximum length: 60toString()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 SrcgProjItemDmndConfCodeTxt. -
SRCG_PROJ_ITEM_DEMAND_CONF_CODE
public static final SimpleProperty.String<SrcgProjItemDmndConfCodeTxt> SRCG_PROJ_ITEM_DEMAND_CONF_CODE -
LANGUAGE
-
SRCG_PROJ_ITEM_DEMAND_CONF_CODE_NAME
public static final SimpleProperty.String<SrcgProjItemDmndConfCodeTxt> SRCG_PROJ_ITEM_DEMAND_CONF_CODE_NAME -
TO__SRCG_PROJ_ITEM_DEMAND_CONF_CODE
public static final NavigationProperty.Single<SrcgProjItemDmndConfCodeTxt,SrcgProjItemDemandConfCode> TO__SRCG_PROJ_ITEM_DEMAND_CONF_CODEUse with available request builders to apply the _SrcgProjItemDemandConfCode navigation property to query operations.
-
-
Constructor Details
-
SrcgProjItemDmndConfCodeTxt
public SrcgProjItemDmndConfCodeTxt() -
SrcgProjItemDmndConfCodeTxt
public SrcgProjItemDmndConfCodeTxt(@Nullable String srcgProjItemDemandConfCode, @Nullable String language, @Nullable String srcgProjItemDemandConfCodeName, @Nullable SrcgProjItemDemandConfCode to_SrcgProjItemDemandConfCode)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjItemDmndConfCodeTxt>
-
setSrcgProjItemDemandConfCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjItemDemandConfCode
- Parameters:
srcgProjItemDemandConfCode- Demand is Confirmed
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setSrcgProjItemDemandConfCodeName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SrcgProjItemDemandConfCodeName
- Parameters:
srcgProjItemDemandConfCodeName- Short Text for Fixed Values
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjItemDmndConfCodeTxt>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjItemDmndConfCodeTxt>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjItemDmndConfCodeTxt>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjItemDmndConfCodeTxt>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjItemDmndConfCodeTxt>
-
getSrcgProjItemDemandConfCodeIfPresent
@Nonnull public io.vavr.control.Option<SrcgProjItemDemandConfCode> getSrcgProjItemDemandConfCodeIfPresent()Retrieval of associated SrcgProjItemDemandConfCode entity (one to one). This corresponds to the OData navigation property _SrcgProjItemDemandConfCode.If the navigation property for an entity SrcgProjItemDmndConfCodeTxt 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 _SrcgProjItemDemandConfCode is already loaded, the
result will contain the SrcgProjItemDemandConfCode entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjItemDemandConfCode
Overwrites the associated SrcgProjItemDemandConfCode entity for the loaded navigation property _SrcgProjItemDemandConfCode.- Parameters:
value- New SrcgProjItemDemandConfCode entity.
-
builder
-
getSrcgProjItemDemandConfCode
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SrcgProjItemDemandConfCode
- Returns:
- Demand is Confirmed
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSrcgProjItemDemandConfCodeName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SrcgProjItemDemandConfCodeName
- Returns:
- Short Text for Fixed Values
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjItemDmndConfCodeTxt>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjItemDmndConfCodeTxt>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjItemDmndConfCodeTxt>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjItemDmndConfCodeTxt>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjItemDmndConfCodeTxt>
-