moise.os.fs
Class FS
java.lang.Object
moise.common.MoiseElement
moise.os.fs.FS
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable, Identifiable, ToXML
public class FS
- extends MoiseElement
- implements ToXML
Represents a Functional Specification.
- See Also:
- Serialized Form
Field Summary |
protected OS |
os
|
protected java.util.Map<java.lang.String,Scheme> |
schs
|
Constructor Summary |
FS(OS os)
Creates new SS |
Methods inherited from class moise.common.MoiseElement |
compareTo, equals, getBoolProperty, getBoolProperty, getCreationDate, getFullId, getId, getId, getOwner, getPrefix, getPrefix, getProperties, getPropertiesAsDOM, getPropertiesAsProlog, getProperty, getStrProperty, hashCode, setId, setOwner, setPrefix, setPropertiesFromDOM, setProperty, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
schs
protected java.util.Map<java.lang.String,Scheme> schs
os
protected OS os
FS
public FS(OS os)
- Creates new SS
addScheme
public void addScheme(Scheme s)
addScheme
public void addScheme(java.util.Collection<Scheme> cs)
findScheme
public Scheme findScheme(java.lang.String id)
getSchemes
public java.util.Collection<Scheme> getSchemes()
getOS
public OS getOS()
findMission
public Mission findMission(java.lang.String id)
- find a mission in all schemes
getAllMissions
public java.util.Collection<Mission> getAllMissions()
findGoal
public Goal findGoal(java.lang.String id)
- find a goal in all schemes
getXMLTag
public static java.lang.String getXMLTag()
getAsDOM
public org.w3c.dom.Element getAsDOM(org.w3c.dom.Document document)
- Specified by:
getAsDOM
in interface ToXML
setFromDOM
public void setFromDOM(org.w3c.dom.Element ele)
throws MoiseException
- Throws:
MoiseException