wt.folder
Interface Shortcut
- All Superinterfaces:
- BinaryLink, CabinetBased, FolderEntry, FolderEntryLink, FolderServiceManaged, Link, NetFactor, ObjectMappable, Persistable, Serializable
- All Known Implementing Classes:
- IteratedShortcutLink, ShortcutLink
- public interface Shortcut
- extends FolderEntry, FolderEntryLink, BinaryLink
Provides a means for one Folder to have references to other Folder's
or FolderEntry objects (ie to any CabinetBased object). The location
for any Shortcut is the same as the path of the Folder that the shortcut
is in. The folder path for any shortcut is the Location of the Folder
plus the name of the object that the Shortcut is associated with.
Supported API: true
Extendable: false
Field Summary |
static String |
REFERENCING_FOLDER_ROLE
Label for the attribute; The referencingFolder role object is the folder
that contains the Shortcut. |
static String |
TARGET_ROLE
Label for the attribute; The target of the association is the object
which appears as a Shortcut member of a folder. |
Methods inherited from interface wt.fc.BinaryLink |
getLinkInfo, getObject, getOtherObject, getRole, getRoleAObject, getRoleAObjectId, getRoleAObjectRef, getRoleBObject, getRoleBObjectId, getRoleBObjectRef, setRoleAObject, setRoleAObjectRef, setRoleBObject, setRoleBObjectRef |
REFERENCING_FOLDER_ROLE
public static final String REFERENCING_FOLDER_ROLE
- Label for the attribute; The referencingFolder role object is the folder
that contains the Shortcut.
Supported API: false
- See Also:
- Constant Field Values
TARGET_ROLE
public static final String TARGET_ROLE
- Label for the attribute; The target of the association is the object
which appears as a Shortcut member of a folder.
Supported API: false
- See Also:
- Constant Field Values
getReferencingFolder
public Folder getReferencingFolder()
- Gets the object for the association that plays role: REFERENCING_FOLDER_ROLE.
The referencingFolder role object is the folder that contains the
Shortcut.
Supported API: false
- Returns:
- Folder
setReferencingFolder
public void setReferencingFolder(Folder referencingFolder)
- Sets the object for the association that plays role: REFERENCING_FOLDER_ROLE.
The referencingFolder role object is the folder that contains the
Shortcut.
Supported API: false
- Parameters:
referencingFolder
-
getTarget
public CabinetBased getTarget()
- Gets the object for the association that plays role: TARGET_ROLE.
The target of the association is the object which appears as a Shortcut
member of a folder.
Supported API: false
- Returns:
- CabinetBased
setTarget
public void setTarget(CabinetBased target)
- Sets the object for the association that plays role: TARGET_ROLE.
The target of the association is the object which appears as a Shortcut
member of a folder.
Supported API: false
- Parameters:
target
-