public class EntProjectTypeText extends VdmEntity<EntProjectTypeText>
Original entity name from the Odata EDM: EntProjectTypeTextType
Modifier and Type | Class and Description |
---|---|
static class |
EntProjectTypeText.EntProjectTypeTextBuilder
Helper class to allow for fluent creation of EntProjectTypeText instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<EntProjectTypeText> |
ALL_FIELDS
Selector for all available fields of EntProjectTypeText.
|
static SimpleProperty.String<EntProjectTypeText> |
ENT_PROJECT_TYPE_INTERNAL |
static SimpleProperty.String<EntProjectTypeText> |
LANGUAGE |
static SimpleProperty.String<EntProjectTypeText> |
PROJECT_TYPE_NAME |
static NavigationProperty.Single<EntProjectTypeText,EntProjectType> |
TO__PROJECT_TYPE
Use with available request builders to apply the _ProjectType navigation property to query operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
EntProjectTypeText() |
EntProjectTypeText(String language,
String entProjectTypeInternal,
String projectTypeName,
EntProjectType to_ProjectType) |
Modifier and Type | Method and Description |
---|---|
static EntProjectTypeText.EntProjectTypeTextBuilder |
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.
|
String |
getEntProjectTypeInternal()
(Key Field) Constraints: Not nullable, Maximum length: 15
|
protected ODataEntityKey |
getKey() |
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getOdataType() |
io.vavr.control.Option<EntProjectType> |
getProjectTypeIfPresent()
Retrieval of associated EntProjectType entity (one to one).
|
String |
getProjectTypeName()
Constraints: Not nullable, Maximum length: 40
|
Class<EntProjectTypeText> |
getType() |
int |
hashCode() |
void |
setEntProjectTypeInternal(String entProjectTypeInternal)
(Key Field) Constraints: Not nullable, Maximum length: 15
|
void |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setProjectType(EntProjectType value)
Overwrites the associated EntProjectType entity for the loaded navigation property _ProjectType.
|
void |
setProjectTypeName(String projectTypeName)
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<EntProjectTypeText> ALL_FIELDS
public static final SimpleProperty.String<EntProjectTypeText> LANGUAGE
public static final SimpleProperty.String<EntProjectTypeText> ENT_PROJECT_TYPE_INTERNAL
public static final SimpleProperty.String<EntProjectTypeText> PROJECT_TYPE_NAME
public static final NavigationProperty.Single<EntProjectTypeText,EntProjectType> TO__PROJECT_TYPE
@Nonnull public Class<EntProjectTypeText> getType()
getType
in class VdmObject<EntProjectTypeText>
public void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Keypublic void setEntProjectTypeInternal(@Nullable String entProjectTypeInternal)
Original property name from the Odata EDM: EntProjectTypeInternal
entProjectTypeInternal
- Project Typepublic void setProjectTypeName(@Nullable String projectTypeName)
Original property name from the Odata EDM: ProjectTypeName
projectTypeName
- Short Text for Typeprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<EntProjectTypeText>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<EntProjectTypeText>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<EntProjectTypeText>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<EntProjectTypeText>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<EntProjectTypeText>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<EntProjectTypeText>
@Nonnull public io.vavr.control.Option<EntProjectType> getProjectTypeIfPresent()
If the navigation property for an entity EntProjectTypeText 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 setProjectType(EntProjectType value)
value
- New EntProjectType entity.@Nonnull public static EntProjectTypeText.EntProjectTypeTextBuilder builder()
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getEntProjectTypeInternal()
Original property name from the Odata EDM: EntProjectTypeInternal
@Nullable public String getProjectTypeName()
Original property name from the Odata EDM: ProjectTypeName
@Nonnull public String toString()
toString
in class VdmObject<EntProjectTypeText>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<EntProjectTypeText>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<EntProjectTypeText>
public int hashCode()
hashCode
in class VdmEntity<EntProjectTypeText>
public String getOdataType()
getOdataType
in class VdmObject<EntProjectTypeText>
Copyright © 2021 SAP SE. All rights reserved.