Class WorkPackageFunction
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<WorkPackageFunction>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.commercialprojectdetail.WorkPackageFunction
Work Package Functions
Original entity name from the Odata EDM: WorkPackageFunction
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WorkPackageFunctionSelectableSelector for all available fields of WorkPackageFunction.static final WorkPackageFunctionField<String>Use with available fluent helpers to apply the ProjectID field to query operations.static final WorkPackageFunctionField<String>Use with available fluent helpers to apply the WorkPackageFunctionId field to query operations.static final WorkPackageFunctionField<String>Use with available fluent helpers to apply the WorkPackageFunctionIsBlocked field to query operations.static final WorkPackageFunctionField<String>Use with available fluent helpers to apply the WorkPackageFunctionName field to query operations.static final WorkPackageFunctionField<String>Use with available fluent helpers to apply the WorkPackageID 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) builder()protected booleanbooleanstatic <T,DomainT>
WorkPackageFunctionField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> WorkPackageFunctionField<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: 4Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 60(Key Field) Constraints: Not nullable, Maximum length: 50inthashCode()voidsetProjectID(String projectID) (Key Field) Constraints: Not nullable, Maximum length: 40protected voidsetServicePathForFetch(String servicePathForFetch) voidsetWorkPackageFunctionId(String workPackageFunctionId) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetWorkPackageFunctionIsBlocked(String workPackageFunctionIsBlocked) Constraints: Not nullable, Maximum length: 1voidsetWorkPackageFunctionName(String workPackageFunctionName) Constraints: Not nullable, Maximum length: 60voidsetWorkPackageID(String workPackageID) (Key Field) Constraints: Not nullable, Maximum length: 50toString()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 WorkPackageFunction. -
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_FUNCTION_ID
Use with available fluent helpers to apply the WorkPackageFunctionId field to query operations. -
WORK_PACKAGE_FUNCTION_NAME
Use with available fluent helpers to apply the WorkPackageFunctionName field to query operations. -
WORK_PACKAGE_FUNCTION_IS_BLOCKED
Use with available fluent helpers to apply the WorkPackageFunctionIsBlocked field to query operations.
-
-
Constructor Details
-
WorkPackageFunction
public WorkPackageFunction() -
WorkPackageFunction
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WorkPackageFunction>
-
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
-
setWorkPackageFunctionId
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: WorkPackageFunctionId
- Parameters:
workPackageFunctionId- Work Package Function ID
-
setWorkPackageFunctionName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: WorkPackageFunctionName
- Parameters:
workPackageFunctionName- Work Package Function Name
-
setWorkPackageFunctionIsBlocked
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: WorkPackageFunctionIsBlocked
- Parameters:
workPackageFunctionIsBlocked- Work Package Function Is Blocked
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WorkPackageFunction>
-
getKey
- Overrides:
getKeyin classVdmObject<WorkPackageFunction>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WorkPackageFunction>
-
fromMap
- Overrides:
fromMapin classVdmObject<WorkPackageFunction>
-
field
@Nonnull public static <T> WorkPackageFunctionField<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> WorkPackageFunctionField<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<WorkPackageFunction>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<WorkPackageFunction>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<WorkPackageFunction>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WorkPackageFunction>
-
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
-
getWorkPackageFunctionId
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: WorkPackageFunctionId
- Returns:
- Work Package Function ID
-
getWorkPackageFunctionName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: WorkPackageFunctionName
- Returns:
- Work Package Function Name
-
getWorkPackageFunctionIsBlocked
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: WorkPackageFunctionIsBlocked
- Returns:
- Work Package Function Is Blocked
-
toString
- Overrides:
toStringin classVdmObject<WorkPackageFunction>
-
equals
- Overrides:
equalsin classVdmEntity<WorkPackageFunction>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WorkPackageFunction>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WorkPackageFunction>
-