Package org.ivoa.dm.proposal.prop
Class PerformanceParameters
java.lang.Object
org.ivoa.dm.proposal.prop.PerformanceParameters
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="proposal:PerformanceParameters",
role=objectType)
public class PerformanceParameters
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
The parameters required for observation to be useful for the science goal.
objectType: PerformanceParameters
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder class for PerformanceParameters, mainly for use in the functional builder pattern. -
Field Summary
Modifier and TypeFieldDescriptionprotected Long
inserted database keyprotected org.ivoa.dm.ivoa.RealQuantity
.protected org.ivoa.dm.ivoa.RealQuantity
.protected org.ivoa.dm.ivoa.RealQuantity
.protected org.ivoa.dm.ivoa.RealQuantity
.protected org.ivoa.dm.ivoa.RealQuantity
the the point in the EM where these parameters should be evaluated. -
Constructor Summary
ConstructorDescriptionCreates a new PerformanceParametersPerformanceParameters
(org.ivoa.dm.ivoa.RealQuantity desiredAngularResolution, org.ivoa.dm.ivoa.RealQuantity desiredLargestScale, org.ivoa.dm.ivoa.RealQuantity desiredSensitivity, org.ivoa.dm.ivoa.RealQuantity desiredDynamicRange, org.ivoa.dm.ivoa.RealQuantity representativeSpectralPoint) full parameter constructor.Copy Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic PerformanceParameters
create a PerformanceParameters in functional builder style.void
org.ivoa.dm.ivoa.RealQuantity
Returns desiredAngularResolution Attribute.org.ivoa.dm.ivoa.RealQuantity
Returns desiredDynamicRange Attribute.org.ivoa.dm.ivoa.RealQuantity
Returns desiredLargestScale Attribute.org.ivoa.dm.ivoa.RealQuantity
Returns desiredSensitivity Attribute.getId()
org.ivoa.dm.ivoa.RealQuantity
Returns representativeSpectralPoint Attribute.void
persistRefs
(jakarta.persistence.EntityManager _em) Deprecated.generally better to use the model level reference persistence as only this can deal with "contained" references properly.void
setDesiredAngularResolution
(org.ivoa.dm.ivoa.RealQuantity pDesiredAngularResolution) Set desiredAngularResolution Attribute.void
setDesiredDynamicRange
(org.ivoa.dm.ivoa.RealQuantity pDesiredDynamicRange) Set desiredDynamicRange Attribute.void
setDesiredLargestScale
(org.ivoa.dm.ivoa.RealQuantity pDesiredLargestScale) Set desiredLargestScale Attribute.void
setDesiredSensitivity
(org.ivoa.dm.ivoa.RealQuantity pDesiredSensitivity) Set desiredSensitivity Attribute.void
setRepresentativeSpectralPoint
(org.ivoa.dm.ivoa.RealQuantity pRepresentativeSpectralPoint) Set representativeSpectralPoint Attribute.void
updateUsing
(PerformanceParameters other) Update this object with the content of the given object.withDesiredAngularResolution
(org.ivoa.dm.ivoa.RealQuantity pDesiredAngularResolution) fluent setter for desiredAngularResolution Attribute.withDesiredDynamicRange
(org.ivoa.dm.ivoa.RealQuantity pDesiredDynamicRange) fluent setter for desiredDynamicRange Attribute.withDesiredLargestScale
(org.ivoa.dm.ivoa.RealQuantity pDesiredLargestScale) fluent setter for desiredLargestScale Attribute.withDesiredSensitivity
(org.ivoa.dm.ivoa.RealQuantity pDesiredSensitivity) fluent setter for desiredSensitivity Attribute.withRepresentativeSpectralPoint
(org.ivoa.dm.ivoa.RealQuantity pRepresentativeSpectralPoint) fluent setter for representativeSpectralPoint Attribute.
-
Field Details
-
_id
inserted database key -
desiredAngularResolution
@VoDml(id="proposal:PerformanceParameters.desiredAngularResolution", role=attribute, type="ivoa:RealQuantity", typeRole=dataType) protected org.ivoa.dm.ivoa.RealQuantity desiredAngularResolution. : Attribute desiredAngularResolution : multiplicity 0..1 -
desiredLargestScale
@VoDml(id="proposal:PerformanceParameters.desiredLargestScale", role=attribute, type="ivoa:RealQuantity", typeRole=dataType) protected org.ivoa.dm.ivoa.RealQuantity desiredLargestScale. : Attribute desiredLargestScale : multiplicity 0..1 -
desiredSensitivity
@VoDml(id="proposal:PerformanceParameters.desiredSensitivity", role=attribute, type="ivoa:RealQuantity", typeRole=dataType) protected org.ivoa.dm.ivoa.RealQuantity desiredSensitivity. : Attribute desiredSensitivity : multiplicity 0..1 -
desiredDynamicRange
@VoDml(id="proposal:PerformanceParameters.desiredDynamicRange", role=attribute, type="ivoa:RealQuantity", typeRole=dataType) protected org.ivoa.dm.ivoa.RealQuantity desiredDynamicRange. : Attribute desiredDynamicRange : multiplicity 0..1 -
representativeSpectralPoint
@VoDml(id="proposal:PerformanceParameters.representativeSpectralPoint", role=attribute, type="ivoa:RealQuantity", typeRole=dataType) protected org.ivoa.dm.ivoa.RealQuantity representativeSpectralPointthe the point in the EM where these parameters should be evaluated. : Attribute representativeSpectralPoint : multiplicity 1
-
-
Constructor Details
-
PerformanceParameters
public PerformanceParameters()Creates a new PerformanceParameters -
PerformanceParameters
public PerformanceParameters(org.ivoa.dm.ivoa.RealQuantity desiredAngularResolution, org.ivoa.dm.ivoa.RealQuantity desiredLargestScale, org.ivoa.dm.ivoa.RealQuantity desiredSensitivity, org.ivoa.dm.ivoa.RealQuantity desiredDynamicRange, org.ivoa.dm.ivoa.RealQuantity representativeSpectralPoint) full parameter constructor.- Parameters:
desiredAngularResolution
- .desiredLargestScale
- .desiredSensitivity
- .desiredDynamicRange
- .representativeSpectralPoint
- the the point in the EM where these parameters should be evaluated.
-
PerformanceParameters
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:
getId
in 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.
-
getDesiredAngularResolution
public org.ivoa.dm.ivoa.RealQuantity getDesiredAngularResolution()Returns desiredAngularResolution Attribute.- Returns:
- desiredAngularResolution Attribute
-
setDesiredAngularResolution
public void setDesiredAngularResolution(org.ivoa.dm.ivoa.RealQuantity pDesiredAngularResolution) Set desiredAngularResolution Attribute.- Parameters:
pDesiredAngularResolution
- value to set
-
withDesiredAngularResolution
public PerformanceParameters withDesiredAngularResolution(org.ivoa.dm.ivoa.RealQuantity pDesiredAngularResolution) fluent setter for desiredAngularResolution Attribute.- Parameters:
pDesiredAngularResolution
- value to set- Returns:
- PerformanceParameters
-
getDesiredLargestScale
public org.ivoa.dm.ivoa.RealQuantity getDesiredLargestScale()Returns desiredLargestScale Attribute.- Returns:
- desiredLargestScale Attribute
-
setDesiredLargestScale
public void setDesiredLargestScale(org.ivoa.dm.ivoa.RealQuantity pDesiredLargestScale) Set desiredLargestScale Attribute.- Parameters:
pDesiredLargestScale
- value to set
-
withDesiredLargestScale
public PerformanceParameters withDesiredLargestScale(org.ivoa.dm.ivoa.RealQuantity pDesiredLargestScale) fluent setter for desiredLargestScale Attribute.- Parameters:
pDesiredLargestScale
- value to set- Returns:
- PerformanceParameters
-
getDesiredSensitivity
public org.ivoa.dm.ivoa.RealQuantity getDesiredSensitivity()Returns desiredSensitivity Attribute.- Returns:
- desiredSensitivity Attribute
-
setDesiredSensitivity
public void setDesiredSensitivity(org.ivoa.dm.ivoa.RealQuantity pDesiredSensitivity) Set desiredSensitivity Attribute.- Parameters:
pDesiredSensitivity
- value to set
-
withDesiredSensitivity
public PerformanceParameters withDesiredSensitivity(org.ivoa.dm.ivoa.RealQuantity pDesiredSensitivity) fluent setter for desiredSensitivity Attribute.- Parameters:
pDesiredSensitivity
- value to set- Returns:
- PerformanceParameters
-
getDesiredDynamicRange
public org.ivoa.dm.ivoa.RealQuantity getDesiredDynamicRange()Returns desiredDynamicRange Attribute.- Returns:
- desiredDynamicRange Attribute
-
setDesiredDynamicRange
public void setDesiredDynamicRange(org.ivoa.dm.ivoa.RealQuantity pDesiredDynamicRange) Set desiredDynamicRange Attribute.- Parameters:
pDesiredDynamicRange
- value to set
-
withDesiredDynamicRange
public PerformanceParameters withDesiredDynamicRange(org.ivoa.dm.ivoa.RealQuantity pDesiredDynamicRange) fluent setter for desiredDynamicRange Attribute.- Parameters:
pDesiredDynamicRange
- value to set- Returns:
- PerformanceParameters
-
getRepresentativeSpectralPoint
public org.ivoa.dm.ivoa.RealQuantity getRepresentativeSpectralPoint()Returns representativeSpectralPoint Attribute.- Returns:
- representativeSpectralPoint Attribute
-
setRepresentativeSpectralPoint
public void setRepresentativeSpectralPoint(org.ivoa.dm.ivoa.RealQuantity pRepresentativeSpectralPoint) Set representativeSpectralPoint Attribute.- Parameters:
pRepresentativeSpectralPoint
- value to set
-
withRepresentativeSpectralPoint
public PerformanceParameters withRepresentativeSpectralPoint(org.ivoa.dm.ivoa.RealQuantity pRepresentativeSpectralPoint) fluent setter for representativeSpectralPoint Attribute.- Parameters:
pRepresentativeSpectralPoint
- value to set- Returns:
- PerformanceParameters
-
createPerformanceParameters
public static PerformanceParameters createPerformanceParameters(Consumer<PerformanceParameters.PerformanceParametersBuilder> f) create a PerformanceParameters in functional builder style.- Parameters:
f
- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad()- Specified by:
forceLoad
in interfaceorg.ivoa.vodml.jpa.JPAManipulations
-
persistRefs
Deprecated.generally better to use the model level reference persistence as only this can deal with "contained" references properly.- Specified by:
persistRefs
in interfaceorg.ivoa.vodml.jpa.JPAManipulations
-