Class RegistrationRequestDetails.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class RegistrationRequestDetails.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for RegistrationRequestDetails instances.
-
-
Field Summary
Fields Modifier and Type Field Description public Instant
registrationSent
public Instant
registrationLastModified
public RegistrationStatus
registrationStatus
public String
registrationId
public String
holdingIdentityId
public int
registrationProtocolVersion
public SignedData
memberProvidedContext
public SignedData.Builder
memberProvidedContextBuilder
public SignedData
registrationContext
public SignedData.Builder
registrationContextBuilder
public String
reason
public Long
serial
-
Method Summary
Modifier and Type Method Description Instant
getRegistrationSent()
Gets the value of the 'registrationSent' field. RegistrationRequestDetails.Builder
setRegistrationSent(Instant value)
Sets the value of the 'registrationSent' field. Instant
getRegistrationLastModified()
Gets the value of the 'registrationLastModified' field. RegistrationRequestDetails.Builder
setRegistrationLastModified(Instant value)
Sets the value of the 'registrationLastModified' field. RegistrationStatus
getRegistrationStatus()
Gets the value of the 'registrationStatus' field. RegistrationRequestDetails.Builder
setRegistrationStatus(RegistrationStatus value)
Sets the value of the 'registrationStatus' field. String
getRegistrationId()
Gets the value of the 'registrationId' field. RegistrationRequestDetails.Builder
setRegistrationId(String value)
Sets the value of the 'registrationId' field. String
getHoldingIdentityId()
Gets the value of the 'holdingIdentityId' field. RegistrationRequestDetails.Builder
setHoldingIdentityId(String value)
Sets the value of the 'holdingIdentityId' field. int
getRegistrationProtocolVersion()
Gets the value of the 'registrationProtocolVersion' field. RegistrationRequestDetails.Builder
setRegistrationProtocolVersion(int value)
Sets the value of the 'registrationProtocolVersion' field. SignedData
getMemberProvidedContext()
Gets the value of the 'memberProvidedContext' field. RegistrationRequestDetails.Builder
setMemberProvidedContext(SignedData value)
Sets the value of the 'memberProvidedContext' field. SignedData.Builder
getMemberProvidedContextBuilder()
Gets the Builder instance for the 'memberProvidedContext' field and creates one if it doesn't exist yet. RegistrationRequestDetails.Builder
setMemberProvidedContextBuilder(SignedData.Builder value)
Sets the Builder instance for the 'memberProvidedContext' field Member provided data in MemberInfo which has been signed by the registering member. SignedData
getRegistrationContext()
Gets the value of the 'registrationContext' field. RegistrationRequestDetails.Builder
setRegistrationContext(SignedData value)
Sets the value of the 'registrationContext' field. SignedData.Builder
getRegistrationContextBuilder()
Gets the Builder instance for the 'registrationContext' field and creates one if it doesn't exist yet. RegistrationRequestDetails.Builder
setRegistrationContextBuilder(SignedData.Builder value)
Sets the Builder instance for the 'registrationContext' field Additional registration context which has been signed by the registering member and is not part of the MemberInfo (e.g. String
getReason()
Gets the value of the 'reason' field. RegistrationRequestDetails.Builder
setReason(String value)
Sets the value of the 'reason' field. Long
getSerial()
Gets the value of the 'serial' field. RegistrationRequestDetails.Builder
setSerial(Long value)
Sets the value of the 'serial' field. boolean
hasRegistrationSent()
Checks whether the 'registrationSent' field has been set. RegistrationRequestDetails.Builder
clearRegistrationSent()
Clears the value of the 'registrationSent' field. boolean
hasRegistrationLastModified()
Checks whether the 'registrationLastModified' field has been set. RegistrationRequestDetails.Builder
clearRegistrationLastModified()
Clears the value of the 'registrationLastModified' field. boolean
hasRegistrationStatus()
Checks whether the 'registrationStatus' field has been set. RegistrationRequestDetails.Builder
clearRegistrationStatus()
Clears the value of the 'registrationStatus' field. boolean
hasRegistrationId()
Checks whether the 'registrationId' field has been set. RegistrationRequestDetails.Builder
clearRegistrationId()
Clears the value of the 'registrationId' field. boolean
hasHoldingIdentityId()
Checks whether the 'holdingIdentityId' field has been set. RegistrationRequestDetails.Builder
clearHoldingIdentityId()
Clears the value of the 'holdingIdentityId' field. boolean
hasRegistrationProtocolVersion()
Checks whether the 'registrationProtocolVersion' field has been set. RegistrationRequestDetails.Builder
clearRegistrationProtocolVersion()
Clears the value of the 'registrationProtocolVersion' field. boolean
hasMemberProvidedContext()
Checks whether the 'memberProvidedContext' field has been set. boolean
hasMemberProvidedContextBuilder()
Checks whether the 'memberProvidedContext' field has an active Builder instance Member provided data in MemberInfo which has been signed by the registering member. RegistrationRequestDetails.Builder
clearMemberProvidedContext()
Clears the value of the 'memberProvidedContext' field. boolean
hasRegistrationContext()
Checks whether the 'registrationContext' field has been set. boolean
hasRegistrationContextBuilder()
Checks whether the 'registrationContext' field has an active Builder instance Additional registration context which has been signed by the registering member and is not part of the MemberInfo (e.g. RegistrationRequestDetails.Builder
clearRegistrationContext()
Clears the value of the 'registrationContext' field. boolean
hasReason()
Checks whether the 'reason' field has been set. RegistrationRequestDetails.Builder
clearReason()
Clears the value of the 'reason' field. boolean
hasSerial()
Checks whether the 'serial' field has been set. RegistrationRequestDetails.Builder
clearSerial()
Clears the value of the 'serial' field. RegistrationRequestDetails
build()
-
-
Method Detail
-
getRegistrationSent
Instant getRegistrationSent()
Gets the value of the 'registrationSent' field. Time ([Instant]) in milliseconds when the registration request was sent.
-
setRegistrationSent
RegistrationRequestDetails.Builder setRegistrationSent(Instant value)
Sets the value of the 'registrationSent' field. Time ([Instant]) in milliseconds when the registration request was sent.
- Parameters:
value
- The value of 'registrationSent'.
-
getRegistrationLastModified
Instant getRegistrationLastModified()
Gets the value of the 'registrationLastModified' field. Time ([Instant]) in milliseconds when the registration request was modified.
-
setRegistrationLastModified
RegistrationRequestDetails.Builder setRegistrationLastModified(Instant value)
Sets the value of the 'registrationLastModified' field. Time ([Instant]) in milliseconds when the registration request was modified.
- Parameters:
value
- The value of 'registrationLastModified'.
-
getRegistrationStatus
RegistrationStatus getRegistrationStatus()
Gets the value of the 'registrationStatus' field. Status of the registration request.
-
setRegistrationStatus
RegistrationRequestDetails.Builder setRegistrationStatus(RegistrationStatus value)
Sets the value of the 'registrationStatus' field. Status of the registration request.
- Parameters:
value
- The value of 'registrationStatus'.
-
getRegistrationId
String getRegistrationId()
Gets the value of the 'registrationId' field. ID of the registration request.
-
setRegistrationId
RegistrationRequestDetails.Builder setRegistrationId(String value)
Sets the value of the 'registrationId' field. ID of the registration request.
- Parameters:
value
- The value of 'registrationId'.
-
getHoldingIdentityId
String getHoldingIdentityId()
Gets the value of the 'holdingIdentityId' field. ID of the owner of this registration request.
-
setHoldingIdentityId
RegistrationRequestDetails.Builder setHoldingIdentityId(String value)
Sets the value of the 'holdingIdentityId' field. ID of the owner of this registration request.
- Parameters:
value
- The value of 'holdingIdentityId'.
-
getRegistrationProtocolVersion
int getRegistrationProtocolVersion()
Gets the value of the 'registrationProtocolVersion' field. Registration protocol number.
-
setRegistrationProtocolVersion
RegistrationRequestDetails.Builder setRegistrationProtocolVersion(int value)
Sets the value of the 'registrationProtocolVersion' field. Registration protocol number.
- Parameters:
value
- The value of 'registrationProtocolVersion'.
-
getMemberProvidedContext
SignedData getMemberProvidedContext()
Gets the value of the 'memberProvidedContext' field. Member provided data in MemberInfo which has been signed by the registering member. The data must be a serialised KeyValuePairList.
-
setMemberProvidedContext
RegistrationRequestDetails.Builder setMemberProvidedContext(SignedData value)
Sets the value of the 'memberProvidedContext' field. Member provided data in MemberInfo which has been signed by the registering member. The data must be a serialised KeyValuePairList.
- Parameters:
value
- The value of 'memberProvidedContext'.
-
getMemberProvidedContextBuilder
SignedData.Builder getMemberProvidedContextBuilder()
Gets the Builder instance for the 'memberProvidedContext' field and creates one if it doesn't exist yet. Member provided data in MemberInfo which has been signed by the registering member. The data must be a serialised KeyValuePairList.
-
setMemberProvidedContextBuilder
RegistrationRequestDetails.Builder setMemberProvidedContextBuilder(SignedData.Builder value)
Sets the Builder instance for the 'memberProvidedContext' field Member provided data in MemberInfo which has been signed by the registering member. The data must be a serialised KeyValuePairList.
- Parameters:
value
- The builder instance that must be set.
-
getRegistrationContext
SignedData getRegistrationContext()
Gets the value of the 'registrationContext' field. Additional registration context which has been signed by the registering member and is not part of the MemberInfo (e.g. pre-auth token). The data must be a serialised KeyValuePairList.
-
setRegistrationContext
RegistrationRequestDetails.Builder setRegistrationContext(SignedData value)
Sets the value of the 'registrationContext' field. Additional registration context which has been signed by the registering member and is not part of the MemberInfo (e.g. pre-auth token). The data must be a serialised KeyValuePairList.
- Parameters:
value
- The value of 'registrationContext'.
-
getRegistrationContextBuilder
SignedData.Builder getRegistrationContextBuilder()
Gets the Builder instance for the 'registrationContext' field and creates one if it doesn't exist yet. Additional registration context which has been signed by the registering member and is not part of the MemberInfo (e.g. pre-auth token). The data must be a serialised KeyValuePairList.
-
setRegistrationContextBuilder
RegistrationRequestDetails.Builder setRegistrationContextBuilder(SignedData.Builder value)
Sets the Builder instance for the 'registrationContext' field Additional registration context which has been signed by the registering member and is not part of the MemberInfo (e.g. pre-auth token). The data must be a serialised KeyValuePairList.
- Parameters:
value
- The builder instance that must be set.
-
getReason
String getReason()
Gets the value of the 'reason' field. Reason why the request is in the status specified by [registrationStatus].
-
setReason
RegistrationRequestDetails.Builder setReason(String value)
Sets the value of the 'reason' field. Reason why the request is in the status specified by [registrationStatus].
- Parameters:
value
- The value of 'reason'.
-
getSerial
Long getSerial()
Gets the value of the 'serial' field. The version of the member info the member saw when they submitted their registration.
-
setSerial
RegistrationRequestDetails.Builder setSerial(Long value)
Sets the value of the 'serial' field. The version of the member info the member saw when they submitted their registration.
- Parameters:
value
- The value of 'serial'.
-
hasRegistrationSent
boolean hasRegistrationSent()
Checks whether the 'registrationSent' field has been set. Time ([Instant]) in milliseconds when the registration request was sent.
-
clearRegistrationSent
RegistrationRequestDetails.Builder clearRegistrationSent()
Clears the value of the 'registrationSent' field. Time ([Instant]) in milliseconds when the registration request was sent.
-
hasRegistrationLastModified
boolean hasRegistrationLastModified()
Checks whether the 'registrationLastModified' field has been set. Time ([Instant]) in milliseconds when the registration request was modified.
-
clearRegistrationLastModified
RegistrationRequestDetails.Builder clearRegistrationLastModified()
Clears the value of the 'registrationLastModified' field. Time ([Instant]) in milliseconds when the registration request was modified.
-
hasRegistrationStatus
boolean hasRegistrationStatus()
Checks whether the 'registrationStatus' field has been set. Status of the registration request.
-
clearRegistrationStatus
RegistrationRequestDetails.Builder clearRegistrationStatus()
Clears the value of the 'registrationStatus' field. Status of the registration request.
-
hasRegistrationId
boolean hasRegistrationId()
Checks whether the 'registrationId' field has been set. ID of the registration request.
-
clearRegistrationId
RegistrationRequestDetails.Builder clearRegistrationId()
Clears the value of the 'registrationId' field. ID of the registration request.
-
hasHoldingIdentityId
boolean hasHoldingIdentityId()
Checks whether the 'holdingIdentityId' field has been set. ID of the owner of this registration request.
-
clearHoldingIdentityId
RegistrationRequestDetails.Builder clearHoldingIdentityId()
Clears the value of the 'holdingIdentityId' field. ID of the owner of this registration request.
-
hasRegistrationProtocolVersion
boolean hasRegistrationProtocolVersion()
Checks whether the 'registrationProtocolVersion' field has been set. Registration protocol number.
-
clearRegistrationProtocolVersion
RegistrationRequestDetails.Builder clearRegistrationProtocolVersion()
Clears the value of the 'registrationProtocolVersion' field. Registration protocol number.
-
hasMemberProvidedContext
boolean hasMemberProvidedContext()
Checks whether the 'memberProvidedContext' field has been set. Member provided data in MemberInfo which has been signed by the registering member. The data must be a serialised KeyValuePairList.
-
hasMemberProvidedContextBuilder
boolean hasMemberProvidedContextBuilder()
Checks whether the 'memberProvidedContext' field has an active Builder instance Member provided data in MemberInfo which has been signed by the registering member. The data must be a serialised KeyValuePairList.
-
clearMemberProvidedContext
RegistrationRequestDetails.Builder clearMemberProvidedContext()
Clears the value of the 'memberProvidedContext' field. Member provided data in MemberInfo which has been signed by the registering member. The data must be a serialised KeyValuePairList.
-
hasRegistrationContext
boolean hasRegistrationContext()
Checks whether the 'registrationContext' field has been set. Additional registration context which has been signed by the registering member and is not part of the MemberInfo (e.g. pre-auth token). The data must be a serialised KeyValuePairList.
-
hasRegistrationContextBuilder
boolean hasRegistrationContextBuilder()
Checks whether the 'registrationContext' field has an active Builder instance Additional registration context which has been signed by the registering member and is not part of the MemberInfo (e.g. pre-auth token). The data must be a serialised KeyValuePairList.
-
clearRegistrationContext
RegistrationRequestDetails.Builder clearRegistrationContext()
Clears the value of the 'registrationContext' field. Additional registration context which has been signed by the registering member and is not part of the MemberInfo (e.g. pre-auth token). The data must be a serialised KeyValuePairList.
-
hasReason
boolean hasReason()
Checks whether the 'reason' field has been set. Reason why the request is in the status specified by [registrationStatus].
-
clearReason
RegistrationRequestDetails.Builder clearReason()
Clears the value of the 'reason' field. Reason why the request is in the status specified by [registrationStatus].
-
hasSerial
boolean hasSerial()
Checks whether the 'serial' field has been set. The version of the member info the member saw when they submitted their registration.
-
clearSerial
RegistrationRequestDetails.Builder clearSerial()
Clears the value of the 'serial' field. The version of the member info the member saw when they submitted their registration.
-
build
RegistrationRequestDetails build()
-
-
-
-