001/* 002 * file SymbolicLinkVersion.java 003 * 004 * Licensed Materials - Property of IBM 005 * Restricted Materials of IBM 006 * 007 * (c) Copyright IBM Corporation 2007, 2008. All Rights Reserved. 008 * Note to U.S. Government Users Restricted Rights: Use, duplication or 009 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp. 010 */ 011package javax.wvcm; 012 013import javax.wvcm.PropertyNameList.PropertyName; 014 015/** 016 * A proxy for a symbolic link version resource. 017 * 018 * @since 1.1 019 */ 020public interface SymbolicLinkVersion extends Version { 021 022 /** 023 * A pathname that identifies the resource to which the symbolic link refers. 024 * @see #getLinkTarget 025 */ 026 public static final PropertyName<Location> LINK_TARGET = 027 new PropertyName<Location>("link-target"); //$NON-NLS-1$ 028 029 /** 030 * Get the {@link #LINK_TARGET} property. 031 * 032 * @return the {@link #LINK_TARGET} property. 033 * @throws WvcmException if this property was not set and 034 * this ControllableSymbolicLink was not created with 035 * {@link #LINK_TARGET} as a wanted property. 036 */ 037 public Location getLinkTarget() throws WvcmException; 038 039}