Package org.ivoa.dm.proposal.prop
Class SolarSystemTarget
java.lang.Object
org.ivoa.dm.proposal.prop.Target
org.ivoa.dm.proposal.prop.SolarSystemTarget
- All Implemented Interfaces:
org.ivoa.vodml.jaxb.XmlIdManagement
,org.ivoa.vodml.jpa.JPAManipulations
,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="proposal:SolarSystemTarget",
role=objectType)
public class SolarSystemTarget
extends Target
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>, org.ivoa.vodml.jaxb.XmlIdManagement
.
objectType: SolarSystemTarget
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder class for SolarSystemTarget, mainly for use in the functional builder pattern. -
Field Summary
Fields inherited from class org.ivoa.dm.proposal.prop.Target
_id, sourceName
-
Constructor Summary
ConstructorDescriptionCreates a new SolarSystemTargetSolarSystemTarget
(String sourceName) full parameter constructor.Copy Constructor.SolarSystemTarget
(Target superinstance) Constructor from supertype instance. -
Method Summary
Modifier and TypeMethodDescriptioncopyMe()
static SolarSystemTarget
create a SolarSystemTarget in functional builder style.void
void
jpaClone
(jakarta.persistence.EntityManager em) void
persistRefs
(jakarta.persistence.EntityManager _em) void
updateUsing
(SolarSystemTarget other) Update this object with the content of the given object.Methods inherited from class org.ivoa.dm.proposal.prop.Target
getId, getSourceName, getXmlId, hasNaturalKey, setSourceName, setXmlId, updateUsing, withSourceName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType
getId
Methods inherited from interface org.ivoa.vodml.jaxb.XmlIdManagement
getXmlId, hasNaturalKey, setXmlId
-
Constructor Details
-
SolarSystemTarget
public SolarSystemTarget()Creates a new SolarSystemTarget -
SolarSystemTarget
full parameter constructor.- Parameters:
sourceName
- A common name for the source.
-
SolarSystemTarget
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other
- the object to be copied.
-
SolarSystemTarget
Constructor from supertype instance.- Parameters:
superinstance
- The supertype.
-
-
Method Details
-
copyMe
-
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.
-
createSolarSystemTarget
public static SolarSystemTarget createSolarSystemTarget(Consumer<SolarSystemTarget.SolarSystemTargetBuilder> f) create a SolarSystemTarget in functional builder style.- Parameters:
f
- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad() -
jpaClone
public void jpaClone(jakarta.persistence.EntityManager em) -
persistRefs
public void persistRefs(jakarta.persistence.EntityManager _em) - Specified by:
persistRefs
in interfaceorg.ivoa.vodml.jpa.JPAManipulations
- Overrides:
persistRefs
in classTarget
-