public final class SpecRelation extends SpecElementWithAttributes<E>
SPEC-RELATION
element in ReqIF.Modifier and Type | Method and Description |
---|---|
SpecObjectReference |
getSourceSpecObjectReference()
Returns the
SpecObjectReference that is associated with the source of the relation. |
SpecRelationType |
getSpecRelationType()
Returns the
SpecRelationType that is associated with the type of the relation. |
SpecObjectReference |
getTargetSpecObjectReference()
Returns the
SpecObjectReference that is associated with the target of the relation. |
getAttributeValues
getSpecType, toString
equals, getAlternativeID, getChildren, getDesc, getIdentifier, getLastChange, getLastChangeText, getLongName, getPathToRoot, getReqIFContent, hashCode, isUsed, isValidIdentifier, setAlternativeID, setDesc, setLastChange, setLongName, whereUsed
public SpecObjectReference getSourceSpecObjectReference()
SpecObjectReference
that is associated with the source of the relation.SpecObjectReference
of the SpecRelation
source, not nullpublic SpecObjectReference getTargetSpecObjectReference()
SpecObjectReference
that is associated with the target of the relation.SpecObjectReference
of the SpecRelation
target, not nullpublic SpecRelationType getSpecRelationType()
SpecRelationType
that is associated with the type of the relation.SpecRelationType
of the SpecRelation
, not null