Package org.ivoa.dm.registry.voresource
Class Content.ContentBuilder
java.lang.Object
org.ivoa.dm.registry.voresource.Content.ContentBuilder
- Enclosing class:
 - Content
 
A builder class for Content, mainly for use in the functional builder pattern.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionDescription of the content level or intended audience.An account of the nature of the resource The description may include but is not limited to an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content.URL pointing to a human-readable document describing this resource.a description of a relationship to another resource.a bibliographic reference from which the present resource is derived or extracted.a topic, object type, or other descriptive keywords about the resource.Nature or genre of the content of the resource. - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
subject
a topic, object type, or other descriptive keywords about the resource. Terms for Subject should be drawn from the Unified Astronomy Thesaurus (http://astrothesaurus.org). - 
description
An account of the nature of the resource The description may include but is not limited to an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content. Note that description is xs:string-typed, which means that whitespace is considered significant. Clients should render empty lines as paragraph boundaries and ideally refrain from reflowing material that looks formatted (i.e., is broken to about 80-character lines). - 
source
a bibliographic reference from which the present resource is derived or extracted. This is intended to point to an article in the published literature. An ADS Bibcode is recommended as a value when available. - 
referenceURL
URL pointing to a human-readable document describing this resource. - 
type
Nature or genre of the content of the resource. Values for type should be taken from the controlled vocabulary http://www.ivoa.net/rdf/voresource/content_type . - 
contentLevel
Description of the content level or intended audience. Values for contentLevel should be taken from the controlled vocabulary http://www.ivoa.net/rdf/voresource/content_level. - 
relationship
a description of a relationship to another resource. 
 - 
 - 
Constructor Details
- 
ContentBuilder
public ContentBuilder() 
 - 
 - 
Method Details
- 
create
create a Content from this builder.- Returns:
 - an object initialized from the builder.
 
 
 -