ca.macewan.ims.enterprise
Class Member

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

public class Member
extends Object

Represents a "member" element.

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

Field Summary
static String[] IDTYPE_ENUM
           
static String IDTYPE_GROUP
           
static String IDTYPE_PERSON
           
 
Constructor Summary
Member()
           
Member(SourcedID id, String idtp, Role r)
           
 
Method Summary
 void addRole(Role r)
           
 Comments getComments()
           
 String getIDType()
           
 Role[] getRole()
           
 SourcedID getSourcedID()
           
 void setComments(Comments c)
           
 void setIDType(String idtp)
           
 void setSourcedID(SourcedID id)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDTYPE_PERSON

public static final String IDTYPE_PERSON
See Also:
Constant Field Values

IDTYPE_GROUP

public static final String IDTYPE_GROUP
See Also:
Constant Field Values

IDTYPE_ENUM

public static final String[] IDTYPE_ENUM
Constructor Detail

Member

public Member()

Member

public Member(SourcedID id,
              String idtp,
              Role r)
Method Detail

setComments

public void setComments(Comments c)

getComments

public Comments getComments()

setSourcedID

public void setSourcedID(SourcedID id)

getSourcedID

public SourcedID getSourcedID()

setIDType

public void setIDType(String idtp)

getIDType

public String getIDType()

addRole

public void addRole(Role r)

getRole

public Role[] getRole()

validate

public void validate()
              throws IMSEnterpriseException
Throws:
IMSEnterpriseException