Class ProjectDemandTypeText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProjectDemandTypeText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.projectdemandcategoryandtype.ProjectDemandTypeText
- All Implemented Interfaces:
VdmEntitySet
Demand Type Description
Original entity name from the Odata EDM: ProjectDemandTypeText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectDemandTypeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProjectDemandTypeText>Selector for all available fields of ProjectDemandTypeText.static final SimpleProperty.String<ProjectDemandTypeText>static final SimpleProperty.String<ProjectDemandTypeText>static final SimpleProperty.String<ProjectDemandTypeText>static final NavigationProperty.Single<ProjectDemandTypeText,ProjectDemandType> Use with available request builders to apply the _ProjectDemandType 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
ConstructorsConstructorDescriptionProjectDemandTypeText(String language, String projectDemandType, String projectDemandTypeName, ProjectDemandType to_ProjectDemandType) -
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: 4io.vavr.control.Option<ProjectDemandType>Retrieval of associated ProjectDemandType entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated ProjectDemandType entity for the loaded navigation property _ProjectDemandType.voidsetProjectDemandType(String projectDemandType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetProjectDemandTypeName(String projectDemandTypeName) Constraints: Not nullable, Maximum length: 40toString()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 ProjectDemandTypeText. -
LANGUAGE
-
PROJECT_DEMAND_TYPE
-
PROJECT_DEMAND_TYPE_NAME
-
TO__PROJECT_DEMAND_TYPE
public static final NavigationProperty.Single<ProjectDemandTypeText,ProjectDemandType> TO__PROJECT_DEMAND_TYPEUse with available request builders to apply the _ProjectDemandType navigation property to query operations.
-
-
Constructor Details
-
ProjectDemandTypeText
public ProjectDemandTypeText() -
ProjectDemandTypeText
public ProjectDemandTypeText(@Nullable String language, @Nullable String projectDemandType, @Nullable String projectDemandTypeName, @Nullable ProjectDemandType to_ProjectDemandType)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectDemandTypeText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProjectDemandType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProjectDemandType
- Parameters:
projectDemandType- Project Demand Type
-
setProjectDemandTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectDemandTypeName
- Parameters:
projectDemandTypeName- Name of the Demand Type
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjectDemandTypeText>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectDemandTypeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectDemandTypeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectDemandTypeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectDemandTypeText>
-
getProjectDemandTypeIfPresent
Retrieval of associated ProjectDemandType entity (one to one). This corresponds to the OData navigation property _ProjectDemandType.If the navigation property for an entity ProjectDemandTypeText 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 _ProjectDemandType is already loaded, the result will
contain the ProjectDemandType entity. If not, an
Optionwith result stateemptyis returned.
-
setProjectDemandType
Overwrites the associated ProjectDemandType entity for the loaded navigation property _ProjectDemandType.- Parameters:
value- New ProjectDemandType entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProjectDemandType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProjectDemandType
- Returns:
- Project Demand Type
-
getProjectDemandTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectDemandTypeName
- Returns:
- Name of the Demand Type
-
toString
- Overrides:
toStringin classVdmObject<ProjectDemandTypeText>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectDemandTypeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectDemandTypeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectDemandTypeText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjectDemandTypeText>
-