com.ibm.rational.wvcm.stp.cc
Interface CcElement
- All Superinterfaces:
- CcResource, CcVobResource, Folder, Resource, StpResource, VersionHistory
- All Known Subinterfaces:
- CcDirectoryElement
public interface CcElement
- extends VersionHistory, CcVobResource
A proxy for a ClearCase element.
Items under Rational ClearCase source control (version control) are
generally referred to as elements. An element can be a design model,
C++ source file, Visual Studio project, or a DLL. Elements are typically
the objects on which you do work. About versions, elements, and VOBs:
each time you revise and check in a file or directory from a view, a new
version of that element is created. Files and directories under Rational
ClearCase control (and all of their constituent versions) are called
elements and are stored in VOBs.
For more information about elements, see the ClearCase "Guide to Developing Software"
manual, and the cleartool man page "mkelem".
Fields inherited from interface javax.wvcm.Resource |
ALL_CUSTOM_PROPERTIES, COMMENT, CONTENT_CHARACTER_SET, CONTENT_IDENTIFIER, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CREATION_DATE, CREATOR_DISPLAY_NAME, DISPLAY_NAME, IS_EXECUTABLE, LAST_MODIFIED, PARENT_LIST, PATHNAME_LOCATION, PROVIDER_LIST, RESOURCE_IDENTIFIER, WORKSPACE_FOLDER_LIST |
Methods inherited from interface CcVobResource |
doApplyAttribute, doRemoveAttribute, doRequestForMastership, getAttributeList, getCurrentReplica, getHasLocalMastership, getHyperlinkList, getLockInfo, getMasterReplica, getPermissions, getVob, setLockInfo, setPermissions |
Methods inherited from interface com.ibm.rational.wvcm.stp.StpResource |
doReadProperties, equals, getAllProperties, getAuthenticationRealm, getCreatorGroupName, getCreatorLoginName, getCustomProperties, getEfficientLocation, getInvalidProperties, getMetaProperties, getPropertyException, getRepository, getResourceError, getResourceIdentifier, getStableLocation, getUserFriendlyLocation, hashCode, hasProperties, initMetaProperty, proxyType, setPropertyClean, stpLocation, stpProvider |
Methods inherited from interface javax.wvcm.Resource |
doCopy, doFind, doFindAll, doGetPropertyNameList, doGetPropertyNameList, doReadContent, doReadProperties, doUnbindAll, doWriteContent, doWriteProperties, forgetProperty, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreatorDisplayName, getDisplayName, getIsExecutable, getLastModified, getParentList, getPathnameLocation, getProperty, getProviderList, getWorkspaceFolderList, initProperty, location, lookupProperty, modifyLocation, propertyNameList, provider, removeProperty, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setIsExecutable, setProperty, setProperty, updatedPropertyNameList |
ELEMENT_TYPE
static final PropertyNameList.PropertyName<CcElementType> ELEMENT_TYPE
- Get this element's element type.
VIEW_RELATIVE_PATH
static final PropertyNameList.PropertyName<String> VIEW_RELATIVE_PATH
The view-relative path for this element.
NOTE: This property is only available if it is retrieved
using a method with a view context, such as
Resource.doReadProperties(CcView, PropertyRequest).
ClearCase needs a view context to resolve element paths.
getElementType
CcElementType getElementType()
throws WvcmException
- Get the value of this element's
ELEMENT_TYPE
property.
- Returns:
- element type for the element
- Throws:
WvcmException
- if property was not requested
getViewRelativePath
String getViewRelativePath()
throws WvcmException
- Get the value of this element's
VIEW_RELATIVE_PATH
property.
- Returns:
- view-relative path for the element
- Throws:
WvcmException
- if property was not requested, or if the view context
was not provided
Copyright © IBM 2015. All rights reserved.