Package org.ivoa.dm.regtap
Class Relationship.RelationshipBuilder
java.lang.Object
org.ivoa.dm.regtap.Relationship.RelationshipBuilder
- Enclosing class:
- Relationship
A builder class for Relationship, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe IVOA identifier for the resource referred to.The name of resource that this resource is related to.The type of the relationship; these terms are drawn from a controlled vocabulary and are DataCite-compatible. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
relationship_type
The type of the relationship; these terms are drawn from a controlled vocabulary and are DataCite-compatible.
-
-
Constructor Details
-
RelationshipBuilder
public RelationshipBuilder()
-
-
Method Details
-
create
create a Relationship from this builder.- Returns:
- an object initialized from the builder.
-