Package org.ivoa.dm.registry.tap
Class UploadMethod
java.lang.Object
org.ivoa.dm.registry.tap.UploadMethod
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="TAPRegExt:UploadMethod",
       role=objectType)
public class UploadMethod
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
An upload method as defined by IVOA.
                      
                     Upload methods are always identified by an IVORN.  
                     Descriptions can be obtained by dereferencing this
                     IVORN.  To see values defined in TAPRegExt,
                                retrieve the ivo://ivoa.net/std/TAPRegExt
                                resource record and look for keys starting with 'upload-'.
               
               
                     You can register custom upload methods, but you must use the
                     standard IVORNs for the upload methods defined in the TAP
                     specification. 
 objectType:  UploadMethod
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for UploadMethod, mainly for use in the functional builder pattern. - 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionCreates a new UploadMethodUploadMethod(String ivoid) full parameter constructor.UploadMethod(UploadMethod other) Copy Constructor. - 
Method Summary
Modifier and TypeMethodDescriptionstatic UploadMethodcreate a UploadMethod in functional builder style.voiddelete(jakarta.persistence.EntityManager em) voidgetId()getIvoid()Returns ivoid Attribute.voidSet ivoid Attribute.voidupdateUsing(UploadMethod other) Update this object with the content of the given object.fluent setter for ivoid Attribute. 
- 
Field Details
- 
_id
inserted database key - 
ivoid
@VoDml(id="TAPRegExt:UploadMethod.ivoid", role=attribute, type="ivoa:anyURI", typeRole=primitiveType) protected String ivoidThe IVORN of the upload method. : Attribute ivoid : multiplicity 1 
 - 
 - 
Constructor Details
- 
UploadMethod
public UploadMethod()Creates a new UploadMethod - 
UploadMethod
full parameter constructor.- Parameters:
 ivoid- The IVORN of the upload method.
 - 
UploadMethod
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.
 - 
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:
 - UploadMethod
 
 - 
createUploadMethod
create a UploadMethod 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>
 
 -