ca.macewan.ims.enterprise
Class Relationship

java.lang.Object
  extended byca.macewan.ims.enterprise.Relationship

public class Relationship
extends Object

Represents a "relationshsip" element.

Version:
0.1
Author:
Erwin Veugelers
See Also:
IMS Enterprise Specification

Field Summary
static String RELATION_CHILD
           
static String[] RELATION_ENUM
           
static String RELATION_KNOWNAS
           
static String RELATION_PARENT
           
 
Constructor Summary
Relationship()
           
Relationship(SourcedID id, String l)
           
 
Method Summary
 String getLabel()
           
 String getRelation()
           
 SourcedID getSourcedID()
           
 void setLabel(String l)
           
 void setRelation(String rel)
           
 void setSourcedID(SourcedID id)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RELATION_PARENT

public static final String RELATION_PARENT
See Also:
Constant Field Values

RELATION_CHILD

public static final String RELATION_CHILD
See Also:
Constant Field Values

RELATION_KNOWNAS

public static final String RELATION_KNOWNAS
See Also:
Constant Field Values

RELATION_ENUM

public static final String[] RELATION_ENUM
Constructor Detail

Relationship

public Relationship()

Relationship

public Relationship(SourcedID id,
                    String l)
Method Detail

setRelation

public void setRelation(String rel)

getRelation

public String getRelation()

setSourcedID

public void setSourcedID(SourcedID id)

getSourcedID

public SourcedID getSourcedID()

setLabel

public void setLabel(String l)

getLabel

public String getLabel()

validate

public void validate()
              throws IMSEnterpriseException
Throws:
IMSEnterpriseException