public class SitnDataContext extends VdmEntity<SitnDataContext>
Original entity name from the Odata EDM: A_SitnDataContextType
Modifier and Type | Class and Description |
---|---|
static class |
SitnDataContext.SitnDataContextBuilder |
Modifier and Type | Field and Description |
---|---|
static SitnDataContextSelectable |
ALL_FIELDS
Selector for all available fields of SitnDataContext.
|
static SitnDataContextField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static SitnDataContextField<String> |
SITN_DATA_CONTEXT
Use with available fluent helpers to apply the SitnDataContext field to query operations.
|
static SitnDataContextField<String> |
SITN_DATA_CONTEXT_ID
Use with available fluent helpers to apply the SitnDataContextID field to query operations.
|
static SitnDataContextField<String> |
SITN_DEF_TEMPLATE_ID
Use with available fluent helpers to apply the SitnDefTemplateID field to query operations.
|
static SitnDataContextField<String> |
SITN_DEFINITION_ID
Use with available fluent helpers to apply the SitnDefinitionID field to query operations.
|
static SitnDataContextField<String> |
SITN_INSTANCE_ID
Use with available fluent helpers to apply the SitnInstanceID field to query operations.
|
static SitnDataContextField<String> |
SITN_INSTCE_ACTIVITY_ID
Use with available fluent helpers to apply the SitnInstceActivityID field to query operations.
|
static SitnDataContextField<String> |
SITN_INSTCE_ACTY_TYPE
Use with available fluent helpers to apply the SitnInstceActyType field to query operations.
|
static SitnDataContextField<String> |
SITN_INSTCE_ANCHOR_OBJECT_KEY
Use with available fluent helpers to apply the SitnInstceAnchorObjectKey field to query operations.
|
static SitnDataContextField<String> |
SITN_INSTCE_STATUS
Use with available fluent helpers to apply the SitnInstceStatus field to query operations.
|
static SitnDataContextField<String> |
SITN_INSTCE_TRIGGER_OBJECT_KEY
Use with available fluent helpers to apply the SitnInstceTriggerObjectKey field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SitnDataContext() |
SitnDataContext(String sitnDataContextID,
String sitnInstceActivityID,
String sitnInstanceID,
ZonedDateTime creationDateTime,
String sitnInstceAnchorObjectKey,
String sitnInstceTriggerObjectKey,
String sitnInstceStatus,
String sitnInstceActyType,
String sitnDefinitionID,
String sitnDefTemplateID,
String sitnDataContext) |
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 SitnDataContext.SitnDataContextBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SitnDataContextField<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 |
getSitnDataContext()
Constraints: none
|
String |
getSitnDataContextID()
(Key Field) Constraints: Not nullable, Maximum length: 32
|
String |
getSitnDefinitionID()
Constraints: Not nullable, Maximum length: 32
|
String |
getSitnDefTemplateID()
Constraints: Not nullable, Maximum length: 32
|
String |
getSitnInstanceID()
Constraints: Not nullable, Maximum length: 32
|
String |
getSitnInstceActivityID()
Constraints: Not nullable, Maximum length: 32
|
String |
getSitnInstceActyType()
Constraints: Not nullable, Maximum length: 2
|
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<SitnDataContext> |
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 |
setSitnDataContext(String sitnDataContext)
Constraints: none
|
void |
setSitnDataContextID(String sitnDataContextID)
(Key Field) Constraints: Not nullable, Maximum length: 32
|
void |
setSitnDefinitionID(String sitnDefinitionID)
Constraints: Not nullable, Maximum length: 32
|
void |
setSitnDefTemplateID(String sitnDefTemplateID)
Constraints: Not nullable, Maximum length: 32
|
void |
setSitnInstanceID(String sitnInstanceID)
Constraints: Not nullable, Maximum length: 32
|
void |
setSitnInstceActivityID(String sitnInstceActivityID)
Constraints: Not nullable, Maximum length: 32
|
void |
setSitnInstceActyType(String sitnInstceActyType)
Constraints: Not nullable, Maximum length: 2
|
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 SitnDataContextSelectable ALL_FIELDS
public static final SitnDataContextField<String> SITN_DATA_CONTEXT_ID
public static final SitnDataContextField<String> SITN_INSTCE_ACTIVITY_ID
public static final SitnDataContextField<String> SITN_INSTANCE_ID
public static final SitnDataContextField<ZonedDateTime> CREATION_DATE_TIME
public static final SitnDataContextField<String> SITN_INSTCE_ANCHOR_OBJECT_KEY
public static final SitnDataContextField<String> SITN_INSTCE_TRIGGER_OBJECT_KEY
public static final SitnDataContextField<String> SITN_INSTCE_STATUS
public static final SitnDataContextField<String> SITN_INSTCE_ACTY_TYPE
public static final SitnDataContextField<String> SITN_DEFINITION_ID
public static final SitnDataContextField<String> SITN_DEF_TEMPLATE_ID
public static final SitnDataContextField<String> SITN_DATA_CONTEXT
public SitnDataContext()
public SitnDataContext(@Nullable String sitnDataContextID, @Nullable String sitnInstceActivityID, @Nullable String sitnInstanceID, @Nullable ZonedDateTime creationDateTime, @Nullable String sitnInstceAnchorObjectKey, @Nullable String sitnInstceTriggerObjectKey, @Nullable String sitnInstceStatus, @Nullable String sitnInstceActyType, @Nullable String sitnDefinitionID, @Nullable String sitnDefTemplateID, @Nullable String sitnDataContext)
@Nonnull public Class<SitnDataContext> getType()
getType
in class VdmObject<SitnDataContext>
public void setSitnDataContextID(@Nullable String sitnDataContextID)
Original property name from the Odata EDM: SitnDataContextID
sitnDataContextID
- Situation Data Context IDpublic void setSitnInstceActivityID(@Nullable String sitnInstceActivityID)
Original property name from the Odata EDM: SitnInstceActivityID
sitnInstceActivityID
- Unique ID of Situation Instance Activitypublic void setSitnInstanceID(@Nullable String sitnInstanceID)
Original property name from the Odata EDM: SitnInstanceID
sitnInstanceID
- Instance IDpublic 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 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 setSitnInstceActyType(@Nullable String sitnInstceActyType)
Original property name from the Odata EDM: SitnInstceActyType
sitnInstceActyType
- Instance Activity Typepublic void setSitnDefinitionID(@Nullable String sitnDefinitionID)
Original property name from the Odata EDM: SitnDefinitionID
sitnDefinitionID
- Situation Type IDpublic void setSitnDefTemplateID(@Nullable String sitnDefTemplateID)
Original property name from the Odata EDM: SitnDefTemplateID
sitnDefTemplateID
- Situation Standard Template IDpublic void setSitnDataContext(@Nullable String sitnDataContext)
Original property name from the Odata EDM: SitnDataContext
sitnDataContext
- Situation Data Context Dataprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SitnDataContext>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SitnDataContext>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SitnDataContext>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SitnDataContext>
@Nonnull public static <T> SitnDataContextField<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> SitnDataContextField<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<SitnDataContext>
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<SitnDataContext>
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<SitnDataContext>
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<SitnDataContext>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)public static SitnDataContext.SitnDataContextBuilder builder()
@Nullable public String getSitnDataContextID()
Original property name from the Odata EDM: SitnDataContextID
@Nullable public String getSitnInstceActivityID()
Original property name from the Odata EDM: SitnInstceActivityID
@Nullable public String getSitnInstanceID()
Original property name from the Odata EDM: SitnInstanceID
@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 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 String getSitnInstceActyType()
Original property name from the Odata EDM: SitnInstceActyType
@Nullable public String getSitnDefinitionID()
Original property name from the Odata EDM: SitnDefinitionID
@Nullable public String getSitnDefTemplateID()
Original property name from the Odata EDM: SitnDefTemplateID
@Nullable public String getSitnDataContext()
Original property name from the Odata EDM: SitnDataContext
public String toString()
toString
in class VdmObject<SitnDataContext>
public boolean equals(Object o)
equals
in class VdmObject<SitnDataContext>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<SitnDataContext>
public int hashCode()
hashCode
in class VdmObject<SitnDataContext>
Copyright © 2020 SAP SE. All rights reserved.