public class JointVentureDescription extends VdmEntity<JointVentureDescription>
Original entity name from the Odata EDM: A_JointVentureDescriptionType
Modifier and Type | Class and Description |
---|---|
static class |
JointVentureDescription.JointVentureDescriptionBuilder
Helper class to allow for fluent creation of JointVentureDescription instances.
|
Modifier and Type | Field and Description |
---|---|
static ComplexProperty.Collection<JointVentureDescription,SAP__Message> |
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations.
|
static SimpleProperty<JointVentureDescription> |
ALL_FIELDS
Selector for all available fields of JointVentureDescription.
|
static SimpleProperty.String<JointVentureDescription> |
COMPANY_CODE |
static SimpleProperty.String<JointVentureDescription> |
JOINT_VENTURE |
static SimpleProperty.String<JointVentureDescription> |
JOINT_VENTURE_NAME |
static SimpleProperty.String<JointVentureDescription> |
LANGUAGE |
static NavigationProperty.Single<JointVentureDescription,JointVenture> |
TO__JOINT_VENTURE
Use with available request builders to apply the _JointVenture navigation property to query operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
JointVentureDescription() |
JointVentureDescription(String companyCode,
String language,
String jointVenture,
String jointVentureName,
Collection<SAP__Message> _Messages,
JointVenture to_JointVenture) |
Modifier and Type | Method and Description |
---|---|
static JointVentureDescription.JointVentureDescriptionBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
Collection<SAP__Message> |
get_Messages()
Constraints: Not nullable
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
String |
getJointVenture()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
io.vavr.control.Option<JointVenture> |
getJointVentureIfPresent()
Retrieval of associated JointVenture entity (one to one).
|
String |
getJointVentureName()
Constraints: Not nullable, Maximum length: 35
|
protected ODataEntityKey |
getKey() |
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getOdataType() |
Class<JointVentureDescription> |
getType() |
int |
hashCode() |
void |
set_Messages(Collection<SAP__Message> _Messages)
Constraints: Not nullable
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setJointVenture(JointVenture value)
Overwrites the associated JointVenture entity for the loaded navigation property _JointVenture.
|
void |
setJointVenture(String jointVenture)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setJointVentureName(String jointVentureName)
Constraints: Not nullable, Maximum length: 35
|
void |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<JointVentureDescription> ALL_FIELDS
public static final SimpleProperty.String<JointVentureDescription> COMPANY_CODE
public static final SimpleProperty.String<JointVentureDescription> LANGUAGE
public static final SimpleProperty.String<JointVentureDescription> JOINT_VENTURE
public static final SimpleProperty.String<JointVentureDescription> JOINT_VENTURE_NAME
public static final ComplexProperty.Collection<JointVentureDescription,SAP__Message> _MESSAGES
public static final NavigationProperty.Single<JointVentureDescription,JointVenture> TO__JOINT_VENTURE
public JointVentureDescription()
public JointVentureDescription(@Nullable String companyCode, @Nullable String language, @Nullable String jointVenture, @Nullable String jointVentureName, @Nullable Collection<SAP__Message> _Messages, @Nullable JointVenture to_JointVenture)
@Nonnull public Class<JointVentureDescription> getType()
getType
in class VdmObject<JointVentureDescription>
public void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- Company Codepublic void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Keypublic void setJointVenture(@Nullable String jointVenture)
Original property name from the Odata EDM: JointVenture
jointVenture
- Joint Venturepublic void setJointVentureName(@Nullable String jointVentureName)
Original property name from the Odata EDM: JointVentureName
jointVentureName
- Joint Venture Namepublic void set_Messages(@Nullable Collection<SAP__Message> _Messages)
Original property name from the Odata EDM: SAP__Messages
_Messages
- The _Messages to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<JointVentureDescription>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<JointVentureDescription>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<JointVentureDescription>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<JointVentureDescription>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<JointVentureDescription>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<JointVentureDescription>
@Nonnull public io.vavr.control.Option<JointVenture> getJointVentureIfPresent()
If the navigation property for an entity JointVentureDescription has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setJointVenture(JointVenture value)
value
- New JointVenture entity.@Nonnull public static JointVentureDescription.JointVentureDescriptionBuilder builder()
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getJointVenture()
Original property name from the Odata EDM: JointVenture
@Nullable public String getJointVentureName()
Original property name from the Odata EDM: JointVentureName
@Nullable public Collection<SAP__Message> get_Messages()
Original property name from the Odata EDM: SAP__Messages
@Nonnull public String toString()
toString
in class VdmObject<JointVentureDescription>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<JointVentureDescription>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<JointVentureDescription>
public int hashCode()
hashCode
in class VdmEntity<JointVentureDescription>
public String getOdataType()
getOdataType
in class VdmObject<JointVentureDescription>
Copyright © 2021 SAP SE. All rights reserved.