Class EntProjectType
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: EntProjectTypeType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EntProjectType instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<EntProjectType>Selector for all available fields of EntProjectType.static final SimpleProperty.String<EntProjectType>static final SimpleProperty.String<EntProjectType>static final SimpleProperty.String<EntProjectType>static final SimpleProperty.String<EntProjectType>static final NavigationProperty.Collection<EntProjectType,EntProjectTypeText> Use with available request builders to apply the _EntProjectTypeText navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionEntProjectType(String entProjectTypeInternal, String projectCategory, String projectProfileCode, String projectTypeName, List<EntProjectTypeText> to_EntProjectTypeText) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntProjectTypeText(EntProjectTypeText... entity) Adds elements to the list of associated EntProjectTypeText entities.builder()protected booleanbooleanprotected voidprotected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 15io.vavr.control.Option<List<EntProjectTypeText>>Retrieval of associated EntProjectTypeText entities (one to many).protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 7Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetEntProjectTypeInternal(String entProjectTypeInternal) (Key Field) Constraints: Not nullable, Maximum length: 15voidOverwrites the list of associated EntProjectTypeText entities for the loaded navigation property _EntProjectTypeText.voidsetProjectCategory(String projectCategory) Constraints: Not nullable, Maximum length: 1voidsetProjectProfileCode(String projectProfileCode) Constraints: Not nullable, Maximum length: 7voidsetProjectTypeName(String projectTypeName) Constraints: Not nullable, Maximum length: 40toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of EntProjectType. -
ENT_PROJECT_TYPE_INTERNAL
-
PROJECT_CATEGORY
-
PROJECT_PROFILE_CODE
-
PROJECT_TYPE_NAME
-
TO__ENT_PROJECT_TYPE_TEXT
public static final NavigationProperty.Collection<EntProjectType,EntProjectTypeText> TO__ENT_PROJECT_TYPE_TEXTUse with available request builders to apply the _EntProjectTypeText navigation property to query operations.
-
-
Constructor Details
-
EntProjectType
public EntProjectType() -
EntProjectType
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EntProjectType>
-
setEntProjectTypeInternal
(Key Field) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: EntProjectTypeInternal
- Parameters:
entProjectTypeInternal- Project Type
-
setProjectCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectCategory
- Parameters:
projectCategory- Project Category
-
setProjectProfileCode
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ProjectProfileCode
- Parameters:
projectProfileCode- Project Profile
-
setProjectTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectTypeName
- Parameters:
projectTypeName- Short Text for Type
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EntProjectType>
-
getKey
- Overrides:
getKeyin classVdmObject<EntProjectType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EntProjectType>
-
fromMap
- Overrides:
fromMapin classVdmObject<EntProjectType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EntProjectType>
-
getEntProjectTypeTextIfPresent
Retrieval of associated EntProjectTypeText entities (one to many). This corresponds to the OData navigation property _EntProjectTypeText.If the navigation property for an entity EntProjectType has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _EntProjectTypeText is already loaded, the result will
contain the EntProjectTypeText entities. If not, an
Optionwith result stateemptyis returned.
-
setEntProjectTypeText
Overwrites the list of associated EntProjectTypeText entities for the loaded navigation property _EntProjectTypeText.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.
- Parameters:
value- List of EntProjectTypeText entities.
-
addEntProjectTypeText
Adds elements to the list of associated EntProjectTypeText entities. This corresponds to the OData navigation property _EntProjectTypeText.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.
- Parameters:
entity- Array of EntProjectTypeText entities.
-
builder
-
getEntProjectTypeInternal
(Key Field) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: EntProjectTypeInternal
- Returns:
- Project Type
-
getProjectCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectCategory
- Returns:
- Project Category
-
getProjectProfileCode
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ProjectProfileCode
- Returns:
- Project Profile
-
getProjectTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectTypeName
- Returns:
- Short Text for Type
-
toString
- Overrides:
toStringin classVdmObject<EntProjectType>
-
equals
- Overrides:
equalsin classVdmEntity<EntProjectType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EntProjectType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EntProjectType>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<EntProjectType>
-