Class WorkItem
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<WorkItem>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialproject.WorkItem
Work Items
Original entity name from the Odata EDM: WorkItem
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WorkItemSelectableSelector for all available fields of WorkItem.static final WorkItemField<String>Use with available fluent helpers to apply the ProjectID field to query operations.static final WorkItemField<String>Use with available fluent helpers to apply the WorkPackageID field to query operations.static final WorkItemField<String>Use with available fluent helpers to apply the WorkPackageName field to query operations.static final WorkItemField<String>Use with available fluent helpers to apply the Workitem field to query operations.static final WorkItemField<String>Use with available fluent helpers to apply the Workitemname field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) static WorkItem.WorkItemBuilderbuilder()protected booleanbooleanstatic <T,DomainT>
WorkItemField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> WorkItemField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 40getType()(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 50(Key Field) Constraints: Not nullable, Maximum length: 60inthashCode()voidsetProjectID(String projectID) (Key Field) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) voidsetWorkitem(String workitem) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetWorkitemname(String workitemname) Constraints: Not nullable, Maximum length: 40voidsetWorkPackageID(String workPackageID) (Key Field) Constraints: Not nullable, Maximum length: 50voidsetWorkPackageName(String workPackageName) (Key Field) Constraints: Not nullable, Maximum length: 60toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of WorkItem. -
PROJECT_ID
Use with available fluent helpers to apply the ProjectID field to query operations. -
WORK_PACKAGE_ID
Use with available fluent helpers to apply the WorkPackageID field to query operations. -
WORK_PACKAGE_NAME
Use with available fluent helpers to apply the WorkPackageName field to query operations. -
WORKITEM
Use with available fluent helpers to apply the Workitem field to query operations. -
WORKITEMNAME
Use with available fluent helpers to apply the Workitemname field to query operations.
-
-
Constructor Details
-
WorkItem
public WorkItem() -
WorkItem
-
-
Method Details
-
getType
-
setProjectID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectID
- Parameters:
projectID- Project ID
-
setWorkPackageID
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: WorkPackageID
- Parameters:
workPackageID- Work Package ID
-
setWorkPackageName
(Key Field) Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: WorkPackageName
- Parameters:
workPackageName- Work Package Name
-
setWorkitem
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Workitem
- Parameters:
workitem- Work Item ID
-
setWorkitemname
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Workitemname
- Parameters:
workitemname- Work Item Desc.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WorkItem>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WorkItem>
-
fromMap
-
field
@Nonnull public static <T> WorkItemField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> WorkItemField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<WorkItem>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<WorkItem>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<WorkItem>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WorkItem>
-
builder
-
getProjectID
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectID
- Returns:
- Project ID
-
getWorkPackageID
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: WorkPackageID
- Returns:
- Work Package ID
-
getWorkPackageName
(Key Field) Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: WorkPackageName
- Returns:
- Work Package Name
-
getWorkitem
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Workitem
- Returns:
- Work Item ID
-
getWorkitemname
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Workitemname
- Returns:
- Work Item Desc.
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-