public class NS extends MoiseElement implements ToXML
Modifier and Type | Class and Description |
---|---|
static class |
NS.OpTypes |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Norm> |
norms |
debug
Modifier and Type | Method and Description |
---|---|
void |
addNorm(java.util.Collection<Norm> ns) |
void |
addNorm(Norm n) |
org.w3c.dom.Element |
getAsDOM(org.w3c.dom.Document document) |
java.util.Collection<Norm> |
getNorms() |
OS |
getOS() |
static java.lang.String |
getXMLTag() |
boolean |
hasNorm(java.lang.String roleId,
java.lang.String missionId,
NS.OpTypes type)
returns true whether there is a type norm from roleId to missionId.
|
void |
removeNorms(Role r)
remove the norms for the role r
|
void |
setFromDOM(org.w3c.dom.Element ele) |
compareTo, equals, getBoolProperty, getBoolProperty, getCreationDate, getFullId, getId, getId, getOwner, getPrefix, getPrefix, getProperties, getPropertiesAsDOM, getPropertiesAsProlog, getProperty, getStrProperty, hashCode, setId, setOwner, setPrefix, setPropertiesFromDOM, setProperty, toString
protected java.util.Set<Norm> norms
public NS(OS os)
public OS getOS()
public void addNorm(Norm n)
public void addNorm(java.util.Collection<Norm> ns)
public java.util.Collection<Norm> getNorms()
public boolean hasNorm(java.lang.String roleId, java.lang.String missionId, NS.OpTypes type)
public void removeNorms(Role r)
public static java.lang.String getXMLTag()
public org.w3c.dom.Element getAsDOM(org.w3c.dom.Document document)
public void setFromDOM(org.w3c.dom.Element ele) throws MoiseException
MoiseException