Class EntityRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class EntityRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for EntityRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public HoldingIdentity
holdingIdentity
public HoldingIdentity.Builder
holdingIdentityBuilder
public Object
request
public ExternalEventContext
flowExternalEventContext
public ExternalEventContext.Builder
flowExternalEventContextBuilder
-
Method Summary
Modifier and Type Method Description HoldingIdentity
getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. EntityRequest.Builder
setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. HoldingIdentity.Builder
getHoldingIdentityBuilder()
Gets the Builder instance for the 'holdingIdentity' field and creates one if it doesn't exist yet. EntityRequest.Builder
setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field The holding identity of the user making the db request. Object
getRequest()
Gets the value of the 'request' field. EntityRequest.Builder
setRequest(Object value)
Sets the value of the 'request' field. ExternalEventContext
getFlowExternalEventContext()
Gets the value of the 'flowExternalEventContext' field. EntityRequest.Builder
setFlowExternalEventContext(ExternalEventContext value)
Sets the value of the 'flowExternalEventContext' field. ExternalEventContext.Builder
getFlowExternalEventContextBuilder()
Gets the Builder instance for the 'flowExternalEventContext' field and creates one if it doesn't exist yet. EntityRequest.Builder
setFlowExternalEventContextBuilder(ExternalEventContext.Builder value)
Sets the Builder instance for the 'flowExternalEventContext' field The context of the external event that this request was sent from. boolean
hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. boolean
hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance The holding identity of the user making the db request. EntityRequest.Builder
clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. boolean
hasRequest()
Checks whether the 'request' field has been set. EntityRequest.Builder
clearRequest()
Clears the value of the 'request' field. boolean
hasFlowExternalEventContext()
Checks whether the 'flowExternalEventContext' field has been set. boolean
hasFlowExternalEventContextBuilder()
Checks whether the 'flowExternalEventContext' field has an active Builder instance The context of the external event that this request was sent from. EntityRequest.Builder
clearFlowExternalEventContext()
Clears the value of the 'flowExternalEventContext' field. EntityRequest
build()
-
-
Method Detail
-
getHoldingIdentity
HoldingIdentity getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. The holding identity of the user making the db request.
-
setHoldingIdentity
EntityRequest.Builder setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. The holding identity of the user making the db request.
- Parameters:
value
- The value of 'holdingIdentity'.
-
getHoldingIdentityBuilder
HoldingIdentity.Builder getHoldingIdentityBuilder()
Gets the Builder instance for the 'holdingIdentity' field and creates one if it doesn't exist yet. The holding identity of the user making the db request.
-
setHoldingIdentityBuilder
EntityRequest.Builder setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field The holding identity of the user making the db request.
- Parameters:
value
- The builder instance that must be set.
-
getRequest
Object getRequest()
Gets the value of the 'request' field. The 'request' that we wish to make to the persistence API.
-
setRequest
EntityRequest.Builder setRequest(Object value)
Sets the value of the 'request' field. The 'request' that we wish to make to the persistence API.
- Parameters:
value
- The value of 'request'.
-
getFlowExternalEventContext
ExternalEventContext getFlowExternalEventContext()
Gets the value of the 'flowExternalEventContext' field. The context of the external event that this request was sent from.
-
setFlowExternalEventContext
EntityRequest.Builder setFlowExternalEventContext(ExternalEventContext value)
Sets the value of the 'flowExternalEventContext' field. The context of the external event that this request was sent from.
- Parameters:
value
- The value of 'flowExternalEventContext'.
-
getFlowExternalEventContextBuilder
ExternalEventContext.Builder getFlowExternalEventContextBuilder()
Gets the Builder instance for the 'flowExternalEventContext' field and creates one if it doesn't exist yet. The context of the external event that this request was sent from.
-
setFlowExternalEventContextBuilder
EntityRequest.Builder setFlowExternalEventContextBuilder(ExternalEventContext.Builder value)
Sets the Builder instance for the 'flowExternalEventContext' field The context of the external event that this request was sent from.
- Parameters:
value
- The builder instance that must be set.
-
hasHoldingIdentity
boolean hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. The holding identity of the user making the db request.
-
hasHoldingIdentityBuilder
boolean hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance The holding identity of the user making the db request.
-
clearHoldingIdentity
EntityRequest.Builder clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. The holding identity of the user making the db request.
-
hasRequest
boolean hasRequest()
Checks whether the 'request' field has been set. The 'request' that we wish to make to the persistence API.
-
clearRequest
EntityRequest.Builder clearRequest()
Clears the value of the 'request' field. The 'request' that we wish to make to the persistence API.
-
hasFlowExternalEventContext
boolean hasFlowExternalEventContext()
Checks whether the 'flowExternalEventContext' field has been set. The context of the external event that this request was sent from.
-
hasFlowExternalEventContextBuilder
boolean hasFlowExternalEventContextBuilder()
Checks whether the 'flowExternalEventContext' field has an active Builder instance The context of the external event that this request was sent from.
-
clearFlowExternalEventContext
EntityRequest.Builder clearFlowExternalEventContext()
Clears the value of the 'flowExternalEventContext' field. The context of the external event that this request was sent from.
-
build
EntityRequest build()
-
-
-
-