public Builder roles(final String... roles) { getInstance().getRoles().addAll(Arrays.asList(roles)); return this; }
public Builder memberships(final MembershipTO... memberships) { getInstance().getMemberships().addAll(Arrays.asList(memberships)); return this; }
public Builder relationships(final RelationshipTO... relationships) { getInstance().getRelationships().addAll(Arrays.asList(relationships)); return this; }
public Builder role(final String role) { getInstance().getRoles().add(role); return this; }
public Builder securityAnswer(final String securityAnswer) { getInstance().setSecurityAnswer(securityAnswer); return this; }
public Builder memberships(final Collection<MembershipTO> memberships) { getInstance().getMemberships().addAll(memberships); return this; }
public Builder relationship(final RelationshipTO relationship) { getInstance().getRelationships().add(relationship); return this; }
public Builder securityQuestion(final String securityQuestion) { getInstance().setSecurityQuestion(securityQuestion); return this; }
public Builder membership(final MembershipTO membership) { getInstance().getMemberships().add(membership); return this; }
public Builder relationships(final Collection<RelationshipTO> relationships) { getInstance().getRelationships().addAll(relationships); return this; }
public Builder password(final String password) { getInstance().setPassword(password); return this; }
public Builder mustChangePassword(final boolean mustChangePassword) { getInstance().setMustChangePassword(mustChangePassword); return this; }
public Builder storePassword(final boolean storePassword) { getInstance().setStorePassword(storePassword); return this; }
public Builder roles(final Collection<String> roles) { getInstance().getRoles().addAll(roles); return this; } }
public Builder(final String realm, final String username) { super(realm); getInstance().setUsername(username); }