Class ProjectDemandCategoryText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProjectDemandCategoryText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.projectdemandcategoryandtype.ProjectDemandCategoryText
- All Implemented Interfaces:
VdmEntitySet
public class ProjectDemandCategoryText
extends VdmEntity<ProjectDemandCategoryText>
implements VdmEntitySet
Demand Category Description
Original entity name from the Odata EDM: ProjectDemandCategoryText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectDemandCategoryText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProjectDemandCategoryText>Selector for all available fields of ProjectDemandCategoryText.static final SimpleProperty.String<ProjectDemandCategoryText>static final SimpleProperty.String<ProjectDemandCategoryText>static final SimpleProperty.String<ProjectDemandCategoryText>Use with available request builders to apply the _ProjectDemandCategory 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
ConstructorsConstructorDescriptionProjectDemandCategoryText(String language, String projectDemandCategory, String projectDemandCategoryName, ProjectDemandCategory to_ProjectDemandCategory) -
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<ProjectDemandCategory>Retrieval of associated ProjectDemandCategory entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated ProjectDemandCategory entity for the loaded navigation property _ProjectDemandCategory.voidsetProjectDemandCategory(String projectDemandCategory) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProjectDemandCategoryName(String projectDemandCategoryName) 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 ProjectDemandCategoryText. -
LANGUAGE
-
PROJECT_DEMAND_CATEGORY
-
PROJECT_DEMAND_CATEGORY_NAME
-
TO__PROJECT_DEMAND_CATEGORY
public static final NavigationProperty.Single<ProjectDemandCategoryText,ProjectDemandCategory> TO__PROJECT_DEMAND_CATEGORYUse with available request builders to apply the _ProjectDemandCategory navigation property to query operations.
-
-
Constructor Details
-
ProjectDemandCategoryText
public ProjectDemandCategoryText() -
ProjectDemandCategoryText
public ProjectDemandCategoryText(@Nullable String language, @Nullable String projectDemandCategory, @Nullable String projectDemandCategoryName, @Nullable ProjectDemandCategory to_ProjectDemandCategory)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectDemandCategoryText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProjectDemandCategory
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProjectDemandCategory
- Parameters:
projectDemandCategory- Project Demand Category
-
setProjectDemandCategoryName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectDemandCategoryName
- Parameters:
projectDemandCategoryName- Name of the Demand Category
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjectDemandCategoryText>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectDemandCategoryText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectDemandCategoryText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectDemandCategoryText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectDemandCategoryText>
-
getProjectDemandCategoryIfPresent
Retrieval of associated ProjectDemandCategory entity (one to one). This corresponds to the OData navigation property _ProjectDemandCategory.If the navigation property for an entity ProjectDemandCategoryText 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 _ProjectDemandCategory is already loaded, the result
will contain the ProjectDemandCategory entity. If not, an
Optionwith result stateemptyis returned.
-
setProjectDemandCategory
Overwrites the associated ProjectDemandCategory entity for the loaded navigation property _ProjectDemandCategory.- Parameters:
value- New ProjectDemandCategory entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProjectDemandCategory
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProjectDemandCategory
- Returns:
- Project Demand Category
-
getProjectDemandCategoryName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectDemandCategoryName
- Returns:
- Name of the Demand Category
-
toString
- Overrides:
toStringin classVdmObject<ProjectDemandCategoryText>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectDemandCategoryText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectDemandCategoryText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectDemandCategoryText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjectDemandCategoryText>
-