Class WrappedDescriptionType

java.lang.Object
tethys.niluswraps.NilusSettingsWrapper<nilus.DescriptionType>
tethys.niluswraps.WrappedDescriptionType
All Implemented Interfaces:
Serializable, Cloneable

public class WrappedDescriptionType extends NilusSettingsWrapper<nilus.DescriptionType> implements Serializable
Because we want to save DescriptionType objects in serialised psfx files and because Nilus description types are not serialised these have to be wrapped in a total bodge way with reasonably convenient constructors and getters for converting back and forth from the nilus object. this is now slightly more rationalised in NilusSettingsWrapper.
Author:
dg50
See Also:
  • Constructor Details

    • WrappedDescriptionType

      public WrappedDescriptionType(String objectives, String _abstract, String method)
      Constructor from a set of strings
      Parameters:
      objectives -
      _abstract -
      method -
    • WrappedDescriptionType

      public WrappedDescriptionType(nilus.DescriptionType descriptionType)
      Construct from a nilus object
      Parameters:
      descriptionType -
    • WrappedDescriptionType

      public WrappedDescriptionType()
  • Method Details

    • getDescription

      public nilus.DescriptionType getDescription()
    • setDescription

      public void setDescription(nilus.DescriptionType description)
    • getObjectives

      public String getObjectives()
    • getAbstract

      public String getAbstract()
      Returns:
      the _abstract
    • setAbstract

      public void setAbstract(String _abstract)
      Parameters:
      _abstract - the _abstract to set
    • getMethod

      public String getMethod()
      Returns:
      the method
    • setMethod

      public void setMethod(String method)
      Parameters:
      method - the method to set
    • setObjectives

      public void setObjectives(String objectives)
      Parameters:
      objectives - the objectives to set