public class SitnInstance extends VdmEntity<SitnInstance>
Original entity name from the Odata EDM: A_SitnInstanceType
Modifier and Type | Class and Description |
---|---|
static class |
SitnInstance.SitnInstanceBuilder |
Modifier and Type | Field and Description |
---|---|
static SitnInstanceSelectable |
ALL_FIELDS
Selector for all available fields of SitnInstance.
|
static SitnInstanceField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static SitnInstanceField<String> |
SITN_DEF_ANCHOR_OBJECT
Use with available fluent helpers to apply the SitnDefAnchorObject field to query operations.
|
static SitnInstanceField<String> |
SITN_DEF_TEMPLATE_ID
Use with available fluent helpers to apply the SitnDefTemplateID field to query operations.
|
static SitnInstanceField<String> |
SITN_DEFINITION_ID
Use with available fluent helpers to apply the SitnDefinitionID field to query operations.
|
static SitnInstanceField<String> |
SITN_INSTANCE_ID
Use with available fluent helpers to apply the SitnInstanceID field to query operations.
|
static SitnInstanceField<String> |
SITN_INSTCE_ANCHOR_OBJECT_KEY
Use with available fluent helpers to apply the SitnInstceAnchorObjectKey field to query operations.
|
static SitnInstanceField<String> |
SITN_INSTCE_STATUS
Use with available fluent helpers to apply the SitnInstceStatus field to query operations.
|
static SitnInstanceField<String> |
SITN_INSTCE_TRIGGER_OBJECT_KEY
Use with available fluent helpers to apply the SitnInstceTriggerObjectKey field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SitnInstance() |
SitnInstance(String sitnInstanceID,
String sitnDefinitionID,
String sitnInstceAnchorObjectKey,
String sitnInstceTriggerObjectKey,
String sitnInstceStatus,
ZonedDateTime creationDateTime,
String sitnDefAnchorObject,
String sitnDefTemplateID) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static SitnInstance.SitnInstanceBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SitnInstanceField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 7
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getSitnDefAnchorObject()
Constraints: Not nullable, Maximum length: 30
|
String |
getSitnDefinitionID()
Constraints: Not nullable, Maximum length: 32
|
String |
getSitnDefTemplateID()
Constraints: Not nullable, Maximum length: 32
|
String |
getSitnInstanceID()
(Key Field) Constraints: Not nullable, Maximum length: 32
|
String |
getSitnInstceAnchorObjectKey()
Constraints: Not nullable, Maximum length: 70
|
String |
getSitnInstceStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getSitnInstceTriggerObjectKey()
Constraints: Not nullable, Maximum length: 70
|
Class<SitnInstance> |
getType() |
int |
hashCode() |
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 7
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSitnDefAnchorObject(String sitnDefAnchorObject)
Constraints: Not nullable, Maximum length: 30
|
void |
setSitnDefinitionID(String sitnDefinitionID)
Constraints: Not nullable, Maximum length: 32
|
void |
setSitnDefTemplateID(String sitnDefTemplateID)
Constraints: Not nullable, Maximum length: 32
|
void |
setSitnInstanceID(String sitnInstanceID)
(Key Field) Constraints: Not nullable, Maximum length: 32
|
void |
setSitnInstceAnchorObjectKey(String sitnInstceAnchorObjectKey)
Constraints: Not nullable, Maximum length: 70
|
void |
setSitnInstceStatus(String sitnInstceStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setSitnInstceTriggerObjectKey(String sitnInstceTriggerObjectKey)
Constraints: Not nullable, Maximum length: 70
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final SitnInstanceSelectable ALL_FIELDS
public static final SitnInstanceField<String> SITN_INSTANCE_ID
public static final SitnInstanceField<String> SITN_DEFINITION_ID
public static final SitnInstanceField<String> SITN_INSTCE_ANCHOR_OBJECT_KEY
public static final SitnInstanceField<String> SITN_INSTCE_TRIGGER_OBJECT_KEY
public static final SitnInstanceField<String> SITN_INSTCE_STATUS
public static final SitnInstanceField<ZonedDateTime> CREATION_DATE_TIME
public static final SitnInstanceField<String> SITN_DEF_ANCHOR_OBJECT
public static final SitnInstanceField<String> SITN_DEF_TEMPLATE_ID
public SitnInstance()
public SitnInstance(@Nullable String sitnInstanceID, @Nullable String sitnDefinitionID, @Nullable String sitnInstceAnchorObjectKey, @Nullable String sitnInstceTriggerObjectKey, @Nullable String sitnInstceStatus, @Nullable ZonedDateTime creationDateTime, @Nullable String sitnDefAnchorObject, @Nullable String sitnDefTemplateID)
@Nonnull public Class<SitnInstance> getType()
getType
in class VdmObject<SitnInstance>
public void setSitnInstanceID(@Nullable String sitnInstanceID)
Original property name from the Odata EDM: SitnInstanceID
sitnInstanceID
- Instance IDpublic void setSitnDefinitionID(@Nullable String sitnDefinitionID)
Original property name from the Odata EDM: SitnDefinitionID
sitnDefinitionID
- Situation Type IDpublic void setSitnInstceAnchorObjectKey(@Nullable String sitnInstceAnchorObjectKey)
Original property name from the Odata EDM: SitnInstceAnchorObjectKey
sitnInstceAnchorObjectKey
- Anchor Object Keypublic void setSitnInstceTriggerObjectKey(@Nullable String sitnInstceTriggerObjectKey)
Original property name from the Odata EDM: SitnInstceTriggerObjectKey
sitnInstceTriggerObjectKey
- Trigger Object Keypublic void setSitnInstceStatus(@Nullable String sitnInstceStatus)
Original property name from the Odata EDM: SitnInstceStatus
sitnInstceStatus
- Instance Statuspublic void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.
creationDateTime
- The UTC timestamp displays date and time according to UTC (Universal Coordinated Time).public void setSitnDefAnchorObject(@Nullable String sitnDefAnchorObject)
Original property name from the Odata EDM: SitnDefAnchorObject
sitnDefAnchorObject
- Situation Anchor Object Typepublic void setSitnDefTemplateID(@Nullable String sitnDefTemplateID)
Original property name from the Odata EDM: SitnDefTemplateID
sitnDefTemplateID
- Situation Standard Template IDprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SitnInstance>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SitnInstance>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SitnInstance>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SitnInstance>
@Nonnull public static <T> SitnInstanceField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> SitnInstanceField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<SitnInstance>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<SitnInstance>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<SitnInstance>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SitnInstance>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)public static SitnInstance.SitnInstanceBuilder builder()
@Nullable public String getSitnInstanceID()
Original property name from the Odata EDM: SitnInstanceID
@Nullable public String getSitnDefinitionID()
Original property name from the Odata EDM: SitnDefinitionID
@Nullable public String getSitnInstceAnchorObjectKey()
Original property name from the Odata EDM: SitnInstceAnchorObjectKey
@Nullable public String getSitnInstceTriggerObjectKey()
Original property name from the Odata EDM: SitnInstceTriggerObjectKey
@Nullable public String getSitnInstceStatus()
Original property name from the Odata EDM: SitnInstceStatus
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.
@Nullable public String getSitnDefAnchorObject()
Original property name from the Odata EDM: SitnDefAnchorObject
@Nullable public String getSitnDefTemplateID()
Original property name from the Odata EDM: SitnDefTemplateID
public String toString()
toString
in class VdmObject<SitnInstance>
public boolean equals(Object o)
equals
in class VdmObject<SitnInstance>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<SitnInstance>
public int hashCode()
hashCode
in class VdmObject<SitnInstance>
Copyright © 2020 SAP SE. All rights reserved.