public class EntProjectType extends VdmEntity<EntProjectType>
Original entity name from the Odata EDM: EntProjectTypeType
Modifier and Type | Class and Description |
---|---|
static class |
EntProjectType.EntProjectTypeBuilder
Helper class to allow for fluent creation of EntProjectType instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<EntProjectType> |
ALL_FIELDS
Selector for all available fields of EntProjectType.
|
static SimpleProperty.String<EntProjectType> |
ENT_PROJECT_TYPE_INTERNAL |
static SimpleProperty.String<EntProjectType> |
PROJECT_CATEGORY |
static SimpleProperty.String<EntProjectType> |
PROJECT_PROFILE_CODE |
static SimpleProperty.String<EntProjectType> |
PROJECT_TYPE_NAME |
static NavigationProperty.Collection<EntProjectType,EntProjectTypeText> |
TO__ENT_PROJECT_TYPE_TEXT
Use with available request builders to apply the _EntProjectTypeText navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
EntProjectType() |
EntProjectType(String entProjectTypeInternal,
String projectCategory,
String projectProfileCode,
String projectTypeName,
List<EntProjectTypeText> to_EntProjectTypeText) |
Modifier and Type | Method and Description |
---|---|
void |
addEntProjectTypeText(EntProjectTypeText... entity)
Adds elements to the list of associated EntProjectTypeText entities.
|
static EntProjectType.EntProjectTypeBuilder |
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
|
io.vavr.control.Option<List<EntProjectTypeText>> |
getEntProjectTypeTextIfPresent()
Retrieval of associated EntProjectTypeText entities (one to many).
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
String |
getProjectCategory()
Constraints: Not nullable, Maximum length: 1
|
String |
getProjectProfileCode()
Constraints: Not nullable, Maximum length: 7
|
String |
getProjectTypeName()
Constraints: Not nullable, Maximum length: 40
|
Class<EntProjectType> |
getType() |
int |
hashCode() |
void |
setEntProjectTypeInternal(String entProjectTypeInternal)
(Key Field) Constraints: Not nullable, Maximum length: 15
|
void |
setEntProjectTypeText(List<EntProjectTypeText> value)
Overwrites the list of associated EntProjectTypeText entities for the loaded navigation property
_EntProjectTypeText.
|
void |
setProjectCategory(String projectCategory)
Constraints: Not nullable, Maximum length: 1
|
void |
setProjectProfileCode(String projectProfileCode)
Constraints: Not nullable, Maximum length: 7
|
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<EntProjectType> ALL_FIELDS
public static final SimpleProperty.String<EntProjectType> ENT_PROJECT_TYPE_INTERNAL
public static final SimpleProperty.String<EntProjectType> PROJECT_CATEGORY
public static final SimpleProperty.String<EntProjectType> PROJECT_PROFILE_CODE
public static final SimpleProperty.String<EntProjectType> PROJECT_TYPE_NAME
public static final NavigationProperty.Collection<EntProjectType,EntProjectTypeText> TO__ENT_PROJECT_TYPE_TEXT
@Nonnull public Class<EntProjectType> getType()
getType
in class VdmObject<EntProjectType>
public void setEntProjectTypeInternal(@Nullable String entProjectTypeInternal)
Original property name from the Odata EDM: EntProjectTypeInternal
entProjectTypeInternal
- Project Typepublic void setProjectCategory(@Nullable String projectCategory)
Original property name from the Odata EDM: ProjectCategory
projectCategory
- Project Categorypublic void setProjectProfileCode(@Nullable String projectProfileCode)
Original property name from the Odata EDM: ProjectProfileCode
projectProfileCode
- Project Profilepublic 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<EntProjectType>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<EntProjectType>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<EntProjectType>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<EntProjectType>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<EntProjectType>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<EntProjectType>
@Nonnull public io.vavr.control.Option<List<EntProjectTypeText>> getEntProjectTypeTextIfPresent()
If the navigation property for an entity EntProjectType 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 setEntProjectTypeText(@Nonnull List<EntProjectTypeText> value)
If the navigation property _EntProjectTypeText of a queried EntProjectType 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 EntProjectTypeText entities.public void addEntProjectTypeText(EntProjectTypeText... entity)
If the navigation property _EntProjectTypeText of a queried EntProjectType 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 EntProjectTypeText entities.@Nonnull public static EntProjectType.EntProjectTypeBuilder builder()
@Nullable public String getEntProjectTypeInternal()
Original property name from the Odata EDM: EntProjectTypeInternal
@Nullable public String getProjectCategory()
Original property name from the Odata EDM: ProjectCategory
@Nullable public String getProjectProfileCode()
Original property name from the Odata EDM: ProjectProfileCode
@Nullable public String getProjectTypeName()
Original property name from the Odata EDM: ProjectTypeName
@Nonnull public String toString()
toString
in class VdmObject<EntProjectType>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<EntProjectType>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<EntProjectType>
public int hashCode()
hashCode
in class VdmEntity<EntProjectType>
public String getOdataType()
getOdataType
in class VdmObject<EntProjectType>
Copyright © 2021 SAP SE. All rights reserved.