Package org.ivoa.dm.registry.voresource
Class MirrorURL
java.lang.Object
org.ivoa.dm.registry.voresource.MirrorURL
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="VOResource:MirrorURL",
       role=objectType)
public class MirrorURL
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
A URL of a mirror (i.e., a functionally identical additional
                           service interface) to  .
 objectType:  MirrorURL
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for MirrorURL, mainly for use in the functional builder pattern. - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic MirrorURLcreate a MirrorURL in functional builder style.voiddelete(jakarta.persistence.EntityManager em) voidgetId()getTitle()Returns title Attribute.getValue()Returns value Attribute.voidSet title Attribute.voidSet value Attribute.voidupdateUsing(MirrorURL other) Update this object with the content of the given object.fluent setter for title Attribute.fluent setter for value Attribute. 
- 
Field Details
- 
_id
inserted database key - 
value
@VoDml(id="VOResource:MirrorURL.value", role=attribute, type="ivoa:anyURI", typeRole=primitiveType) protected String value. : Attribute value : multiplicity 1 - 
title
@VoDml(id="VOResource:MirrorURL.title", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String titleA terse, human-readable phrase indicating the function or location of this mirror, e.g., “Primary Backup” or “European Mirror”. : Attribute title : multiplicity 1 
 - 
 - 
Constructor Details
- 
MirrorURL
public MirrorURL()Creates a new MirrorURL - 
MirrorURL
full parameter constructor.- Parameters:
 value- .title- A terse, human-readable phrase indicating the function or location of this mirror, e.g., “Primary Backup” or “European Mirror”.
 - 
MirrorURL
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
 other- the object to be copied.
 
 - 
 - 
Method Details
- 
getId
- Specified by:
 getIdin interfaceorg.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>- Returns:
 - the id
 
 - 
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:
 - MirrorURL
 
 - 
getTitle
Returns title Attribute.- Returns:
 - title Attribute
 
 - 
setTitle
Set title Attribute.- Parameters:
 pTitle- value to set
 - 
withTitle
fluent setter for title Attribute.- Parameters:
 pTitle- value to set- Returns:
 - MirrorURL
 
 - 
createMirrorURL
create a MirrorURL 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
 - 
delete
public void delete(jakarta.persistence.EntityManager em) - Specified by:
 deletein interfaceorg.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
 
 -