Package 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.- Author:
- Jomi Fred Hubner
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected OS
os
protected java.util.Map<java.lang.String,Scheme>
schs
private static long
serialVersionUID
-
Fields inherited from class moise.common.MoiseElement
debug
-
-
Method Summary
Modifier and Type Method Description void
addScheme(java.util.Collection<Scheme> cs)
void
addScheme(Scheme s)
Goal
findGoal(java.lang.String id)
find a goal in all schemesMission
findMission(java.lang.String id)
find a mission in all schemesScheme
findScheme(java.lang.String id)
java.util.Collection<Mission>
getAllMissions()
org.w3c.dom.Element
getAsDOM(org.w3c.dom.Document document)
OS
getOS()
java.util.Collection<Scheme>
getSchemes()
static java.lang.String
getXMLTag()
void
setFromDOM(org.w3c.dom.Element ele)
-
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
schs
protected java.util.Map<java.lang.String,Scheme> schs
-
os
protected OS os
-
-
Constructor Detail
-
FS
public FS(OS os)
Creates new SS
-
-
Method Detail
-
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)
-
setFromDOM
public void setFromDOM(org.w3c.dom.Element ele) throws MoiseException
- Throws:
MoiseException
-
-