public class EntProjPriorityCodeText extends VdmEntity<EntProjPriorityCodeText>
Original entity name from the Odata EDM: EntProjPriorityCodeTextType
Modifier and Type | Class and Description |
---|---|
static class |
EntProjPriorityCodeText.EntProjPriorityCodeTextBuilder
Helper class to allow for fluent creation of EntProjPriorityCodeText instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<EntProjPriorityCodeText> |
ALL_FIELDS
Selector for all available fields of EntProjPriorityCodeText.
|
static SimpleProperty.String<EntProjPriorityCodeText> |
LANGUAGE |
static SimpleProperty.String<EntProjPriorityCodeText> |
PRIORITY_CODE |
static SimpleProperty.String<EntProjPriorityCodeText> |
PRIORITY_CODE_NAME |
static NavigationProperty.Single<EntProjPriorityCodeText,EntProjPriorityCode> |
TO__PRIORITY_CODE
Use with available request builders to apply the _PriorityCode navigation property to query operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
EntProjPriorityCodeText() |
EntProjPriorityCodeText(String language,
String priorityCode,
String priorityCodeName,
EntProjPriorityCode to_PriorityCode) |
Modifier and Type | Method and Description |
---|---|
static EntProjPriorityCodeText.EntProjPriorityCodeTextBuilder |
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 |
getPriorityCode()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
io.vavr.control.Option<EntProjPriorityCode> |
getPriorityCodeIfPresent()
Retrieval of associated EntProjPriorityCode entity (one to one).
|
String |
getPriorityCodeName()
Constraints: Not nullable, Maximum length: 40
|
Class<EntProjPriorityCodeText> |
getType() |
int |
hashCode() |
void |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setPriorityCode(EntProjPriorityCode value)
Overwrites the associated EntProjPriorityCode entity for the loaded navigation property
_PriorityCode.
|
void |
setPriorityCode(String priorityCode)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setPriorityCodeName(String priorityCodeName)
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<EntProjPriorityCodeText> ALL_FIELDS
public static final SimpleProperty.String<EntProjPriorityCodeText> LANGUAGE
public static final SimpleProperty.String<EntProjPriorityCodeText> PRIORITY_CODE
public static final SimpleProperty.String<EntProjPriorityCodeText> PRIORITY_CODE_NAME
public static final NavigationProperty.Single<EntProjPriorityCodeText,EntProjPriorityCode> TO__PRIORITY_CODE
@Nonnull public Class<EntProjPriorityCodeText> getType()
getType
in class VdmObject<EntProjPriorityCodeText>
public void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Keypublic void setPriorityCode(@Nullable String priorityCode)
Original property name from the Odata EDM: PriorityCode
priorityCode
- The priorityCode to set.public void setPriorityCodeName(@Nullable String priorityCodeName)
Original property name from the Odata EDM: PriorityCodeName
priorityCodeName
- Object Nameprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<EntProjPriorityCodeText>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<EntProjPriorityCodeText>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<EntProjPriorityCodeText>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<EntProjPriorityCodeText>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<EntProjPriorityCodeText>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<EntProjPriorityCodeText>
@Nonnull public io.vavr.control.Option<EntProjPriorityCode> getPriorityCodeIfPresent()
If the navigation property for an entity EntProjPriorityCodeText 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 setPriorityCode(EntProjPriorityCode value)
value
- New EntProjPriorityCode entity.@Nonnull public static EntProjPriorityCodeText.EntProjPriorityCodeTextBuilder builder()
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getPriorityCode()
Original property name from the Odata EDM: PriorityCode
@Nullable public String getPriorityCodeName()
Original property name from the Odata EDM: PriorityCodeName
@Nonnull public String toString()
toString
in class VdmObject<EntProjPriorityCodeText>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<EntProjPriorityCodeText>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<EntProjPriorityCodeText>
public int hashCode()
hashCode
in class VdmEntity<EntProjPriorityCodeText>
public String getOdataType()
getOdataType
in class VdmObject<EntProjPriorityCodeText>
Copyright © 2021 SAP SE. All rights reserved.