Package org.ivoa.dm.registry.voresource
Class Source
java.lang.Object
org.ivoa.dm.registry.voresource.Source
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="VOResource:Source",
       role=dataType)
public class Source
extends Object
implements org.ivoa.vodml.jpa.JPAManipulations
.
 dataType:  Source
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for Source, mainly for use in the functional builder pattern. - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic Sourcecreate a Source in functional builder style.voidReturns format Attribute.getValue()Returns value Attribute.voidSet format Attribute.voidSet value Attribute.voidupdateUsing(Source other) Update this object with the content of the given object.withFormat(String pFormat) fluent setter for format Attribute.fluent setter for value Attribute. 
- 
Field Details
- 
value
@VoDml(id="VOResource:Source.value", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String value. : Attribute value : multiplicity 1 - 
format
@VoDml(id="VOResource:Source.format", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String formatThe reference format. Recognized values include “bibcode”, referring to a standard astronomical bibcode (http://cdsweb.u-strasbg.fr/simbad/refcode.html). : Attribute format : multiplicity 1 
 - 
 - 
Constructor Details
- 
Source
public Source()Creates a new Source - 
Source
full parameter constructor.- Parameters:
 value- .format- The reference format. Recognized values include “bibcode”, referring to a standard astronomical bibcode (http://cdsweb.u-strasbg.fr/simbad/refcode.html).
 - 
Source
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
 other- the object to be copied.
 
 - 
 - 
Method Details
- 
updateUsing
Update this object with the content of the given object. Note that references will remain as is rather than be copied.- Parameters:
 other- the object to be copied.
 - 
getValue
Returns value Attribute.- Returns:
 - value Attribute
 
 - 
setValue
Set value Attribute.- Parameters:
 pValue- value to set
 - 
withValue
fluent setter for value Attribute.- Parameters:
 pValue- value to set- Returns:
 - Source
 
 - 
getFormat
Returns format Attribute.- Returns:
 - format Attribute
 
 - 
setFormat
Set format Attribute.- Parameters:
 pFormat- value to set
 - 
withFormat
fluent setter for format Attribute.- Parameters:
 pFormat- value to set- Returns:
 - Source
 
 - 
createSource
create a Source in functional builder style.- Parameters:
 f- the functional builder.- Returns:
 - an object initialized from the builder.
 
 - 
forceLoad
public void forceLoad()- Specified by:
 forceLoadin interfaceorg.ivoa.vodml.jpa.JPAManipulations
 
 -