public class ProjectProfileCode extends VdmEntity<ProjectProfileCode>
Original entity name from the Odata EDM: ProjectProfileCodeType
Modifier and Type | Class and Description |
---|---|
static class |
ProjectProfileCode.ProjectProfileCodeBuilder
Helper class to allow for fluent creation of ProjectProfileCode instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<ProjectProfileCode> |
ALL_FIELDS
Selector for all available fields of ProjectProfileCode.
|
static SimpleProperty.String<ProjectProfileCode> |
PROJECT_PROFILE_CODE |
static SimpleProperty.String<ProjectProfileCode> |
PROJECT_PROFILE_CODE_TEXT |
static NavigationProperty.Collection<ProjectProfileCode,ProjectProfileCodeText> |
TO__PROJECT_PROFILE_CODE_TEXT
Use with available request builders to apply the _ProjectProfileCodeText navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ProjectProfileCode() |
ProjectProfileCode(String projectProfileCode,
String projectProfileCodeText,
List<ProjectProfileCodeText> to_ProjectProfileCodeText) |
Modifier and Type | Method and Description |
---|---|
void |
addProjectProfileCodeText(ProjectProfileCodeText... entity)
Adds elements to the list of associated ProjectProfileCodeText entities.
|
static ProjectProfileCode.ProjectProfileCodeBuilder |
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 |
getOdataType() |
String |
getProjectProfileCode()
(Key Field) Constraints: Not nullable, Maximum length: 7
|
String |
getProjectProfileCodeText()
Constraints: Not nullable, Maximum length: 40
|
io.vavr.control.Option<List<ProjectProfileCodeText>> |
getProjectProfileCodeTextIfPresent()
Retrieval of associated ProjectProfileCodeText entities (one to many).
|
Class<ProjectProfileCode> |
getType() |
int |
hashCode() |
void |
setProjectProfileCode(String projectProfileCode)
(Key Field) Constraints: Not nullable, Maximum length: 7
|
void |
setProjectProfileCodeText(List<ProjectProfileCodeText> value)
Overwrites the list of associated ProjectProfileCodeText entities for the loaded navigation property
_ProjectProfileCodeText.
|
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<ProjectProfileCode> ALL_FIELDS
public static final SimpleProperty.String<ProjectProfileCode> PROJECT_PROFILE_CODE
public static final SimpleProperty.String<ProjectProfileCode> PROJECT_PROFILE_CODE_TEXT
public static final NavigationProperty.Collection<ProjectProfileCode,ProjectProfileCodeText> TO__PROJECT_PROFILE_CODE_TEXT
@Nonnull public Class<ProjectProfileCode> getType()
getType
in class VdmObject<ProjectProfileCode>
public 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<ProjectProfileCode>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ProjectProfileCode>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ProjectProfileCode>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ProjectProfileCode>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProjectProfileCode>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ProjectProfileCode>
@Nonnull public io.vavr.control.Option<List<ProjectProfileCodeText>> getProjectProfileCodeTextIfPresent()
If the navigation property for an entity ProjectProfileCode 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 setProjectProfileCodeText(@Nonnull List<ProjectProfileCodeText> value)
If the navigation property _ProjectProfileCodeText of a queried ProjectProfileCode is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of ProjectProfileCodeText entities.public void addProjectProfileCodeText(ProjectProfileCodeText... entity)
If the navigation property _ProjectProfileCodeText of a queried ProjectProfileCode is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of ProjectProfileCodeText entities.@Nonnull public static ProjectProfileCode.ProjectProfileCodeBuilder builder()
@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<ProjectProfileCode>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ProjectProfileCode>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ProjectProfileCode>
public int hashCode()
hashCode
in class VdmEntity<ProjectProfileCode>
public String getOdataType()
getOdataType
in class VdmObject<ProjectProfileCode>
Copyright © 2021 SAP SE. All rights reserved.