Class EntProjPriorityCodeText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<EntProjPriorityCodeText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.enterpriseprojectpriority.EntProjPriorityCodeText
- All Implemented Interfaces:
VdmEntitySet
public class EntProjPriorityCodeText
extends VdmEntity<EntProjPriorityCodeText>
implements VdmEntitySet
Project Priority Description
Original entity name from the Odata EDM: EntProjPriorityCodeTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EntProjPriorityCodeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<EntProjPriorityCodeText>Selector for all available fields of EntProjPriorityCodeText.static final SimpleProperty.String<EntProjPriorityCodeText>static final SimpleProperty.String<EntProjPriorityCodeText>static final SimpleProperty.String<EntProjPriorityCodeText>Use with available request builders to apply the _PriorityCode 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
ConstructorsConstructorDescriptionEntProjPriorityCodeText(String language, String priorityCode, String priorityCodeName, EntProjPriorityCode to_PriorityCode) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 3io.vavr.control.Option<EntProjPriorityCode>Retrieval of associated EntProjPriorityCode entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated EntProjPriorityCode entity for the loaded navigation property _PriorityCode.voidsetPriorityCode(String priorityCode) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetPriorityCodeName(String priorityCodeName) 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 EntProjPriorityCodeText. -
LANGUAGE
-
PRIORITY_CODE
-
PRIORITY_CODE_NAME
-
TO__PRIORITY_CODE
public static final NavigationProperty.Single<EntProjPriorityCodeText,EntProjPriorityCode> TO__PRIORITY_CODEUse with available request builders to apply the _PriorityCode navigation property to query operations.
-
-
Constructor Details
-
EntProjPriorityCodeText
public EntProjPriorityCodeText() -
EntProjPriorityCodeText
public EntProjPriorityCodeText(@Nullable String language, @Nullable String priorityCode, @Nullable String priorityCodeName, @Nullable EntProjPriorityCode to_PriorityCode)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EntProjPriorityCodeText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setPriorityCode
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PriorityCode
- Parameters:
priorityCode- The priorityCode to set.
-
setPriorityCodeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: PriorityCodeName
- Parameters:
priorityCodeName- Object Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EntProjPriorityCodeText>
-
getKey
- Overrides:
getKeyin classVdmObject<EntProjPriorityCodeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EntProjPriorityCodeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<EntProjPriorityCodeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EntProjPriorityCodeText>
-
getPriorityCodeIfPresent
Retrieval of associated EntProjPriorityCode entity (one to one). This corresponds to the OData navigation property _PriorityCode.If the navigation property for an entity EntProjPriorityCodeText 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 _PriorityCode is already loaded, the result will
contain the EntProjPriorityCode entity. If not, an
Optionwith result stateemptyis returned.
-
setPriorityCode
Overwrites the associated EntProjPriorityCode entity for the loaded navigation property _PriorityCode.- Parameters:
value- New EntProjPriorityCode entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getPriorityCode
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PriorityCode
- Returns:
- The priorityCode contained in this
VdmEntity.
-
getPriorityCodeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: PriorityCodeName
- Returns:
- Object Name
-
toString
- Overrides:
toStringin classVdmObject<EntProjPriorityCodeText>
-
equals
- Overrides:
equalsin classVdmEntity<EntProjPriorityCodeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EntProjPriorityCodeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EntProjPriorityCodeText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<EntProjPriorityCodeText>
-