Class ServiceReference
java.lang.Object
org.ivoa.dm.registry.vodataservice.ServiceReference
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="VODataService:ServiceReference",
       role=dataType)
public class ServiceReference
extends Object
implements org.ivoa.vodml.jpa.JPAManipulations
The service URL for a potentially registered service.  That is,
                         if an IVOA identifier is also provided, then the service is 
                         described in a registry. 
 dataType:  ServiceReference
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for ServiceReference, mainly for use in the functional builder pattern. - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IdentifierURIThe URI form of the IVOA identifier for the service describing the capability refered to by this element.protected String. - 
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ServiceReferenceServiceReference(String value, IdentifierURI ivoid) full parameter constructor.ServiceReference(ServiceReference other) Copy Constructor. - 
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceReferencecreate a ServiceReference in functional builder style.voidgetIvoid()Returns ivoid Attribute.getValue()Returns value Attribute.voidsetIvoid(IdentifierURI pIvoid) Set ivoid Attribute.voidSet value Attribute.voidupdateUsing(ServiceReference other) Update this object with the content of the given object.withIvoid(IdentifierURI pIvoid) fluent setter for ivoid Attribute.fluent setter for value Attribute. 
- 
Field Details
- 
value
@VoDml(id="VODataService:ServiceReference.value", role=attribute, type="ivoa:anyURI", typeRole=primitiveType) protected String value. : Attribute value : multiplicity 1 - 
ivoid
@VoDml(id="VODataService:ServiceReference.ivoid", role=attribute, type="VOResource:IdentifierURI", typeRole=primitiveType) protected IdentifierURI ivoidThe URI form of the IVOA identifier for the service describing the capability refered to by this element. : Attribute ivoid : multiplicity 1 
 - 
 - 
Constructor Details
- 
ServiceReference
public ServiceReference()Creates a new ServiceReference - 
ServiceReference
full parameter constructor.- Parameters:
 value- .ivoid- The URI form of the IVOA identifier for the service describing the capability refered to by this element.
 - 
ServiceReference
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:
 - ServiceReference
 
 - 
getIvoid
Returns ivoid Attribute.- Returns:
 - ivoid Attribute
 
 - 
setIvoid
Set ivoid Attribute.- Parameters:
 pIvoid- value to set
 - 
withIvoid
fluent setter for ivoid Attribute.- Parameters:
 pIvoid- value to set- Returns:
 - ServiceReference
 
 - 
createServiceReference
public static ServiceReference createServiceReference(Consumer<ServiceReference.ServiceReferenceBuilder> f) create a ServiceReference 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
 
 -