Class PersistentGroupParameters.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class PersistentGroupParameters.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for PersistentGroupParameters instances.
-
-
Field Summary
Fields Modifier and Type Field Description public HoldingIdentity
viewOwner
public HoldingIdentity.Builder
viewOwnerBuilder
public SignedGroupParameters
groupParameters
public SignedGroupParameters.Builder
groupParametersBuilder
-
Method Summary
Modifier and Type Method Description HoldingIdentity
getViewOwner()
Gets the value of the 'viewOwner' field. PersistentGroupParameters.Builder
setViewOwner(HoldingIdentity value)
Sets the value of the 'viewOwner' field. HoldingIdentity.Builder
getViewOwnerBuilder()
Gets the Builder instance for the 'viewOwner' field and creates one if it doesn't exist yet. PersistentGroupParameters.Builder
setViewOwnerBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'viewOwner' field The owner of the group parameters view. SignedGroupParameters
getGroupParameters()
Gets the value of the 'groupParameters' field. PersistentGroupParameters.Builder
setGroupParameters(SignedGroupParameters value)
Sets the value of the 'groupParameters' field. SignedGroupParameters.Builder
getGroupParametersBuilder()
Gets the Builder instance for the 'groupParameters' field and creates one if it doesn't exist yet. PersistentGroupParameters.Builder
setGroupParametersBuilder(SignedGroupParameters.Builder value)
Sets the Builder instance for the 'groupParameters' field GroupParameters which should be signed by the MGM unless the view owner is an MGM. boolean
hasViewOwner()
Checks whether the 'viewOwner' field has been set. boolean
hasViewOwnerBuilder()
Checks whether the 'viewOwner' field has an active Builder instance The owner of the group parameters view. PersistentGroupParameters.Builder
clearViewOwner()
Clears the value of the 'viewOwner' field. boolean
hasGroupParameters()
Checks whether the 'groupParameters' field has been set. boolean
hasGroupParametersBuilder()
Checks whether the 'groupParameters' field has an active Builder instance GroupParameters which should be signed by the MGM unless the view owner is an MGM. PersistentGroupParameters.Builder
clearGroupParameters()
Clears the value of the 'groupParameters' field. PersistentGroupParameters
build()
-
-
Method Detail
-
getViewOwner
HoldingIdentity getViewOwner()
Gets the value of the 'viewOwner' field. The owner of the group parameters view.
-
setViewOwner
PersistentGroupParameters.Builder setViewOwner(HoldingIdentity value)
Sets the value of the 'viewOwner' field. The owner of the group parameters view.
- Parameters:
value
- The value of 'viewOwner'.
-
getViewOwnerBuilder
HoldingIdentity.Builder getViewOwnerBuilder()
Gets the Builder instance for the 'viewOwner' field and creates one if it doesn't exist yet. The owner of the group parameters view.
-
setViewOwnerBuilder
PersistentGroupParameters.Builder setViewOwnerBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'viewOwner' field The owner of the group parameters view.
- Parameters:
value
- The builder instance that must be set.
-
getGroupParameters
SignedGroupParameters getGroupParameters()
Gets the value of the 'groupParameters' field. GroupParameters which should be signed by the MGM unless the view owner is an MGM.
-
setGroupParameters
PersistentGroupParameters.Builder setGroupParameters(SignedGroupParameters value)
Sets the value of the 'groupParameters' field. GroupParameters which should be signed by the MGM unless the view owner is an MGM.
- Parameters:
value
- The value of 'groupParameters'.
-
getGroupParametersBuilder
SignedGroupParameters.Builder getGroupParametersBuilder()
Gets the Builder instance for the 'groupParameters' field and creates one if it doesn't exist yet. GroupParameters which should be signed by the MGM unless the view owner is an MGM.
-
setGroupParametersBuilder
PersistentGroupParameters.Builder setGroupParametersBuilder(SignedGroupParameters.Builder value)
Sets the Builder instance for the 'groupParameters' field GroupParameters which should be signed by the MGM unless the view owner is an MGM.
- Parameters:
value
- The builder instance that must be set.
-
hasViewOwner
boolean hasViewOwner()
Checks whether the 'viewOwner' field has been set. The owner of the group parameters view.
-
hasViewOwnerBuilder
boolean hasViewOwnerBuilder()
Checks whether the 'viewOwner' field has an active Builder instance The owner of the group parameters view.
-
clearViewOwner
PersistentGroupParameters.Builder clearViewOwner()
Clears the value of the 'viewOwner' field. The owner of the group parameters view.
-
hasGroupParameters
boolean hasGroupParameters()
Checks whether the 'groupParameters' field has been set. GroupParameters which should be signed by the MGM unless the view owner is an MGM.
-
hasGroupParametersBuilder
boolean hasGroupParametersBuilder()
Checks whether the 'groupParameters' field has an active Builder instance GroupParameters which should be signed by the MGM unless the view owner is an MGM.
-
clearGroupParameters
PersistentGroupParameters.Builder clearGroupParameters()
Clears the value of the 'groupParameters' field. GroupParameters which should be signed by the MGM unless the view owner is an MGM.
-
build
PersistentGroupParameters build()
-
-
-
-