Class CompanySubstanceText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CompanySubstanceText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.companysubstance.CompanySubstanceText
- All Implemented Interfaces:
VdmEntitySet
Company Substance Text
Original entity name from the Odata EDM: CompanySubstanceText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CompanySubstanceText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CompanySubstanceText>Selector for all available fields of CompanySubstanceText.static final SimpleProperty.String<CompanySubstanceText>static final SimpleProperty.Guid<CompanySubstanceText>static final SimpleProperty.String<CompanySubstanceText>static final NavigationProperty.Single<CompanySubstanceText,CompanySubstance> Use with available request builders to apply the _CompanySubstance 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
ConstructorsConstructorDescriptionCompanySubstanceText(UUID companySubstanceUUID, String language, String companySubstanceName, CompanySubstance to_CompanySubstance) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidio.vavr.control.Option<CompanySubstance>Retrieval of associated CompanySubstance entity (one to one).Constraints: Not nullable, Maximum length: 1333(Key Field) Constraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidOverwrites the associated CompanySubstance entity for the loaded navigation property _CompanySubstance.voidsetCompanySubstanceName(String companySubstanceName) Constraints: Not nullable, Maximum length: 1333voidsetCompanySubstanceUUID(UUID companySubstanceUUID) (Key Field) Constraints: Not nullablevoidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2toString()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 CompanySubstanceText. -
COMPANY_SUBSTANCE_UUID
-
LANGUAGE
-
COMPANY_SUBSTANCE_NAME
-
TO__COMPANY_SUBSTANCE
public static final NavigationProperty.Single<CompanySubstanceText,CompanySubstance> TO__COMPANY_SUBSTANCEUse with available request builders to apply the _CompanySubstance navigation property to query operations.
-
-
Constructor Details
-
CompanySubstanceText
public CompanySubstanceText() -
CompanySubstanceText
public CompanySubstanceText(@Nullable UUID companySubstanceUUID, @Nullable String language, @Nullable String companySubstanceName, @Nullable CompanySubstance to_CompanySubstance)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CompanySubstanceText>
-
setCompanySubstanceUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CompanySubstanceUUID
- Parameters:
companySubstanceUUID- Substance
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setCompanySubstanceName
Constraints: Not nullable, Maximum length: 1333Original property name from the Odata EDM: CompanySubstanceName
- Parameters:
companySubstanceName- Substance Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CompanySubstanceText>
-
getKey
- Overrides:
getKeyin classVdmObject<CompanySubstanceText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CompanySubstanceText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CompanySubstanceText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CompanySubstanceText>
-
getCompanySubstanceIfPresent
Retrieval of associated CompanySubstance entity (one to one). This corresponds to the OData navigation property _CompanySubstance.If the navigation property for an entity CompanySubstanceText 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 _CompanySubstance is already loaded, the result will
contain the CompanySubstance entity. If not, an
Optionwith result stateemptyis returned.
-
setCompanySubstance
Overwrites the associated CompanySubstance entity for the loaded navigation property _CompanySubstance.- Parameters:
value- New CompanySubstance entity.
-
builder
-
getCompanySubstanceUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CompanySubstanceUUID
- Returns:
- Substance
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getCompanySubstanceName
Constraints: Not nullable, Maximum length: 1333Original property name from the Odata EDM: CompanySubstanceName
- Returns:
- Substance Name
-
toString
- Overrides:
toStringin classVdmObject<CompanySubstanceText>
-
equals
- Overrides:
equalsin classVdmEntity<CompanySubstanceText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CompanySubstanceText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CompanySubstanceText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CompanySubstanceText>
-