Class ApprovalRulePredicateSetMessageImpl
- All Implemented Interfaces:
BaseResource
,DomainResource<Message>
,Identifiable<Message>
,ApprovalRulePredicateSetMessage
,Message
,Versioned<Message>
,io.vrap.rmf.base.client.ModelBase
Generated after a successful Set Predicate update action.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.message.ApprovalRulePredicateSetMessage
APPROVAL_RULE_PREDICATE_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Date and time (UTC) the Message was generated.Present on resources created after 1 February 2019 except for events not tracked.getId()
Unique identifier of the Message.Value ofcreatedAt
.Value ofcreatedBy
.Name of the ApprovalRule before the Set Predicate update action.Name of the ApprovalRule after the Set Predicate update action.Reference to the resource on which the change or action was performed.User-provided identifiers of the resource, such askey
orexternalId
.Version of the resource on which the change or action was performed.Message number in relation to other Messages for a given resource.getType()
Message Type of the Message.Version of a resource.int
hashCode()
void
setCreatedAt
(ZonedDateTime createdAt) Date and time (UTC) the Message was generated.void
setCreatedBy
(CreatedBy createdBy) Present on resources created after 1 February 2019 except for events not tracked.void
Unique identifier of the Message.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) Value ofcreatedAt
.void
setLastModifiedBy
(LastModifiedBy lastModifiedBy) Value ofcreatedBy
.void
setOldPredicate
(String oldPredicate) Name of the ApprovalRule before the Set Predicate update action.void
setPredicate
(String predicate) Name of the ApprovalRule after the Set Predicate update action.void
setResource
(Reference resource) Reference to the resource on which the change or action was performed.void
setResourceUserProvidedIdentifiers
(UserProvidedIdentifiers resourceUserProvidedIdentifiers) User-provided identifiers of the resource, such askey
orexternalId
.void
setResourceVersion
(Long resourceVersion) Version of the resource on which the change or action was performed.void
setSequenceNumber
(Long sequenceNumber) Message number in relation to other Messages for a given resource.void
setVersion
(Long version) Version of a resource.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.message.ApprovalRulePredicateSetMessage
withApprovalRulePredicateSetMessage
Methods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface com.commercetools.api.models.DomainResource
get
Methods inherited from interface com.commercetools.api.models.message.Message
withMessage
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ApprovalRulePredicateSetMessageImpl
public ApprovalRulePredicateSetMessageImpl()create empty instance
-
-
Method Details
-
getId
Unique identifier of the Message. Can be used to track which Messages have been processed.
- Specified by:
getId
in interfaceBaseResource
- Specified by:
getId
in interfaceDomainResource<Message>
- Specified by:
getId
in interfaceIdentifiable<Message>
- Specified by:
getId
in interfaceMessage
- Specified by:
getId
in interfaceVersioned<Message>
- Returns:
- id
-
getVersion
Version of a resource. In case of Messages, this is always
1
.- Specified by:
getVersion
in interfaceBaseResource
- Specified by:
getVersion
in interfaceDomainResource<Message>
- Specified by:
getVersion
in interfaceMessage
- Specified by:
getVersion
in interfaceVersioned<Message>
- Returns:
- version
-
getCreatedAt
Date and time (UTC) the Message was generated.
- Specified by:
getCreatedAt
in interfaceBaseResource
- Specified by:
getCreatedAt
in interfaceMessage
- Returns:
- createdAt
-
getLastModifiedAt
Value of
createdAt
.- Specified by:
getLastModifiedAt
in interfaceBaseResource
- Specified by:
getLastModifiedAt
in interfaceMessage
- Returns:
- lastModifiedAt
-
getLastModifiedBy
Value of
createdBy
.- Specified by:
getLastModifiedBy
in interfaceMessage
- Returns:
- lastModifiedBy
-
getCreatedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getCreatedBy
in interfaceMessage
- Returns:
- createdBy
-
getSequenceNumber
Message number in relation to other Messages for a given resource. The
sequenceNumber
of the next Message for the resource is the successor of thesequenceNumber
of the current Message. Meaning, thesequenceNumber
of the next Message equals thesequenceNumber
of the current Message + 1.sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.- Specified by:
getSequenceNumber
in interfaceMessage
- Returns:
- sequenceNumber
-
getResource
Reference to the resource on which the change or action was performed.
- Specified by:
getResource
in interfaceMessage
- Returns:
- resource
-
getResourceVersion
Version of the resource on which the change or action was performed.
- Specified by:
getResourceVersion
in interfaceMessage
- Returns:
- resourceVersion
-
getType
Message Type of the Message.
-
getResourceUserProvidedIdentifiers
User-provided identifiers of the resource, such as
key
orexternalId
. Only present if the resource has such identifiers.- Specified by:
getResourceUserProvidedIdentifiers
in interfaceMessage
- Returns:
- resourceUserProvidedIdentifiers
-
getPredicate
Name of the ApprovalRule after the Set Predicate update action.
- Specified by:
getPredicate
in interfaceApprovalRulePredicateSetMessage
- Returns:
- predicate
-
getOldPredicate
Name of the ApprovalRule before the Set Predicate update action.
- Specified by:
getOldPredicate
in interfaceApprovalRulePredicateSetMessage
- Returns:
- oldPredicate
-
setId
Description copied from interface:Message
Unique identifier of the Message. Can be used to track which Messages have been processed.
- Specified by:
setId
in interfaceBaseResource
- Specified by:
setId
in interfaceMessage
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:Message
Version of a resource. In case of Messages, this is always
1
.- Specified by:
setVersion
in interfaceBaseResource
- Specified by:
setVersion
in interfaceMessage
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:Message
Date and time (UTC) the Message was generated.
- Specified by:
setCreatedAt
in interfaceBaseResource
- Specified by:
setCreatedAt
in interfaceMessage
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:Message
Value of
createdAt
.- Specified by:
setLastModifiedAt
in interfaceBaseResource
- Specified by:
setLastModifiedAt
in interfaceMessage
- Parameters:
lastModifiedAt
- value to be set
-
setLastModifiedBy
Description copied from interface:Message
Value of
createdBy
.- Specified by:
setLastModifiedBy
in interfaceMessage
- Parameters:
lastModifiedBy
- value to be set
-
setCreatedBy
Description copied from interface:Message
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setCreatedBy
in interfaceMessage
- Parameters:
createdBy
- value to be set
-
setSequenceNumber
Description copied from interface:Message
Message number in relation to other Messages for a given resource. The
sequenceNumber
of the next Message for the resource is the successor of thesequenceNumber
of the current Message. Meaning, thesequenceNumber
of the next Message equals thesequenceNumber
of the current Message + 1.sequenceNumber
can be used to ensure that Messages are processed in the correct order for a particular resource.- Specified by:
setSequenceNumber
in interfaceMessage
- Parameters:
sequenceNumber
- value to be set
-
setResource
Description copied from interface:Message
Reference to the resource on which the change or action was performed.
- Specified by:
setResource
in interfaceMessage
- Parameters:
resource
- value to be set
-
setResourceVersion
Description copied from interface:Message
Version of the resource on which the change or action was performed.
- Specified by:
setResourceVersion
in interfaceMessage
- Parameters:
resourceVersion
- value to be set
-
setResourceUserProvidedIdentifiers
public void setResourceUserProvidedIdentifiers(UserProvidedIdentifiers resourceUserProvidedIdentifiers) Description copied from interface:Message
User-provided identifiers of the resource, such as
key
orexternalId
. Only present if the resource has such identifiers.- Specified by:
setResourceUserProvidedIdentifiers
in interfaceMessage
- Parameters:
resourceUserProvidedIdentifiers
- value to be set
-
setPredicate
Description copied from interface:ApprovalRulePredicateSetMessage
Name of the ApprovalRule after the Set Predicate update action.
- Specified by:
setPredicate
in interfaceApprovalRulePredicateSetMessage
- Parameters:
predicate
- value to be set
-
setOldPredicate
Description copied from interface:ApprovalRulePredicateSetMessage
Name of the ApprovalRule before the Set Predicate update action.
- Specified by:
setOldPredicate
in interfaceApprovalRulePredicateSetMessage
- Parameters:
oldPredicate
- value to be set
-
equals
-
hashCode
public int hashCode()
-