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 Attributeorg.ivoa.dm.ivoa.RealQuantity
Returns desiredDynamicRange Attributeorg.ivoa.dm.ivoa.RealQuantity
Returns desiredLargestScale Attributeorg.ivoa.dm.ivoa.RealQuantity
Returns desiredSensitivity AttributegetId()
org.ivoa.dm.ivoa.RealQuantity
Returns representativeSpectralPoint Attributevoid
jpaClone
(jakarta.persistence.EntityManager em) void
persistRefs
(jakarta.persistence.EntityManager _em) void
setDesiredAngularResolution
(org.ivoa.dm.ivoa.RealQuantity pDesiredAngularResolution) Defines desiredAngularResolution Attributevoid
setDesiredDynamicRange
(org.ivoa.dm.ivoa.RealQuantity pDesiredDynamicRange) Defines desiredDynamicRange Attributevoid
setDesiredLargestScale
(org.ivoa.dm.ivoa.RealQuantity pDesiredLargestScale) Defines desiredLargestScale Attributevoid
setDesiredSensitivity
(org.ivoa.dm.ivoa.RealQuantity pDesiredSensitivity) Defines desiredSensitivity Attributevoid
setRepresentativeSpectralPoint
(org.ivoa.dm.ivoa.RealQuantity pRepresentativeSpectralPoint) Defines representativeSpectralPoint Attributevoid
updateUsing
(PerformanceParameters other) Update this object with the content of the given object.withDesiredAngularResolution
(org.ivoa.dm.ivoa.RealQuantity pDesiredAngularResolution) withDesiredDynamicRange
(org.ivoa.dm.ivoa.RealQuantity pDesiredDynamicRange) withDesiredLargestScale
(org.ivoa.dm.ivoa.RealQuantity pDesiredLargestScale) withDesiredSensitivity
(org.ivoa.dm.ivoa.RealQuantity pDesiredSensitivity) withRepresentativeSpectralPoint
(org.ivoa.dm.ivoa.RealQuantity pRepresentativeSpectralPoint)
-
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) Defines desiredAngularResolution Attribute- Parameters:
pDesiredAngularResolution
- value to set
-
withDesiredAngularResolution
public PerformanceParameters withDesiredAngularResolution(org.ivoa.dm.ivoa.RealQuantity pDesiredAngularResolution) -
getDesiredLargestScale
public org.ivoa.dm.ivoa.RealQuantity getDesiredLargestScale()Returns desiredLargestScale Attribute- Returns:
- desiredLargestScale Attribute
-
setDesiredLargestScale
public void setDesiredLargestScale(org.ivoa.dm.ivoa.RealQuantity pDesiredLargestScale) Defines desiredLargestScale Attribute- Parameters:
pDesiredLargestScale
- value to set
-
withDesiredLargestScale
public PerformanceParameters withDesiredLargestScale(org.ivoa.dm.ivoa.RealQuantity pDesiredLargestScale) -
getDesiredSensitivity
public org.ivoa.dm.ivoa.RealQuantity getDesiredSensitivity()Returns desiredSensitivity Attribute- Returns:
- desiredSensitivity Attribute
-
setDesiredSensitivity
public void setDesiredSensitivity(org.ivoa.dm.ivoa.RealQuantity pDesiredSensitivity) Defines desiredSensitivity Attribute- Parameters:
pDesiredSensitivity
- value to set
-
withDesiredSensitivity
public PerformanceParameters withDesiredSensitivity(org.ivoa.dm.ivoa.RealQuantity pDesiredSensitivity) -
getDesiredDynamicRange
public org.ivoa.dm.ivoa.RealQuantity getDesiredDynamicRange()Returns desiredDynamicRange Attribute- Returns:
- desiredDynamicRange Attribute
-
setDesiredDynamicRange
public void setDesiredDynamicRange(org.ivoa.dm.ivoa.RealQuantity pDesiredDynamicRange) Defines desiredDynamicRange Attribute- Parameters:
pDesiredDynamicRange
- value to set
-
withDesiredDynamicRange
public PerformanceParameters withDesiredDynamicRange(org.ivoa.dm.ivoa.RealQuantity pDesiredDynamicRange) -
getRepresentativeSpectralPoint
public org.ivoa.dm.ivoa.RealQuantity getRepresentativeSpectralPoint()Returns representativeSpectralPoint Attribute- Returns:
- representativeSpectralPoint Attribute
-
setRepresentativeSpectralPoint
public void setRepresentativeSpectralPoint(org.ivoa.dm.ivoa.RealQuantity pRepresentativeSpectralPoint) Defines representativeSpectralPoint Attribute- Parameters:
pRepresentativeSpectralPoint
- value to set
-
withRepresentativeSpectralPoint
public PerformanceParameters withRepresentativeSpectralPoint(org.ivoa.dm.ivoa.RealQuantity pRepresentativeSpectralPoint) -
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
-
jpaClone
public void jpaClone(jakarta.persistence.EntityManager em) - Specified by:
jpaClone
in interfaceorg.ivoa.vodml.jpa.JPAManipulations
-
persistRefs
public void persistRefs(jakarta.persistence.EntityManager _em) - Specified by:
persistRefs
in interfaceorg.ivoa.vodml.jpa.JPAManipulations
-