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. |
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.fc.BinaryLink |
getLinkInfo, getObject, getOtherObject, getRole, getRoleAObject, getRoleAObjectId, getRoleAObjectRef, getRoleBObject, getRoleBObjectId, getRoleBObjectRef, setRoleAObject, setRoleAObjectRef, setRoleBObject, setRoleBObjectRef |
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
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
-