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.
 
Fields inherited from interface wt.folder.CabinetBased
CABINET_REFERENCE, FOLDER_PATH, LOCATION, NAME
 
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 getReferencingFolder()
          Gets the object for the association that plays role: REFERENCING_FOLDER_ROLE.
 CabinetBased getTarget()
          Gets the object for the association that plays role: TARGET_ROLE.
 void setReferencingFolder(Folder referencingFolder)
          Sets the object for the association that plays role: REFERENCING_FOLDER_ROLE.
 void setTarget(CabinetBased target)
          Sets the object for the association that plays role: TARGET_ROLE.
 
Methods inherited from interface wt.folder.CabinetBased
getCabinetReference, getFolderPath, getLocation, getName
 
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.folder.FolderEntryLink
getEntry, getFolder, setFolder
 
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

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
Method Detail

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 -