Package ch.admin.bit.jeap.messaging.avro
Class AvroMessageUser.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<AvroMessageUser>
org.apache.avro.specific.SpecificRecordBuilderBase<AvroMessageUser>
ch.admin.bit.jeap.messaging.avro.AvroMessageUser.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<AvroMessageUser>
- Enclosing class:
AvroMessageUser
public static class AvroMessageUser.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroMessageUser>
implements org.apache.avro.data.RecordBuilder<AvroMessageUser>
RecordBuilder for AvroMessageUser instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'businessPartnerId' field.Clears the value of the 'businessPartnerName' field.Clears the value of the 'familyName' field.Clears the value of the 'givenName' field.clearId()Clears the value of the 'id' field.Clears the value of the 'propertiesMap' field.Gets the value of the 'businessPartnerId' field.Gets the value of the 'businessPartnerName' field.Gets the value of the 'familyName' field.Gets the value of the 'givenName' field.getId()Gets the value of the 'id' field.Gets the value of the 'businessPartnerId' field as an OptionalGets the value of the 'businessPartnerName' field as an OptionalGets the value of the 'familyName' field as an OptionalGets the value of the 'givenName' field as an OptionalGets the value of the 'id' field as an OptionalGets the value of the 'propertiesMap' field as an OptionalGets the value of the 'propertiesMap' field.booleanChecks whether the 'businessPartnerId' field has been set.booleanChecks whether the 'businessPartnerName' field has been set.booleanChecks whether the 'familyName' field has been set.booleanChecks whether the 'givenName' field has been set.booleanhasId()Checks whether the 'id' field has been set.booleanChecks whether the 'propertiesMap' field has been set.setBusinessPartnerId(String value) Sets the value of the 'businessPartnerId' field.setBusinessPartnerName(String value) Sets the value of the 'businessPartnerName' field.setFamilyName(String value) Sets the value of the 'familyName' field.setGivenName(String value) Sets the value of the 'givenName' field.Sets the value of the 'id' field.setPropertiesMap(Map<String, String> value) Sets the value of the 'propertiesMap' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getId
Gets the value of the 'id' field.- Returns:
- The value.
-
getOptionalId
Gets the value of the 'id' field as an Optional- Returns:
- The Optional<value>.
-
setId
Sets the value of the 'id' field.- Parameters:
value- The value of 'id'.- Returns:
- This builder.
-
hasId
public boolean hasId()Checks whether the 'id' field has been set.- Returns:
- True if the 'id' field has been set, false otherwise.
-
clearId
Clears the value of the 'id' field.- Returns:
- This builder.
-
getFamilyName
Gets the value of the 'familyName' field.- Returns:
- The value.
-
getOptionalFamilyName
Gets the value of the 'familyName' field as an Optional- Returns:
- The Optional<value>.
-
setFamilyName
Sets the value of the 'familyName' field.- Parameters:
value- The value of 'familyName'.- Returns:
- This builder.
-
hasFamilyName
public boolean hasFamilyName()Checks whether the 'familyName' field has been set.- Returns:
- True if the 'familyName' field has been set, false otherwise.
-
clearFamilyName
Clears the value of the 'familyName' field.- Returns:
- This builder.
-
getGivenName
Gets the value of the 'givenName' field.- Returns:
- The value.
-
getOptionalGivenName
Gets the value of the 'givenName' field as an Optional- Returns:
- The Optional<value>.
-
setGivenName
Sets the value of the 'givenName' field.- Parameters:
value- The value of 'givenName'.- Returns:
- This builder.
-
hasGivenName
public boolean hasGivenName()Checks whether the 'givenName' field has been set.- Returns:
- True if the 'givenName' field has been set, false otherwise.
-
clearGivenName
Clears the value of the 'givenName' field.- Returns:
- This builder.
-
getBusinessPartnerName
Gets the value of the 'businessPartnerName' field.- Returns:
- The value.
-
getOptionalBusinessPartnerName
Gets the value of the 'businessPartnerName' field as an Optional- Returns:
- The Optional<value>.
-
setBusinessPartnerName
Sets the value of the 'businessPartnerName' field.- Parameters:
value- The value of 'businessPartnerName'.- Returns:
- This builder.
-
hasBusinessPartnerName
public boolean hasBusinessPartnerName()Checks whether the 'businessPartnerName' field has been set.- Returns:
- True if the 'businessPartnerName' field has been set, false otherwise.
-
clearBusinessPartnerName
Clears the value of the 'businessPartnerName' field.- Returns:
- This builder.
-
getBusinessPartnerId
Gets the value of the 'businessPartnerId' field.- Returns:
- The value.
-
getOptionalBusinessPartnerId
Gets the value of the 'businessPartnerId' field as an Optional- Returns:
- The Optional<value>.
-
setBusinessPartnerId
Sets the value of the 'businessPartnerId' field.- Parameters:
value- The value of 'businessPartnerId'.- Returns:
- This builder.
-
hasBusinessPartnerId
public boolean hasBusinessPartnerId()Checks whether the 'businessPartnerId' field has been set.- Returns:
- True if the 'businessPartnerId' field has been set, false otherwise.
-
clearBusinessPartnerId
Clears the value of the 'businessPartnerId' field.- Returns:
- This builder.
-
getPropertiesMap
Gets the value of the 'propertiesMap' field.- Returns:
- The value.
-
getOptionalPropertiesMap
Gets the value of the 'propertiesMap' field as an Optional- Returns:
- The Optional<value>.
-
setPropertiesMap
Sets the value of the 'propertiesMap' field.- Parameters:
value- The value of 'propertiesMap'.- Returns:
- This builder.
-
hasPropertiesMap
public boolean hasPropertiesMap()Checks whether the 'propertiesMap' field has been set.- Returns:
- True if the 'propertiesMap' field has been set, false otherwise.
-
clearPropertiesMap
Clears the value of the 'propertiesMap' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<AvroMessageUser>
-