Class CompanySubstanceVarAssgmt
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CompanySubstanceVarAssgmt_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CompanySubstanceVarAssgmt instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CompanySubstanceVarAssgmt>Selector for all available fields of CompanySubstanceVarAssgmt.static final SimpleProperty.Guid<CompanySubstanceVarAssgmt>static final SimpleProperty.String<CompanySubstanceVarAssgmt>static final SimpleProperty.Guid<CompanySubstanceVarAssgmt>static final SimpleProperty.Guid<CompanySubstanceVarAssgmt>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
ConstructorsConstructorDescriptionCompanySubstanceVarAssgmt(UUID substanceVarAssgmtUUID, UUID companySubstanceUUID, UUID listedSubstanceVariantUUID, String listedSubstanceVariant, 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 nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 12Constraints: Nullable(Key Field) Constraints: Not nullablegetType()inthashCode()voidOverwrites the associated CompanySubstance entity for the loaded navigation property _CompanySubstance.voidsetCompanySubstanceUUID(UUID companySubstanceUUID) Constraints: Not nullablevoidsetListedSubstanceVariant(String listedSubstanceVariant) Constraints: Not nullable, Maximum length: 12voidsetListedSubstanceVariantUUID(UUID listedSubstanceVariantUUID) Constraints: NullablevoidsetSubstanceVarAssgmtUUID(UUID substanceVarAssgmtUUID) (Key Field) Constraints: Not nullabletoString()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 CompanySubstanceVarAssgmt. -
SUBSTANCE_VAR_ASSGMT_UUID
-
COMPANY_SUBSTANCE_UUID
-
LISTED_SUBSTANCE_VARIANT_UUID
-
LISTED_SUBSTANCE_VARIANT
-
TO__COMPANY_SUBSTANCE
public static final NavigationProperty.Single<CompanySubstanceVarAssgmt,CompanySubstance> TO__COMPANY_SUBSTANCEUse with available request builders to apply the _CompanySubstance navigation property to query operations.
-
-
Constructor Details
-
CompanySubstanceVarAssgmt
public CompanySubstanceVarAssgmt() -
CompanySubstanceVarAssgmt
public CompanySubstanceVarAssgmt(@Nullable UUID substanceVarAssgmtUUID, @Nullable UUID companySubstanceUUID, @Nullable UUID listedSubstanceVariantUUID, @Nullable String listedSubstanceVariant, @Nullable CompanySubstance to_CompanySubstance)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CompanySubstanceVarAssgmt>
-
setSubstanceVarAssgmtUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SubstanceVarAssgmtUUID
- Parameters:
substanceVarAssgmtUUID- Substance Variant Assignment
-
setCompanySubstanceUUID
Constraints: Not nullableOriginal property name from the Odata EDM: CompanySubstanceUUID
- Parameters:
companySubstanceUUID- Substance
-
setListedSubstanceVariantUUID
Constraints: NullableOriginal property name from the Odata EDM: ListedSubstanceVariantUUID
- Parameters:
listedSubstanceVariantUUID- Listed Substance Variant
-
setListedSubstanceVariant
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ListedSubstanceVariant
- Parameters:
listedSubstanceVariant- Listed Substance
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CompanySubstanceVarAssgmt>
-
getKey
- Overrides:
getKeyin classVdmObject<CompanySubstanceVarAssgmt>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CompanySubstanceVarAssgmt>
-
fromMap
- Overrides:
fromMapin classVdmObject<CompanySubstanceVarAssgmt>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CompanySubstanceVarAssgmt>
-
getCompanySubstanceIfPresent
Retrieval of associated CompanySubstance entity (one to one). This corresponds to the OData navigation property _CompanySubstance.If the navigation property for an entity CompanySubstanceVarAssgmt 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
-
getSubstanceVarAssgmtUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SubstanceVarAssgmtUUID
- Returns:
- Substance Variant Assignment
-
getCompanySubstanceUUID
Constraints: Not nullableOriginal property name from the Odata EDM: CompanySubstanceUUID
- Returns:
- Substance
-
getListedSubstanceVariantUUID
Constraints: NullableOriginal property name from the Odata EDM: ListedSubstanceVariantUUID
- Returns:
- Listed Substance Variant
-
getListedSubstanceVariant
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ListedSubstanceVariant
- Returns:
- Listed Substance
-
toString
- Overrides:
toStringin classVdmObject<CompanySubstanceVarAssgmt>
-
equals
- Overrides:
equalsin classVdmEntity<CompanySubstanceVarAssgmt>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CompanySubstanceVarAssgmt>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CompanySubstanceVarAssgmt>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CompanySubstanceVarAssgmt>
-