wt.workflow.forum
Interface ForumSubject

All Superinterfaces:
BinaryLink, Link, NetFactor, ObjectMappable, Persistable, Serializable
All Known Implementing Classes:
ForumSubjectLink, IteratedForumSubjectLink

public interface ForumSubject
extends BinaryLink

This interface represents an association between a Forum and a SubjectOfForum. The primary attribute on the ForumSubject indicates that the object that plays the SUBJECT_ROLE is the first business object to have used the Forum on the other side of the association.

Supported API: false

Extendable: false


Field Summary
static String DISCUSSION_ROLE
          Label for the attribute.
static String PRIMARY
          Label for the attribute.
static String SUBJECT_ROLE
          Label for the attribute.
 
Fields inherited from interface wt.fc.BinaryLink
ALL_ROLES, BOTH_ROLES, ROLE_AOBJECT_REF, ROLE_AOBJECT_ROLE, ROLE_BOBJECT_REF, ROLE_BOBJECT_ROLE
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Method Summary
 Forum getDiscussion()
          Gets the object for the association that plays role: DISCUSSION_ROLE.
 SubjectOfForum getSubject()
          Gets the object for the association that plays role: SUBJECT_ROLE.
 boolean isPrimary()
          Gets the value of the attribute: PRIMARY.
 void setDiscussion(Forum discussion)
          Sets the object for the association that plays role: DISCUSSION_ROLE.
 void setPrimary(boolean a_Primary)
          Sets the value of the attribute: PRIMARY.
 void setSubject(SubjectOfForum subject)
          Sets the object for the association that plays role: SUBJECT_ROLE.
 
Methods inherited from interface wt.fc.BinaryLink
getLinkInfo, getObject, getOtherObject, getRole, getRoleAObject, getRoleAObjectId, getRoleAObjectRef, getRoleBObject, getRoleBObjectId, getRoleBObjectRef, setRoleAObject, setRoleAObjectRef, setRoleBObject, setRoleBObjectRef
 
Methods inherited from interface wt.fc.Link
appendJoinCriteria, appendRoleCriteria, getAllObjects, getJoinValues, getRoleIdName, getRoleObject, setRoleObject
 
Methods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo
 
Methods inherited from interface wt.fc.ObjectMappable
readExternal, writeExternal
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo, getConceptualClassname
 

Field Detail

DISCUSSION_ROLE

public static final String DISCUSSION_ROLE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

SUBJECT_ROLE

public static final String SUBJECT_ROLE
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

PRIMARY

public static final String PRIMARY
Label for the attribute.

Supported API: false

See Also:
Constant Field Values
Method Detail

getDiscussion

public Forum getDiscussion()
Gets the object for the association that plays role: DISCUSSION_ROLE.

Supported API: false

Returns:
Forum

setDiscussion

public void setDiscussion(Forum discussion)
                   throws WTPropertyVetoException
Sets the object for the association that plays role: DISCUSSION_ROLE.

Supported API: false

Parameters:
discussion -
Throws:
WTPropertyVetoException

getSubject

public SubjectOfForum getSubject()
Gets the object for the association that plays role: SUBJECT_ROLE.

Supported API: false

Returns:
SubjectOfForum

setSubject

public void setSubject(SubjectOfForum subject)
                throws WTPropertyVetoException
Sets the object for the association that plays role: SUBJECT_ROLE.

Supported API: false

Parameters:
subject -
Throws:
WTPropertyVetoException

isPrimary

public boolean isPrimary()
Gets the value of the attribute: PRIMARY.

Supported API: false

Returns:
boolean

setPrimary

public void setPrimary(boolean a_Primary)
                throws WTPropertyVetoException
Sets the value of the attribute: PRIMARY.

Supported API: false

Parameters:
a_Primary -
Throws:
WTPropertyVetoException