Package org.ivoa.dm.registry.voresource
Class Relationship.RelationshipBuilder
java.lang.Object
org.ivoa.dm.registry.voresource.Relationship.RelationshipBuilder
- Enclosing class:
- Relationship
A builder class for Relationship, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionthe name of resource that this resource is related to.the named type of relationship The value of relationshipType should be taken from the vocabulary at http://www.ivoa.net/rdf/voresource/relationship_type. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
relationshipType
the named type of relationship The value of relationshipType should be taken from the vocabulary at http://www.ivoa.net/rdf/voresource/relationship_type.
-
-
Constructor Details
-
RelationshipBuilder
public RelationshipBuilder()
-
-
Method Details
-
create
create a Relationship from this builder.- Returns:
- an object initialized from the builder.
-