Package org.ivoa.dm.proposal.management
Class ObservingPlatform
java.lang.Object
org.ivoa.dm.proposal.management.ObservingPlatform
- All Implemented Interfaces:
org.ivoa.vodml.jaxb.XmlIdManagement,org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
- Direct Known Subclasses:
Telescope,TelescopeArray
@Entity
@VoDml(id="proposalManagement:ObservingPlatform",
role=objectType)
public abstract class ObservingPlatform
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>, org.ivoa.vodml.jaxb.XmlIdManagement
base type of a telescope or array of telescopes.
objectType: ObservingPlatform
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ObservingPlatformCopy Constructor. -
Method Summary
Modifier and TypeMethodDescriptionabstract ObservingPlatformcopyMe()make a clone of the object taking into account current polymorhic type.voidgetId()getXmlId()getter for XMLIDbooleanvoidvoidupdates any cloned references that are contained within the hierarchy.voidupdateUsing(ObservingPlatform other) Update this object with the content of the given object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType
delete
-
Field Details
-
_id
inserted database key
-
-
Constructor Details
-
ObservingPlatform
public ObservingPlatform()Creates a new ObservingPlatform -
ObservingPlatform
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:
getIdin interfaceorg.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>- Returns:
- the id
-
getXmlId
getter for XMLID- Specified by:
getXmlIdin interfaceorg.ivoa.vodml.jaxb.XmlIdManagement
-
setXmlId
- Specified by:
setXmlIdin interfaceorg.ivoa.vodml.jaxb.XmlIdManagement
-
hasNaturalKey
public boolean hasNaturalKey()- Specified by:
hasNaturalKeyin interfaceorg.ivoa.vodml.jaxb.XmlIdManagement
-
copyMe
make a clone of the object taking into account current polymorhic type.- Returns:
- the cloned object.
-
updateClonedReferences
public void updateClonedReferences()updates any cloned references that are contained within the hierarchy. -
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.
-
forceLoad
public void forceLoad()- Specified by:
forceLoadin interfaceorg.ivoa.vodml.jpa.JPAManipulations
-