moise.os.ss
Class Link

Package class diagram package Link
java.lang.Object
  extended by moise.common.MoiseElement
      extended by moise.os.ss.RoleRel
          extended by moise.os.ss.Link
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable, Identifiable, ToXML

public class Link
extends RoleRel

Represents a Link between two roles (its source and destination).

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class moise.os.ss.RoleRel
RoleRel.RoleRelScope
 
Field Summary
 
Fields inherited from class moise.os.ss.RoleRel
biDirectional, extendsToSubGroups, grSpec, scope, source, target
 
Fields inherited from class moise.common.MoiseElement
debug
 
Constructor Summary
Link(Group gr, java.lang.String linkType)
          Creates new Link
Link(Role s, Role d, Group gr, java.lang.String linkType)
          Creates new Link
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getTypeStr()
           
 java.lang.String getXMLTag()
           
 
Methods inherited from class moise.os.ss.RoleRel
contains, getAsDOM, getBiDirStr, getExtendsToSubGroups, getExtendsToSubGroupsStr, getGrSpec, getScope, getSource, getTarget, isBiDir, setBiDir, setExtendsToSubGroups, setFromDOM, setScope, setScope, sourceContains, targetContains, toString
 
Methods inherited from class moise.common.MoiseElement
compareTo, getBoolProperty, getBoolProperty, getCreationDate, getFullId, getId, getId, getOwner, getPrefix, getPrefix, getProperties, getPropertiesAsDOM, getPropertiesAsProlog, getProperty, getStrProperty, hashCode, setId, setOwner, setPrefix, setPropertiesFromDOM, setProperty
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Link

public Link(Role s,
            Role d,
            Group gr,
            java.lang.String linkType)
     throws MoiseConsistencyException
Creates new Link

Throws:
MoiseConsistencyException

Link

public Link(Group gr,
            java.lang.String linkType)
     throws MoiseConsistencyException
Creates new Link

Throws:
MoiseConsistencyException
Method Detail

getTypeStr

public java.lang.String getTypeStr()
Overrides:
getTypeStr in class RoleRel

getXMLTag

public java.lang.String getXMLTag()
Overrides:
getXMLTag in class RoleRel

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class RoleRel