public class SupProtCharacteristic extends VdmEntity<SupProtCharacteristic>
Original entity name from the Odata EDM: A_SupProtCharacteristicType
Modifier and Type | Class and Description |
---|---|
static class |
SupProtCharacteristic.SupProtCharacteristicBuilder
Helper class to allow for fluent creation of SupProtCharacteristic instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
SupProtCharacteristic() |
SupProtCharacteristic(UUID supProtCharacteristicUUID,
UUID supplyProtectionUUID,
Short supProtOrdinalNumberValue,
byte[] supProtCharcCtlgPathIntID,
String createdByUser,
OffsetDateTime creationDateTime,
String lastChangedByUser,
OffsetDateTime lastChangeDateTime,
String characteristic,
SupplyProtection to_SupplyProtectionTP) |
Modifier and Type | Method and Description |
---|---|
static SupProtCharacteristic.SupProtCharacteristicBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
String |
getCharacteristic()
Constraints: Not nullable, Maximum length: 255
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
OffsetDateTime |
getCreationDateTime()
Constraints: Nullable, Precision: 7
|
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.
|
protected ODataEntityKey |
getKey() |
OffsetDateTime |
getLastChangeDateTime()
Constraints: Nullable, Precision: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getOdataType() |
io.vavr.control.Option<SupplyProtection> |
getSupplyProtectionTPIfPresent()
Retrieval of associated SupplyProtection entity (one to one).
|
UUID |
getSupplyProtectionUUID()
Constraints: Nullable
|
UUID |
getSupProtCharacteristicUUID()
(Key Field) Constraints: Not nullable
|
byte[] |
getSupProtCharcCtlgPathIntID()
Constraints: Not nullable, Maximum length: 20
|
Short |
getSupProtOrdinalNumberValue()
Constraints: Not nullable
|
Class<SupProtCharacteristic> |
getType() |
int |
hashCode() |
void |
setCharacteristic(String characteristic)
Constraints: Not nullable, Maximum length: 255
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(OffsetDateTime creationDateTime)
Constraints: Nullable, Precision: 7
|
void |
setLastChangeDateTime(OffsetDateTime lastChangeDateTime)
Constraints: Nullable, Precision: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setSupplyProtectionTP(SupplyProtection value)
Overwrites the associated SupplyProtection entity for the loaded navigation property
_SupplyProtectionTP.
|
void |
setSupplyProtectionUUID(UUID supplyProtectionUUID)
Constraints: Nullable
|
void |
setSupProtCharacteristicUUID(UUID supProtCharacteristicUUID)
(Key Field) Constraints: Not nullable
|
void |
setSupProtCharcCtlgPathIntID(byte[] supProtCharcCtlgPathIntID)
Constraints: Not nullable, Maximum length: 20
|
void |
setSupProtOrdinalNumberValue(Short supProtOrdinalNumberValue)
Constraints: Not nullable
|
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<SupProtCharacteristic> ALL_FIELDS
public static final SimpleProperty.Guid<SupProtCharacteristic> SUP_PROT_CHARACTERISTIC_UUID
public static final SimpleProperty.Guid<SupProtCharacteristic> SUPPLY_PROTECTION_UUID
public static final SimpleProperty.NumericInteger<SupProtCharacteristic> SUP_PROT_ORDINAL_NUMBER_VALUE
public static final SimpleProperty.Binary<SupProtCharacteristic> SUP_PROT_CHARC_CTLG_PATH_INT_ID
public static final SimpleProperty.String<SupProtCharacteristic> CREATED_BY_USER
public static final SimpleProperty.DateTime<SupProtCharacteristic> CREATION_DATE_TIME
public static final SimpleProperty.String<SupProtCharacteristic> LAST_CHANGED_BY_USER
public static final SimpleProperty.DateTime<SupProtCharacteristic> LAST_CHANGE_DATE_TIME
public static final SimpleProperty.String<SupProtCharacteristic> CHARACTERISTIC
public static final NavigationProperty.Single<SupProtCharacteristic,SupplyProtection> TO__SUPPLY_PROTECTION_TP
public SupProtCharacteristic()
public SupProtCharacteristic(@Nullable UUID supProtCharacteristicUUID, @Nullable UUID supplyProtectionUUID, @Nullable Short supProtOrdinalNumberValue, @Nullable byte[] supProtCharcCtlgPathIntID, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable String characteristic, @Nullable SupplyProtection to_SupplyProtectionTP)
@Nonnull public Class<SupProtCharacteristic> getType()
getType
in class VdmObject<SupProtCharacteristic>
public void setSupProtCharacteristicUUID(@Nullable UUID supProtCharacteristicUUID)
Original property name from the Odata EDM: SupProtCharacteristicUUID
supProtCharacteristicUUID
- Characteristic UUIDpublic void setSupplyProtectionUUID(@Nullable UUID supplyProtectionUUID)
Original property name from the Odata EDM: SupplyProtectionUUID
supplyProtectionUUID
- UUIDpublic void setSupProtOrdinalNumberValue(@Nullable Short supProtOrdinalNumberValue)
Original property name from the Odata EDM: SupProtOrdinalNumberValue
supProtOrdinalNumberValue
- Ordinal Numberpublic void setSupProtCharcCtlgPathIntID(@Nullable byte[] supProtCharcCtlgPathIntID)
Original property name from the Odata EDM: SupProtCharcCtlgPathIntID
supProtCharcCtlgPathIntID
- Characteristic Catalog Path Internal IDpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Created By Userpublic void setCreationDateTime(@Nullable OffsetDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- Created On / Atpublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Last Changed By Userpublic void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Changed On / Atpublic void setCharacteristic(@Nullable String characteristic)
Original property name from the Odata EDM: Characteristic
characteristic
- Characteristicprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SupProtCharacteristic>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<SupProtCharacteristic>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<SupProtCharacteristic>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<SupProtCharacteristic>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SupProtCharacteristic>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<SupProtCharacteristic>
@Nonnull public io.vavr.control.Option<SupplyProtection> getSupplyProtectionTPIfPresent()
If the navigation property for an entity SupProtCharacteristic 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 setSupplyProtectionTP(SupplyProtection value)
value
- New SupplyProtection entity.@Nonnull public static SupProtCharacteristic.SupProtCharacteristicBuilder builder()
@Nullable public UUID getSupProtCharacteristicUUID()
Original property name from the Odata EDM: SupProtCharacteristicUUID
@Nullable public UUID getSupplyProtectionUUID()
Original property name from the Odata EDM: SupplyProtectionUUID
@Nullable public Short getSupProtOrdinalNumberValue()
Original property name from the Odata EDM: SupProtOrdinalNumberValue
@Nullable public byte[] getSupProtCharcCtlgPathIntID()
Original property name from the Odata EDM: SupProtCharcCtlgPathIntID
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public OffsetDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public OffsetDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public String getCharacteristic()
Original property name from the Odata EDM: Characteristic
@Nonnull public String toString()
toString
in class VdmObject<SupProtCharacteristic>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<SupProtCharacteristic>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<SupProtCharacteristic>
public int hashCode()
hashCode
in class VdmEntity<SupProtCharacteristic>
public String getOdataType()
getOdataType
in class VdmObject<SupProtCharacteristic>
Copyright © 2021 SAP SE. All rights reserved.