Class SrvcDocumentItemCategoryText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SrvcDocumentItemCategoryText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.servicetransactionitemcategory.SrvcDocumentItemCategoryText
- All Implemented Interfaces:
VdmEntitySet
public class SrvcDocumentItemCategoryText
extends VdmEntity<SrvcDocumentItemCategoryText>
implements VdmEntitySet
Service Item Category Text
Original entity name from the Odata EDM: SrvcDocumentItemCategoryText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrvcDocumentItemCategoryText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrvcDocumentItemCategoryText>Selector for all available fields of SrvcDocumentItemCategoryText.static final SimpleProperty.String<SrvcDocumentItemCategoryText>static final SimpleProperty.String<SrvcDocumentItemCategoryText>static final SimpleProperty.String<SrvcDocumentItemCategoryText>Use with available request builders to apply the _SrvcDocumentItemCategory 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
ConstructorsConstructorDescriptionSrvcDocumentItemCategoryText(String serviceDocItemCategory, String language, String serviceDocItemCategoryName, SrvcDocumentItemCategory to_SrvcDocumentItemCategory) -
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: 4Constraints: Not nullable, Maximum length: 40io.vavr.control.Option<SrvcDocumentItemCategory>Retrieval of associated SrvcDocumentItemCategory entity (one to one).getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetServiceDocItemCategory(String serviceDocItemCategory) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetServiceDocItemCategoryName(String serviceDocItemCategoryName) Constraints: Not nullable, Maximum length: 40voidOverwrites the associated SrvcDocumentItemCategory entity for the loaded navigation property _SrvcDocumentItemCategory.toString()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 SrvcDocumentItemCategoryText. -
SERVICE_DOC_ITEM_CATEGORY
-
LANGUAGE
-
SERVICE_DOC_ITEM_CATEGORY_NAME
public static final SimpleProperty.String<SrvcDocumentItemCategoryText> SERVICE_DOC_ITEM_CATEGORY_NAME -
TO__SRVC_DOCUMENT_ITEM_CATEGORY
public static final NavigationProperty.Single<SrvcDocumentItemCategoryText,SrvcDocumentItemCategory> TO__SRVC_DOCUMENT_ITEM_CATEGORYUse with available request builders to apply the _SrvcDocumentItemCategory navigation property to query operations.
-
-
Constructor Details
-
SrvcDocumentItemCategoryText
public SrvcDocumentItemCategoryText() -
SrvcDocumentItemCategoryText
public SrvcDocumentItemCategoryText(@Nullable String serviceDocItemCategory, @Nullable String language, @Nullable String serviceDocItemCategoryName, @Nullable SrvcDocumentItemCategory to_SrvcDocumentItemCategory)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcDocumentItemCategoryText>
-
setServiceDocItemCategory
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceDocItemCategory
- Parameters:
serviceDocItemCategory- Item Category
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key of Description
-
setServiceDocItemCategoryName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceDocItemCategoryName
- Parameters:
serviceDocItemCategoryName- Item Category Text
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrvcDocumentItemCategoryText>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcDocumentItemCategoryText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcDocumentItemCategoryText>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcDocumentItemCategoryText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcDocumentItemCategoryText>
-
getSrvcDocumentItemCategoryIfPresent
@Nonnull public io.vavr.control.Option<SrvcDocumentItemCategory> getSrvcDocumentItemCategoryIfPresent()Retrieval of associated SrvcDocumentItemCategory entity (one to one). This corresponds to the OData navigation property _SrvcDocumentItemCategory.If the navigation property for an entity SrvcDocumentItemCategoryText 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 _SrvcDocumentItemCategory is already loaded, the result
will contain the SrvcDocumentItemCategory entity. If not, an
Optionwith result stateemptyis returned.
-
setSrvcDocumentItemCategory
Overwrites the associated SrvcDocumentItemCategory entity for the loaded navigation property _SrvcDocumentItemCategory.- Parameters:
value- New SrvcDocumentItemCategory entity.
-
builder
-
getServiceDocItemCategory
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceDocItemCategory
- Returns:
- Item Category
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key of Description
-
getServiceDocItemCategoryName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceDocItemCategoryName
- Returns:
- Item Category Text
-
toString
- Overrides:
toStringin classVdmObject<SrvcDocumentItemCategoryText>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcDocumentItemCategoryText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcDocumentItemCategoryText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcDocumentItemCategoryText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrvcDocumentItemCategoryText>
-