Class PamDeployment

java.lang.Object
tethys.deployment.PamDeployment

public class PamDeployment extends Object
Wrapper and functions associated with the Tethys Deployment object which can exchange these with the PAMGuard database and display Everything is just held within a list, in no particular order, which getContent public This is from the Deployment JavaDoc. TBH it's pretty horrible, since it's possible to have more than one of each type of object in the list, so not sure what to do about that. Would be nicer as a HashTable. however we are where we're are for now. Start by focussing on getting the content saved for each type List getContent() Gets the value of the content property. This accessor method returns a reference to the live list,not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object.This is why there is not a set method for the content property. For example, to add a new item, do as follows: getContent().add(newItem); Objects of the following type(s) are allowed in the list JAXBElement JAXBElement JAXBElement JAXBElement JAXBElement JAXBElementinvalid input: '<'Deployment.SamplingDetails> JAXBElementinvalid input: '<'Deployment.Sensors> JAXBElementinvalid input: '<'Deployment.Instrument> JAXBElement JAXBElementinvalid input: '<'Deployment.Data> JAXBElement String JAXBElement JAXBElementinvalid input: '<'Deployment.SiteAliases> JAXBElement JAXBElement
Author:
dg50
  • Constructor Details

    • PamDeployment

      public PamDeployment()