Package org.ivoa.dm.regtap
Class Role.RoleBuilder
java.lang.Object
org.ivoa.dm.regtap.Role.RoleBuilder
- Enclosing class:
- Role
A builder class for Role, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe role played by this entity; this is one of contact, publisher, contributor, or creator.An email address the entity can be reached at.URL pointing to a graphical logo, which may be used to help identify the entity.An IVOA identifier of a person or organization.The ivoa:real-world name or title of a person or organization.A mailing address for a person or organization.A telephone number the entity can be reached at. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
role_name
The ivoa:real-world name or title of a person or organization. -
role_ivoid
An IVOA identifier of a person or organization. -
street_address
A mailing address for a person or organization. -
email
An email address the entity can be reached at. -
telephone
A telephone number the entity can be reached at. -
logo
URL pointing to a graphical logo, which may be used to help identify the entity. -
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
create a Role from this builder.- Returns:
- an object initialized from the builder.
-