Class ProjectProfileCodeText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProjectProfileCodeText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.enterpriseprojectprofile.ProjectProfileCodeText
- All Implemented Interfaces:
VdmEntitySet
public class ProjectProfileCodeText
extends VdmEntity<ProjectProfileCodeText>
implements VdmEntitySet
Project Profile Description
Original entity name from the Odata EDM: ProjectProfileCodeTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectProfileCodeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProjectProfileCodeText>Selector for all available fields of ProjectProfileCodeText.static final SimpleProperty.String<ProjectProfileCodeText>static final SimpleProperty.String<ProjectProfileCodeText>static final SimpleProperty.String<ProjectProfileCodeText>Use with available request builders to apply the _ProjectProfileCode 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
ConstructorsConstructorDescriptionProjectProfileCodeText(String language, String projectProfileCode, String projectProfileCodeText, ProjectProfileCode to_ProjectProfileCode) -
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: 7io.vavr.control.Option<ProjectProfileCode>Retrieval of associated ProjectProfileCode entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated ProjectProfileCode entity for the loaded navigation property _ProjectProfileCode.voidsetProjectProfileCode(String projectProfileCode) (Key Field) Constraints: Not nullable, Maximum length: 7voidsetProjectProfileCodeText(String projectProfileCodeText) 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 ProjectProfileCodeText. -
LANGUAGE
-
PROJECT_PROFILE_CODE
-
PROJECT_PROFILE_CODE_TEXT
-
TO__PROJECT_PROFILE_CODE
public static final NavigationProperty.Single<ProjectProfileCodeText,ProjectProfileCode> TO__PROJECT_PROFILE_CODEUse with available request builders to apply the _ProjectProfileCode navigation property to query operations.
-
-
Constructor Details
-
ProjectProfileCodeText
public ProjectProfileCodeText() -
ProjectProfileCodeText
public ProjectProfileCodeText(@Nullable String language, @Nullable String projectProfileCode, @Nullable String projectProfileCodeText, @Nullable ProjectProfileCode to_ProjectProfileCode)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectProfileCodeText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setProjectProfileCode
(Key Field) Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ProjectProfileCode
- Parameters:
projectProfileCode- Project Profile
-
setProjectProfileCodeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectProfileCodeText
- Parameters:
projectProfileCodeText- Text for Profile
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjectProfileCodeText>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectProfileCodeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectProfileCodeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectProfileCodeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectProfileCodeText>
-
getProjectProfileCodeIfPresent
Retrieval of associated ProjectProfileCode entity (one to one). This corresponds to the OData navigation property _ProjectProfileCode.If the navigation property for an entity ProjectProfileCodeText 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 _ProjectProfileCode is already loaded, the result will
contain the ProjectProfileCode entity. If not, an
Optionwith result stateemptyis returned.
-
setProjectProfileCode
Overwrites the associated ProjectProfileCode entity for the loaded navigation property _ProjectProfileCode.- Parameters:
value- New ProjectProfileCode entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getProjectProfileCode
(Key Field) Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ProjectProfileCode
- Returns:
- Project Profile
-
getProjectProfileCodeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectProfileCodeText
- Returns:
- Text for Profile
-
toString
- Overrides:
toStringin classVdmObject<ProjectProfileCodeText>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectProfileCodeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectProfileCodeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectProfileCodeText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjectProfileCodeText>
-