Package tethys.niluswraps
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 Summary
ConstructorDescriptionWrappedDescriptionType
(String objectives, String _abstract, String method) Constructor from a set of stringsWrappedDescriptionType
(nilus.DescriptionType descriptionType) Construct from a nilus object -
Method Summary
Modifier and TypeMethodDescriptionnilus.DescriptionType
void
setAbstract
(String _abstract) void
setDescription
(nilus.DescriptionType description) void
void
setObjectives
(String objectives) Methods inherited from class tethys.niluswraps.NilusSettingsWrapper
clone, getDocument, getNilusObject, getXmlString, repackNilusObject, reSerialise, setNilusObject
-
Constructor Details
-
WrappedDescriptionType
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
-
getAbstract
- Returns:
- the _abstract
-
setAbstract
- Parameters:
_abstract
- the _abstract to set
-
getMethod
- Returns:
- the method
-
setMethod
- Parameters:
method
- the method to set
-
setObjectives
- Parameters:
objectives
- the objectives to set
-