Package org.ivoa.dm.caom2
Class Target.TargetBuilder
java.lang.Object
org.ivoa.dm.caom2.Target.TargetBuilder
- Enclosing class:
- Target
A builder class for Target, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionadditional keywords that describe the target; keywords cannot contain the pipe (|) character - it is reserved for use in persistence systems (e.g.indicates that the target is a moving object; used for solar system objects but not high proper motion stars.proper name of the target.cosmological redshift of the target.indicates that the target is typically used as a standard (astrometric, photometric, etc).resolvable target identifier; the targetID URI should be of the form {scheme}:{id} so it can be resolved (for example: naif:170100) .type of target; typically used to figure out what the target name means and where to look for additional information about it. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
proper name of the target. -
targetID
resolvable target identifier; the targetID URI should be of the form {scheme}:{id} so it can be resolved (for example: naif:170100) . -
type
type of target; typically used to figure out what the target name means and where to look for additional information about it. -
redshift
cosmological redshift of the target. -
standard
indicates that the target is typically used as a standard (astrometric, photometric, etc). -
moving
indicates that the target is a moving object; used for solar system objects but not high proper motion stars. -
keywords
additional keywords that describe the target; keywords cannot contain the pipe (|) character - it is reserved for use in persistence systems (e.g. to store all keywords in a single column in a table).
-
-
Constructor Details
-
TargetBuilder
public TargetBuilder()
-
-
Method Details
-
create
create a Target from this builder.- Returns:
- an object initialized from the builder.
-