Class Role.RoleBuilder

java.lang.Object
org.ivoa.dm.regtap.Role.RoleBuilder
Enclosing class:
Role

public static class Role.RoleBuilder extends Object
A builder class for Role, mainly for use in the functional builder pattern.
  • Field Details

    • role_name

      public String role_name
      The ivoa:real-world name or title of a person or organization.
    • role_ivoid

      public String role_ivoid
      An IVOA identifier of a person or organization.
    • street_address

      public String street_address
      A mailing address for a person or organization.
    • email

      public String email
      An email address the entity can be reached at.
    • telephone

      public String telephone
      A telephone number the entity can be reached at.
    • base_role

      public String base_role
      The role played by this entity; this is one of contact, publisher, contributor, or creator.
  • Constructor Details

    • RoleBuilder

      public RoleBuilder()
  • Method Details

    • create

      public Role create()
      create a Role from this builder.
      Returns:
      an object initialized from the builder.