Class SrcgProjContactCategoryText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SrcgProjContactCategoryText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.contactcategoryforsourcingproject.SrcgProjContactCategoryText
- All Implemented Interfaces:
VdmEntitySet
public class SrcgProjContactCategoryText
extends VdmEntity<SrcgProjContactCategoryText>
implements VdmEntitySet
Contact Category Text
Original entity name from the Odata EDM: SrcgProjContactCategoryTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjContactCategoryText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjContactCategoryText>Selector for all available fields of SrcgProjContactCategoryText.static final SimpleProperty.String<SrcgProjContactCategoryText>static final SimpleProperty.String<SrcgProjContactCategoryText>static final SimpleProperty.String<SrcgProjContactCategoryText>Use with available request builders to apply the _SourcingProjectContactCat 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
ConstructorsConstructorDescriptionSrcgProjContactCategoryText(String sourcingProjectContactCategory, String language, String sourcingProjectContactCatName, SrcgProjContactCategory to_SourcingProjectContactCat) -
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: 4io.vavr.control.Option<SrcgProjContactCategory>Retrieval of associated SrcgProjContactCategory entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SrcgProjContactCategory entity for the loaded navigation property _SourcingProjectContactCat.voidsetSourcingProjectContactCategory(String sourcingProjectContactCategory) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetSourcingProjectContactCatName(String sourcingProjectContactCatName) 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 SrcgProjContactCategoryText. -
SOURCING_PROJECT_CONTACT_CATEGORY
public static final SimpleProperty.String<SrcgProjContactCategoryText> SOURCING_PROJECT_CONTACT_CATEGORY -
LANGUAGE
-
SOURCING_PROJECT_CONTACT_CAT_NAME
public static final SimpleProperty.String<SrcgProjContactCategoryText> SOURCING_PROJECT_CONTACT_CAT_NAME -
TO__SOURCING_PROJECT_CONTACT_CAT
public static final NavigationProperty.Single<SrcgProjContactCategoryText,SrcgProjContactCategory> TO__SOURCING_PROJECT_CONTACT_CATUse with available request builders to apply the _SourcingProjectContactCat navigation property to query operations.
-
-
Constructor Details
-
SrcgProjContactCategoryText
public SrcgProjContactCategoryText() -
SrcgProjContactCategoryText
public SrcgProjContactCategoryText(@Nullable String sourcingProjectContactCategory, @Nullable String language, @Nullable String sourcingProjectContactCatName, @Nullable SrcgProjContactCategory to_SourcingProjectContactCat)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjContactCategoryText>
-
setSourcingProjectContactCategory
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SourcingProjectContactCategory
- Parameters:
sourcingProjectContactCategory- The sourcingProjectContactCategory to set.
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setSourcingProjectContactCatName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SourcingProjectContactCatName
- Parameters:
sourcingProjectContactCatName- Contact Category Text for Sourcing Project
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjContactCategoryText>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjContactCategoryText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjContactCategoryText>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjContactCategoryText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjContactCategoryText>
-
getSourcingProjectContactCatIfPresent
@Nonnull public io.vavr.control.Option<SrcgProjContactCategory> getSourcingProjectContactCatIfPresent()Retrieval of associated SrcgProjContactCategory entity (one to one). This corresponds to the OData navigation property _SourcingProjectContactCat.If the navigation property for an entity SrcgProjContactCategoryText 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 _SourcingProjectContactCat is already loaded, the
result will contain the SrcgProjContactCategory entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectContactCat
Overwrites the associated SrcgProjContactCategory entity for the loaded navigation property _SourcingProjectContactCat.- Parameters:
value- New SrcgProjContactCategory entity.
-
builder
-
getSourcingProjectContactCategory
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SourcingProjectContactCategory
- Returns:
- The sourcingProjectContactCategory contained in this
VdmEntity.
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSourcingProjectContactCatName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: SourcingProjectContactCatName
- Returns:
- Contact Category Text for Sourcing Project
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjContactCategoryText>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjContactCategoryText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjContactCategoryText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjContactCategoryText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjContactCategoryText>
-