public class ProjectProfileCodeText extends VdmEntity<ProjectProfileCodeText>
Original entity name from the Odata EDM: ProjectProfileCodeTextType
Modifier and Type | Class and Description |
---|---|
static class |
ProjectProfileCodeText.ProjectProfileCodeTextBuilder
Helper class to allow for fluent creation of ProjectProfileCodeText instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<ProjectProfileCodeText> |
ALL_FIELDS
Selector for all available fields of ProjectProfileCodeText.
|
static SimpleProperty.String<ProjectProfileCodeText> |
LANGUAGE |
static SimpleProperty.String<ProjectProfileCodeText> |
PROJECT_PROFILE_CODE |
static SimpleProperty.String<ProjectProfileCodeText> |
PROJECT_PROFILE_CODE_TEXT |
static NavigationProperty.Single<ProjectProfileCodeText,ProjectProfileCode> |
TO__PROJECT_PROFILE_CODE
Use with available request builders to apply the _ProjectProfileCode navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ProjectProfileCodeText() |
ProjectProfileCodeText(String language,
String projectProfileCode,
String projectProfileCodeText,
ProjectProfileCode to_ProjectProfileCode) |
Modifier and Type | Method and Description |
---|---|
static ProjectProfileCodeText.ProjectProfileCodeTextBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
protected ODataEntityKey |
getKey() |
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getOdataType() |
String |
getProjectProfileCode()
(Key Field) Constraints: Not nullable, Maximum length: 7
|
io.vavr.control.Option<ProjectProfileCode> |
getProjectProfileCodeIfPresent()
Retrieval of associated ProjectProfileCode entity (one to one).
|
String |
getProjectProfileCodeText()
Constraints: Not nullable, Maximum length: 40
|
Class<ProjectProfileCodeText> |
getType() |
int |
hashCode() |
void |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setProjectProfileCode(ProjectProfileCode value)
Overwrites the associated ProjectProfileCode entity for the loaded navigation property
_ProjectProfileCode.
|
void |
setProjectProfileCode(String projectProfileCode)
(Key Field) Constraints: Not nullable, Maximum length: 7
|
void |
setProjectProfileCodeText(String projectProfileCodeText)
Constraints: Not nullable, Maximum length: 40
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<ProjectProfileCodeText> ALL_FIELDS
public static final SimpleProperty.String<ProjectProfileCodeText> LANGUAGE
public static final SimpleProperty.String<ProjectProfileCodeText> PROJECT_PROFILE_CODE
public static final SimpleProperty.String<ProjectProfileCodeText> PROJECT_PROFILE_CODE_TEXT
public static final NavigationProperty.Single<ProjectProfileCodeText,ProjectProfileCode> TO__PROJECT_PROFILE_CODE
@Nonnull public Class<ProjectProfileCodeText> getType()
getType
in class VdmObject<ProjectProfileCodeText>
public void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Keypublic void setProjectProfileCode(@Nullable String projectProfileCode)
Original property name from the Odata EDM: ProjectProfileCode
projectProfileCode
- Project Profilepublic void setProjectProfileCodeText(@Nullable String projectProfileCodeText)
Original property name from the Odata EDM: ProjectProfileCodeText
projectProfileCodeText
- Text for Profileprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProjectProfileCodeText>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ProjectProfileCodeText>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ProjectProfileCodeText>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ProjectProfileCodeText>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProjectProfileCodeText>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ProjectProfileCodeText>
@Nonnull public io.vavr.control.Option<ProjectProfileCode> getProjectProfileCodeIfPresent()
If the navigation property for an entity ProjectProfileCodeText has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setProjectProfileCode(ProjectProfileCode value)
value
- New ProjectProfileCode entity.@Nonnull public static ProjectProfileCodeText.ProjectProfileCodeTextBuilder builder()
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getProjectProfileCode()
Original property name from the Odata EDM: ProjectProfileCode
@Nullable public String getProjectProfileCodeText()
Original property name from the Odata EDM: ProjectProfileCodeText
@Nonnull public String toString()
toString
in class VdmObject<ProjectProfileCodeText>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ProjectProfileCodeText>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ProjectProfileCodeText>
public int hashCode()
hashCode
in class VdmEntity<ProjectProfileCodeText>
public String getOdataType()
getOdataType
in class VdmObject<ProjectProfileCodeText>
Copyright © 2021 SAP SE. All rights reserved.