Package org.ivoa.dm.proposal.management
Class Backend
java.lang.Object
org.ivoa.dm.proposal.management.Backend
- All Implemented Interfaces:
- org.ivoa.vodml.jaxb.XmlIdManagement,- org.ivoa.vodml.jpa.JPAManipulations,- org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="proposalManagement:Backend",
       role=objectType)
public class Backend
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>, org.ivoa.vodml.jaxb.XmlIdManagement
a processing backend /pipeline- e.g. correlator.
 objectType:  Backend
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA builder class for Backend, mainly for use in the functional builder pattern.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Backendcreate a Backend in functional builder style.voiddelete(jakarta.persistence.EntityManager em) voidgetId()getName()Returns name Attribute.Returns parallel Attribute.getXmlId()getter for XMLIDbooleanvoidSet name Attribute.voidsetParallel(Boolean pParallel) Set parallel Attribute.voidvoidupdateUsing(Backend other) Update this object with the content of the given object.fluent setter for name Attribute.withParallel(Boolean pParallel) fluent setter for parallel Attribute.
- 
Field Details- 
_idinserted database key
- 
name@VoDml(id="proposalManagement:Backend.name", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String namethe backend name. : Attribute name : multiplicity 1
- 
parallel@VoDml(id="proposalManagement:Backend.parallel", role=attribute, type="ivoa:boolean", typeRole=primitiveType) protected Boolean parallelis capable of being run at same time as other backends. : Attribute parallel : multiplicity 1
 
- 
- 
Constructor Details- 
Backendpublic Backend()Creates a new Backend
- 
Backendfull parameter constructor.- Parameters:
- name- the backend name.
- parallel- is capable of being run at same time as other backends.
 
- 
BackendCopy 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 interface- org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
- Returns:
- the id
 
- 
getXmlIdgetter for XMLID- Specified by:
- getXmlIdin interface- org.ivoa.vodml.jaxb.XmlIdManagement
 
- 
setXmlId- Specified by:
- setXmlIdin interface- org.ivoa.vodml.jaxb.XmlIdManagement
 
- 
hasNaturalKeypublic boolean hasNaturalKey()- Specified by:
- hasNaturalKeyin interface- org.ivoa.vodml.jaxb.XmlIdManagement
 
- 
updateUsingUpdate 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.
 
- 
getNameReturns name Attribute.- Returns:
- name Attribute
 
- 
setNameSet name Attribute.- Parameters:
- pName- value to set
 
- 
withNamefluent setter for name Attribute.- Parameters:
- pName- value to set
- Returns:
- Backend
 
- 
getParallelReturns parallel Attribute.- Returns:
- parallel Attribute
 
- 
setParallelSet parallel Attribute.- Parameters:
- pParallel- value to set
 
- 
withParallelfluent setter for parallel Attribute.- Parameters:
- pParallel- value to set
- Returns:
- Backend
 
- 
createBackendcreate a Backend in functional builder style.- Parameters:
- f- the functional builder.
- Returns:
- an object initialized from the builder.
 
- 
forceLoadpublic void forceLoad()- Specified by:
- forceLoadin interface- org.ivoa.vodml.jpa.JPAManipulations
 
- 
deletepublic void delete(jakarta.persistence.EntityManager em) - Specified by:
- deletein interface- org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
 
 
-