Class TaskCodeText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<TaskCodeText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.taskcode.TaskCodeText
- All Implemented Interfaces:
VdmEntitySet
Task Code Text
Original entity name from the Odata EDM: TaskCodeText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of TaskCodeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<TaskCodeText>Selector for all available fields of TaskCodeText.static final SimpleProperty.String<TaskCodeText>static final SimpleProperty.String<TaskCodeText>static final SimpleProperty.String<TaskCodeText>static final SimpleProperty.String<TaskCodeText>static final NavigationProperty.Single<TaskCodeText,TaskCode> Use with available request builders to apply the _TaskCode 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
Constructors -
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: 4(Key Field) Constraints: Not nullable, Maximum length: 8io.vavr.control.Option<TaskCode>Retrieval of associated TaskCode entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetTaskCode(TaskCode value) Overwrites the associated TaskCode entity for the loaded navigation property _TaskCode.voidsetTaskCode(String taskCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetTaskCodeGroup(String taskCodeGroup) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetTaskCodeText(String taskCodeText) 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 TaskCodeText. -
TASK_CODE_GROUP
-
TASK_CODE
-
LANGUAGE
-
TASK_CODE_TEXT
-
TO__TASK_CODE
Use with available request builders to apply the _TaskCode navigation property to query operations.
-
-
Constructor Details
-
TaskCodeText
public TaskCodeText() -
TaskCodeText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<TaskCodeText>
-
setTaskCodeGroup
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: TaskCodeGroup
- Parameters:
taskCodeGroup- Group of Task Codes
-
setTaskCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TaskCode
- Parameters:
taskCode- Code for Classification of a Task
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setTaskCodeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: TaskCodeText
- Parameters:
taskCodeText- Text for Task Code
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<TaskCodeText>
-
getKey
- Overrides:
getKeyin classVdmObject<TaskCodeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TaskCodeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<TaskCodeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TaskCodeText>
-
getTaskCodeIfPresent
Retrieval of associated TaskCode entity (one to one). This corresponds to the OData navigation property _TaskCode.If the navigation property for an entity TaskCodeText 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 _TaskCode is already loaded, the result will contain
the TaskCode entity. If not, an
Optionwith result stateemptyis returned.
-
setTaskCode
Overwrites the associated TaskCode entity for the loaded navigation property _TaskCode.- Parameters:
value- New TaskCode entity.
-
builder
-
getTaskCodeGroup
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: TaskCodeGroup
- Returns:
- Group of Task Codes
-
getTaskCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TaskCode
- Returns:
- Code for Classification of a Task
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getTaskCodeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: TaskCodeText
- Returns:
- Text for Task Code
-
toString
- Overrides:
toStringin classVdmObject<TaskCodeText>
-
equals
- Overrides:
equalsin classVdmEntity<TaskCodeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<TaskCodeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<TaskCodeText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<TaskCodeText>
-