wt.folder
Interface FolderMembership

All Superinterfaces:
BinaryLink, FolderEntryLink, FolderServiceManaged, Link, NetFactor, ObjectMappable, Persistable, Serializable
All Known Implementing Classes:
DynamicFolderMembershipLink, FolderMemberLink, IteratedFolderMemberLink

public interface FolderMembership
extends FolderEntryLink, BinaryLink

A FolderMembership association defines the basic containment characteristic of a Folder. Whenever the Folder of an object that participates in a FolderMembership association is deleted, the member is deleted also. The object performing the folder role in the association, the Folder is the container, the object performing the member role, a FolderEntry is the contained object.

Supported API: true

Extendable: false


Field Summary
static String FOLDER_ROLE
          Label for the attribute; The Folder containing object of the FolderMembership association.
static String MEMBER_ROLE
          Label for the attribute; The FolderEntry object which performs the member role (i.e.
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Fields inherited from interface wt.fc.BinaryLink
ALL_ROLES, BOTH_ROLES, ROLE_AOBJECT_REF, ROLE_AOBJECT_ROLE, ROLE_BOBJECT_REF, ROLE_BOBJECT_ROLE
 
Method Summary
 Folder getFolder()
          Gets the object for the association that plays role: FOLDER_ROLE.
 FolderEntry getMember()
          Gets the object for the association that plays role: MEMBER_ROLE.
 void setFolder(Folder folder)
          Sets the object for the association that plays role: FOLDER_ROLE.
 void setMember(FolderEntry member)
          Sets the object for the association that plays role: MEMBER_ROLE.
 
Methods inherited from interface wt.folder.FolderEntryLink
getEntry
 
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
 
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
 

Field Detail

FOLDER_ROLE

public static final String FOLDER_ROLE
Label for the attribute; The Folder containing object of the FolderMembership association.

Supported API: false

See Also:
Constant Field Values

MEMBER_ROLE

public static final String MEMBER_ROLE
Label for the attribute; The FolderEntry object which performs the member role (i.e. the contained object) in the FolderMembership association.

Supported API: false

See Also:
Constant Field Values
Method Detail

getFolder

public Folder getFolder()
Gets the object for the association that plays role: FOLDER_ROLE. The Folder containing object of the FolderMembership association.

Supported API: false

Specified by:
getFolder in interface FolderEntryLink
Returns:
Folder

setFolder

public void setFolder(Folder folder)
Sets the object for the association that plays role: FOLDER_ROLE. The Folder containing object of the FolderMembership association.

Supported API: false

Specified by:
setFolder in interface FolderEntryLink
Parameters:
folder -

getMember

public FolderEntry getMember()
Gets the object for the association that plays role: MEMBER_ROLE. The FolderEntry object which performs the member role (i.e. the contained object) in the FolderMembership association.

Supported API: false

Returns:
FolderEntry

setMember

public void setMember(FolderEntry member)
Sets the object for the association that plays role: MEMBER_ROLE. The FolderEntry object which performs the member role (i.e. the contained object) in the FolderMembership association.

Supported API: false

Parameters:
member -