Package org.ivoa.dm.registry.voresource
Class AccessURL
java.lang.Object
org.ivoa.dm.registry.voresource.AccessURL
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="VOResource:AccessURL",
       role=objectType)
public class AccessURL
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
.
 objectType:  AccessURL
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for AccessURL, mainly for use in the functional builder pattern. - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic AccessURLcreate a AccessURL in functional builder style.voiddelete(jakarta.persistence.EntityManager em) voidgetId()getUse()Returns use Attribute.getValue()Returns value Attribute.voidsetUse(AccessURL_use pUse) Set use Attribute.voidSet value Attribute.voidupdateUsing(AccessURL other) Update this object with the content of the given object.withUse(AccessURL_use pUse) fluent setter for use Attribute.fluent setter for value Attribute. 
- 
Field Details
- 
_id
inserted database key - 
value
@VoDml(id="VOResource:AccessURL.value", role=attribute, type="ivoa:anyURI", typeRole=primitiveType) protected String value. : Attribute value : multiplicity 1 - 
use
@VoDml(id="VOResource:AccessURL.use", role=attribute, type="VOResource:AccessURL_use", typeRole=enumeration) protected AccessURL_use useA flag indicating whether this should be interpreted as a base URL, a full URL, or a URL to a directory that will produce a listing of files. The default value assumed when one is not given depends on the context. : Attribute use : multiplicity 1 
 - 
 - 
Constructor Details
- 
AccessURL
public AccessURL()Creates a new AccessURL - 
AccessURL
full parameter constructor.- Parameters:
 value- .use- A flag indicating whether this should be interpreted as a base URL, a full URL, or a URL to a directory that will produce a listing of files. The default value assumed when one is not given depends on the context.
 - 
AccessURL
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:
 - AccessURL
 
 - 
getUse
Returns use Attribute.- Returns:
 - use Attribute
 
 - 
setUse
Set use Attribute.- Parameters:
 pUse- value to set
 - 
withUse
fluent setter for use Attribute.- Parameters:
 pUse- value to set- Returns:
 - AccessURL
 
 - 
createAccessURL
create a AccessURL 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>
 
 -