public class ChangeTrackedEntity extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected IdentitySet |
lastModifiedBy |
protected OffsetDateTime |
lastModifiedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ChangeTrackedEntity() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
Org.OData.Core.V1.Computed
|
Optional<IdentitySet> |
getLastModifiedBy()
Org.OData.Core.V1.Computed
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
Org.OData.Core.V1.Computed
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ChangeTrackedEntity |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ChangeTrackedEntity |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
stageForDeletion() |
String |
toString() |
ChangeTrackedEntity |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
ChangeTrackedEntity |
withLastModifiedBy(IdentitySet lastModifiedBy)
Returns an immutable copy of
this with just the lastModifiedBy
field changed. |
ChangeTrackedEntity |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected IdentitySet lastModifiedBy
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getCreatedDateTime()
Org.OData.Core.V1.Computed
true
public ChangeTrackedEntity withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
Org.OData.Core.V1.Computed
true
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
Org.OData.Core.V1.Computed
true
public ChangeTrackedEntity withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
Org.OData.Core.V1.Computed
true
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<IdentitySet> getLastModifiedBy()
Org.OData.Core.V1.Computed
true
public ChangeTrackedEntity withLastModifiedBy(IdentitySet lastModifiedBy)
this with just the lastModifiedBy
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
Org.OData.Core.V1.Computed
true
lastModifiedBy - new value of lastModifiedBy field (as defined in service metadata)this with just the lastModifiedBy field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ChangeTrackedEntity patch()
this with changed fields reset.public ChangeTrackedEntity put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn stageForDeletion()
Copyright © 2018–2020. All rights reserved.