Class JointVentureDescription
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<JointVentureDescription>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.jointventure.JointVentureDescription
- All Implemented Interfaces:
VdmEntitySet
public class JointVentureDescription
extends VdmEntity<JointVentureDescription>
implements VdmEntitySet
Description
Original entity name from the Odata EDM: A_JointVentureDescriptionType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of JointVentureDescription instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<JointVentureDescription>Selector for all available fields of JointVentureDescription.static final SimpleProperty.String<JointVentureDescription>static final SimpleProperty.String<JointVentureDescription>static final SimpleProperty.String<JointVentureDescription>static final SimpleProperty.String<JointVentureDescription>static final NavigationProperty.Single<JointVentureDescription,JointVenture> Use with available request builders to apply the _JointVenture 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
ConstructorsConstructorDescriptionJointVentureDescription(String companyCode, String language, String jointVenture, String jointVentureName, JointVenture to_JointVenture) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 4protected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 6io.vavr.control.Option<JointVenture>Retrieval of associated JointVenture entity (one to one).Constraints: Not nullable, Maximum length: 35protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetJointVenture(JointVenture value) Overwrites the associated JointVenture entity for the loaded navigation property _JointVenture.voidsetJointVenture(String jointVenture) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetJointVentureName(String jointVentureName) Constraints: Not nullable, Maximum length: 35voidsetLanguage(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 JointVentureDescription. -
COMPANY_CODE
-
LANGUAGE
-
JOINT_VENTURE
-
JOINT_VENTURE_NAME
-
TO__JOINT_VENTURE
public static final NavigationProperty.Single<JointVentureDescription,JointVenture> TO__JOINT_VENTUREUse with available request builders to apply the _JointVenture navigation property to query operations.
-
-
Constructor Details
-
JointVentureDescription
public JointVentureDescription() -
JointVentureDescription
public JointVentureDescription(@Nullable String companyCode, @Nullable String language, @Nullable String jointVenture, @Nullable String jointVentureName, @Nullable JointVenture to_JointVenture)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<JointVentureDescription>
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setJointVenture
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: JointVenture
- Parameters:
jointVenture- Joint Venture
-
setJointVentureName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: JointVentureName
- Parameters:
jointVentureName- Joint Venture Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<JointVentureDescription>
-
getKey
- Overrides:
getKeyin classVdmObject<JointVentureDescription>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<JointVentureDescription>
-
fromMap
- Overrides:
fromMapin classVdmObject<JointVentureDescription>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<JointVentureDescription>
-
getJointVentureIfPresent
Retrieval of associated JointVenture entity (one to one). This corresponds to the OData navigation property _JointVenture.If the navigation property for an entity JointVentureDescription 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 _JointVenture is already loaded, the result will
contain the JointVenture entity. If not, an
Optionwith result stateemptyis returned.
-
setJointVenture
Overwrites the associated JointVenture entity for the loaded navigation property _JointVenture.- Parameters:
value- New JointVenture entity.
-
builder
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getJointVenture
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: JointVenture
- Returns:
- Joint Venture
-
getJointVentureName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: JointVentureName
- Returns:
- Joint Venture Name
-
toString
- Overrides:
toStringin classVdmObject<JointVentureDescription>
-
equals
- Overrides:
equalsin classVdmEntity<JointVentureDescription>
-
canEqual
- Overrides:
canEqualin classVdmEntity<JointVentureDescription>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<JointVentureDescription>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<JointVentureDescription>
-