Class BaseRegistrationInputBuilder<T extends BaseRegistrationInput,GeneratorT extends BaseRegistrationInputBuilder<?,?>>
- java.lang.Object
-
- pl.edu.icm.unity.types.registration.BaseRegistrationInputBuilder<T,GeneratorT>
-
- Direct Known Subclasses:
EnquiryResponseBuilder
,RegistrationRequestBuilder
public class BaseRegistrationInputBuilder<T extends BaseRegistrationInput,GeneratorT extends BaseRegistrationInputBuilder<?,?>> extends Object
Builder ofBaseRegistrationInput
.
-
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseRegistrationInputBuilder(T aInstance)
-
Method Summary
-
-
-
Field Detail
-
instance
protected T extends BaseRegistrationInput instance
-
-
Constructor Detail
-
BaseRegistrationInputBuilder
protected BaseRegistrationInputBuilder(T aInstance)
-
-
Method Detail
-
build
public T build()
-
withFormId
public GeneratorT withFormId(String aValue)
-
withIdentities
public GeneratorT withIdentities(List<IdentityParam> aValue)
-
withAddedIdentity
public GeneratorT withAddedIdentity(IdentityParam aValue)
-
withAddedIdentity
public BaseRegistrationInputBuilder.AddedIdentityIdentityParamBuilder withAddedIdentity(String type, String value)
-
withAttributes
public GeneratorT withAttributes(List<Attribute> aValue)
-
withAddedAttribute
public GeneratorT withAddedAttribute(Attribute aValue)
-
withCredentials
public GeneratorT withCredentials(List<CredentialParamValue> aValue)
-
withAddedCredential
public GeneratorT withAddedCredential(CredentialParamValue aValue)
-
withAddedCredential
public BaseRegistrationInputBuilder.AddedCredentialCredentialParamValueBuilder withAddedCredential()
-
withGroupSelections
public GeneratorT withGroupSelections(List<GroupSelection> aValue)
-
withAddedGroupSelection
public GeneratorT withAddedGroupSelection(GroupSelection aValue)
-
withAddedGroupSelection
public BaseRegistrationInputBuilder.AddedGroupSelectionSelectionBuilder withAddedGroupSelection()
-
withAgreements
public GeneratorT withAgreements(List<Selection> aValue)
-
withAddedAgreement
public GeneratorT withAddedAgreement(Selection aValue)
-
withPolicyAgreements
public GeneratorT withPolicyAgreements(List<PolicyAgreementDecision> aValue)
-
withAddedPolicyAgreement
public GeneratorT withAddedPolicyAgreement(PolicyAgreementDecision aValue)
-
withAddedAgreement
public BaseRegistrationInputBuilder.AddedAgreementSelectionBuilder withAddedAgreement()
-
withComments
public GeneratorT withComments(String aValue)
-
withUserLocale
public GeneratorT withUserLocale(String aValue)
-
withRegistrationCode
public GeneratorT withRegistrationCode(String aValue)
-
-