Package org.ivoa.dm.registry.voresource
Class ResourceName
java.lang.Object
org.ivoa.dm.registry.voresource.ResourceName
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="VOResource:ResourceName",
       role=dataType)
public class ResourceName
extends Object
implements org.ivoa.vodml.jpa.JPAManipulations
The name of a potentially registered resource.  That is, the entity
                       referred to may have an associated identifier. 
 dataType:  ResourceName
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for ResourceName, mainly for use in the functional builder pattern. - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IdentifierURIThe IVOA identifier for the resource referred to.protected String. - 
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ResourceNameResourceName(String value, IdentifierURI ivoid) full parameter constructor.ResourceName(ResourceName other) Copy Constructor. - 
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceNamecreate a ResourceName in functional builder style.voidgetIvoid()Returns ivoid Attribute.getValue()Returns value Attribute.voidsetIvoid(IdentifierURI pIvoid) Set ivoid Attribute.voidSet value Attribute.voidupdateUsing(ResourceName 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="VOResource:ResourceName.value", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String value. : Attribute value : multiplicity 1 - 
ivoid
@VoDml(id="VOResource:ResourceName.ivoid", role=attribute, type="VOResource:IdentifierURI", typeRole=primitiveType) protected IdentifierURI ivoidThe IVOA identifier for the resource referred to. : Attribute ivoid : multiplicity 1 
 - 
 - 
Constructor Details
- 
ResourceName
public ResourceName()Creates a new ResourceName - 
ResourceName
full parameter constructor.- Parameters:
 value- .ivoid- The IVOA identifier for the resource referred to.
 - 
ResourceName
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:
 - ResourceName
 
 - 
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:
 - ResourceName
 
 - 
createResourceName
create a ResourceName 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
 
 -