public class ConditionContractStatus extends VdmEntity<ConditionContractStatus>
Original entity name from the Odata EDM: ConditionContractStatusType
Modifier and Type | Class and Description |
---|---|
static class |
ConditionContractStatus.ConditionContractStatusBuilder
Helper class to allow for fluent creation of ConditionContractStatus instances.
|
Modifier and Type | Field and Description |
---|---|
static SimpleProperty<ConditionContractStatus> |
ALL_FIELDS
Selector for all available fields of ConditionContractStatus.
|
static SimpleProperty.String<ConditionContractStatus> |
CONDITION_CONTRACT |
static SimpleProperty.Boolean<ConditionContractStatus> |
IS_USER_STATUS |
static SimpleProperty.String<ConditionContractStatus> |
STATUS_CODE |
static SimpleProperty.String<ConditionContractStatus> |
STATUS_PROFILE |
static NavigationProperty.Single<ConditionContractStatus,ConditionContract> |
TO__CONDITION_CONTRACT
Use with available request builders to apply the _ConditionContract navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
ConditionContractStatus() |
ConditionContractStatus(String conditionContract,
String statusCode,
Boolean isUserStatus,
String statusProfile,
ConditionContract to_ConditionContract) |
Modifier and Type | Method and Description |
---|---|
static ConditionContractStatus.ConditionContractStatusBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
String |
getConditionContract()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<ConditionContract> |
getConditionContractIfPresent()
Retrieval of associated ConditionContract entity (one to one).
|
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.
|
Boolean |
getIsUserStatus()
Constraints: Not nullable
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
String |
getStatusCode()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
String |
getStatusProfile()
Constraints: Not nullable, Maximum length: 8
|
Class<ConditionContractStatus> |
getType() |
int |
hashCode() |
void |
setConditionContract(ConditionContract value)
Overwrites the associated ConditionContract entity for the loaded navigation property
_ConditionContract.
|
void |
setConditionContract(String conditionContract)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setIsUserStatus(Boolean isUserStatus)
Constraints: Not nullable
|
void |
setStatusCode(String statusCode)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
void |
setStatusProfile(String statusProfile)
Constraints: Not nullable, Maximum length: 8
|
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<ConditionContractStatus> ALL_FIELDS
public static final SimpleProperty.String<ConditionContractStatus> CONDITION_CONTRACT
public static final SimpleProperty.String<ConditionContractStatus> STATUS_CODE
public static final SimpleProperty.Boolean<ConditionContractStatus> IS_USER_STATUS
public static final SimpleProperty.String<ConditionContractStatus> STATUS_PROFILE
public static final NavigationProperty.Single<ConditionContractStatus,ConditionContract> TO__CONDITION_CONTRACT
@Nonnull public Class<ConditionContractStatus> getType()
getType
in class VdmObject<ConditionContractStatus>
public void setConditionContract(@Nullable String conditionContract)
Original property name from the Odata EDM: ConditionContract
conditionContract
- Condition Contractpublic void setStatusCode(@Nullable String statusCode)
Original property name from the Odata EDM: StatusCode
statusCode
- Object Statuspublic void setIsUserStatus(@Nullable Boolean isUserStatus)
Original property name from the Odata EDM: IsUserStatus
isUserStatus
- Is User Statuspublic void setStatusProfile(@Nullable String statusProfile)
Original property name from the Odata EDM: StatusProfile
statusProfile
- Status Profileprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ConditionContractStatus>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<ConditionContractStatus>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<ConditionContractStatus>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<ConditionContractStatus>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ConditionContractStatus>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<ConditionContractStatus>
@Nonnull public io.vavr.control.Option<ConditionContract> getConditionContractIfPresent()
If the navigation property for an entity ConditionContractStatus 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 setConditionContract(ConditionContract value)
value
- New ConditionContract entity.@Nonnull public static ConditionContractStatus.ConditionContractStatusBuilder builder()
@Nullable public String getConditionContract()
Original property name from the Odata EDM: ConditionContract
@Nullable public String getStatusCode()
Original property name from the Odata EDM: StatusCode
@Nullable public Boolean getIsUserStatus()
Original property name from the Odata EDM: IsUserStatus
@Nullable public String getStatusProfile()
Original property name from the Odata EDM: StatusProfile
@Nonnull public String toString()
toString
in class VdmObject<ConditionContractStatus>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<ConditionContractStatus>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<ConditionContractStatus>
public int hashCode()
hashCode
in class VdmEntity<ConditionContractStatus>
public String getOdataType()
getOdataType
in class VdmObject<ConditionContractStatus>
Copyright © 2021 SAP SE. All rights reserved.