Class NDefContactCreator
java.lang.Object
com.rvi.application.creator.NDefContactCreator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Validates collected values and returns a new immutable value.Sets an optional contact email; null becomes empty.Sets the optional first name; at least one name is required at build time.Sets the optional last name; at least one name is required at build time.Sets an optional phone number; null becomes empty.Sets an optional HTTP or HTTPS contact website; null becomes empty.
-
Constructor Details
-
NDefContactCreator
public NDefContactCreator()
-
-
Method Details
-
firstName
Sets the optional first name; at least one name is required at build time. -
lastName
Sets the optional last name; at least one name is required at build time. -
email
Sets an optional contact email; null becomes empty. -
phone
Sets an optional phone number; null becomes empty. -
website
Sets an optional HTTP or HTTPS contact website; null becomes empty. -
build
Validates collected values and returns a new immutable value. Does not access hardware.
-