Class EntProjectTypeText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<EntProjectTypeText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.enterpriseprojectinternaltype.EntProjectTypeText
- All Implemented Interfaces:
VdmEntitySet
Internal Project Type Description
Original entity name from the Odata EDM: EntProjectTypeTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EntProjectTypeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<EntProjectTypeText>Selector for all available fields of EntProjectTypeText.static final SimpleProperty.String<EntProjectTypeText>static final SimpleProperty.String<EntProjectTypeText>static final SimpleProperty.String<EntProjectTypeText>static final NavigationProperty.Single<EntProjectTypeText,EntProjectType> Use with available request builders to apply the _ProjectType 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
ConstructorsConstructorDescriptionEntProjectTypeText(String language, String entProjectTypeInternal, String projectTypeName, EntProjectType to_ProjectType) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 15protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<EntProjectType>Retrieval of associated EntProjectType entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetEntProjectTypeInternal(String entProjectTypeInternal) (Key Field) Constraints: Not nullable, Maximum length: 15voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetProjectType(EntProjectType value) Overwrites the associated EntProjectType entity for the loaded navigation property _ProjectType.voidsetProjectTypeName(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 EntProjectTypeText. -
LANGUAGE
-
ENT_PROJECT_TYPE_INTERNAL
-
PROJECT_TYPE_NAME
-
TO__PROJECT_TYPE
Use with available request builders to apply the _ProjectType navigation property to query operations.
-
-
Constructor Details
-
EntProjectTypeText
public EntProjectTypeText() -
EntProjectTypeText
public EntProjectTypeText(@Nullable String language, @Nullable String entProjectTypeInternal, @Nullable String projectTypeName, @Nullable EntProjectType to_ProjectType)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EntProjectTypeText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setEntProjectTypeInternal
(Key Field) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: EntProjectTypeInternal
- Parameters:
entProjectTypeInternal- Project Type
-
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<EntProjectTypeText>
-
getKey
- Overrides:
getKeyin classVdmObject<EntProjectTypeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EntProjectTypeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<EntProjectTypeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EntProjectTypeText>
-
getProjectTypeIfPresent
Retrieval of associated EntProjectType entity (one to one). This corresponds to the OData navigation property _ProjectType.If the navigation property for an entity EntProjectTypeText 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 _ProjectType is already loaded, the result will contain
the EntProjectType entity. If not, an
Optionwith result stateemptyis returned.
-
setProjectType
Overwrites the associated EntProjectType entity for the loaded navigation property _ProjectType.- Parameters:
value- New EntProjectType entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getEntProjectTypeInternal
(Key Field) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: EntProjectTypeInternal
- Returns:
- Project Type
-
getProjectTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectTypeName
- Returns:
- Short Text for Type
-
toString
- Overrides:
toStringin classVdmObject<EntProjectTypeText>
-
equals
- Overrides:
equalsin classVdmEntity<EntProjectTypeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EntProjectTypeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EntProjectTypeText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<EntProjectTypeText>
-