com.starteam
Class Concept

java.lang.Object
  extended by com.starteam.TypedResource
      extended by com.starteam.LiveObject
          extended by com.starteam.TrackedObject
              extended by com.starteam.VersionedObject
                  extended by com.starteam.ViewMember
                      extended by com.starteam.Item
                          extended by com.starteam.Concept
All Implemented Interfaces:
ISecurable, Lockable, LockableObject, java.lang.Cloneable

public class Concept
extends Item

A Concept is a basic unit of content.


Nested Class Summary
static class Concept.Type
          Type meta-data (schema) for Concept object instances.
static class Concept.WebCacheConcept
          Item accessor for cached SDK Concept items contained objects are obtained from the artifact cache
 
Nested classes/interfaces inherited from class com.starteam.Item
Item.WebCacheItem
 
Nested classes/interfaces inherited from class com.starteam.ViewMember
ViewMember.LockType, ViewMember.MyLock, ViewMember.ShareState, ViewMember.WebCacheViewMember
 
Nested classes/interfaces inherited from class com.starteam.VersionedObject
VersionedObject.WebCacheVersionedObject
 
Nested classes/interfaces inherited from class com.starteam.TrackedObject
TrackedObject.WebCacheTrackedObject
 
Nested classes/interfaces inherited from class com.starteam.LiveObject
LiveObject.WebCacheLiveObject
 
Nested classes/interfaces inherited from class com.starteam.TypedResource
TypedResource.BranchState
 
Method Summary
static Concept create(Folder prnt)
          Create a Concept in the specified parent folder.
 int getConceptID()
          Returns the concept id.
 Content getContent()
          Returns the content of this Concept.
 java.lang.String getDescription()
          Returns the text in the "Description" property for this Concept.
 java.lang.String getName()
          Returns the Name of this Concept.
 Concept.Type.PropertyCollection getProperties()
          Gets the PropertyCollection for this Concept.
 EnumeratedValue[] getTags()
          returns the tags, if any, attached to this story the returned array may be of size 0, but is never null
 void setContent(Content cntnt)
          Sets the content of this Concept.
 void setDescription(java.lang.String description)
          Sets the text in the "Description" property for this Concept.
 void setName(java.lang.String Name)
          Sets the Name of this Concept.
 void setTags(EnumeratedValue[] tags)
          sets the tags to be assigned to this story 0, 1 or more tags may be assigned or reassigned
 
Methods inherited from class com.starteam.Item
copy, deleteMergePoint, getCommonAncestor, getDebugString, getDisplayableProperties, getItemID, getMergeHistory, getNewRevisionComment, getParentContainer, getParentFolder, getParentFolderHierarchy, getParentFolderName, getParentFolderPath, getParentFolderQualifiedName, getSharedChangePackages, getSharedTraces, isEqualTo, isReverseShareRecommended, moveTo, recordMergePoint, remove, resolve, resolveMergePoint, resolveMergePointEx, reverseShareTo, reverseShareTo, shareTo, smartShareTo, toString
 
Methods inherited from class com.starteam.ViewMember
equals, findLinks, getAllLabels, getAllShares, getAttachedLabels, getAttachments, getBehavior, getCache, getComment, getDeletedBy, getDeletedTime, getDisplayValue, getDotNotation, getExclusiveLocker, getExternalID, getExternalURL, getFromHistory, getFromHistory, getFromHistory, getFromHistory, getHistory, getID, getIntegerArrayValue, getLocker, getMyLockType, getParentRevision, getPresentationID, getRights, getRootObjectID, getShare, getShare, getTraces, getValue, getView, getViewMemberRevisions, getViewVersion, getVMID, hashCode, hasPermissions, isBookmarked, isBranchable, isDeleted, isDisembodied, isEqualTo, isReadOnly, isRootShare, isUnread, lockExclusive, lockExclusive, lockNonExclusive, modifyBookmark, modifyReadStatus, putLock, setAttachments, setBehavior, setBranchOnChange, setComment, setExternalID, setExternalURL, setFixedConfiguration, setFloatingConfiguration, setRights, setValue, unlock, update, updateRevisionComment
 
Methods inherited from class com.starteam.VersionedObject
getBranchRevision, getRevisionNumber, getViewVersion, isFromHistory
 
Methods inherited from class com.starteam.TrackedObject
getModifiedBy, getModifiedTime
 
Methods inherited from class com.starteam.LiveObject
getCreatedBy, getCreatedTime, toStarTeamURL
 
Methods inherited from class com.starteam.TypedResource
addToIntegerArray, getBooleanValue, getByteArrayValue, getCachedProperties, getContentValue, getDateTimeValue, getDateValue, getDisplayName, getDoubleValue, getEnumDisplayName, getEnumeratedValues, getIntegerValue, getLinkValue, getLongValue, getObjectID, getPossibleValues, getServer, getStringValue, getTimeSpanValue, getType, hasCachedProperties, hasValue, isDirty, isNew, removeFromIntegerArray, setBooleanValue, setByteArrayValue, setContentValue, setDateTimeValue, setDateValue, setDoubleValue, setEnumeratedValue, setEnumeratedValues, setIntegerArrayValue, setIntegerValue, setLinkValue, setLongValue, setStringValue, setTimeSpanValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.starteam.ISecurable
getServer, getType
 

Method Detail

create

public static Concept create(Folder prnt)
Create a Concept in the specified parent folder.

Parameters:
prnt - the parent folder
Returns:
a new Concept Object.

getProperties

public Concept.Type.PropertyCollection getProperties()
Gets the PropertyCollection for this Concept.

Returns:
the PropertyCollection of its Type

getConceptID

public int getConceptID()
Returns the concept id.

Returns:
the concept id.
See Also:
Concept.Type.PropertyCollection.CONCEPT_ID

getName

public java.lang.String getName()
Returns the Name of this Concept.

Returns:
the Name of this Concept.
See Also:
Concept.Type.PropertyCollection.NAME

setName

public void setName(java.lang.String Name)
Sets the Name of this Concept.

Parameters:
Name - the new Name for this Concept.
See Also:
Concept.Type.PropertyCollection.NAME

getContent

public Content getContent()
Returns the content of this Concept.

Returns:
the content of this Concept.
See Also:
Concept.Type.PropertyCollection.CONTENT

setContent

public void setContent(Content cntnt)
Sets the content of this Concept.

Parameters:
content - the new content for this Concept.
See Also:
Concept.Type.PropertyCollection.CONTENT

getDescription

public java.lang.String getDescription()
Returns the text in the "Description" property for this Concept.

Returns:
the text in the "Description" property for this Concept.
See Also:
Concept.Type.PropertyCollection.DESCRIPTION

setDescription

public void setDescription(java.lang.String description)
Sets the text in the "Description" property for this Concept.

Parameters:
description - the text in the "Description" property for this Concept.
See Also:
Concept.Type.PropertyCollection.DESCRIPTION

getTags

public EnumeratedValue[] getTags()
returns the tags, if any, attached to this story the returned array may be of size 0, but is never null

Returns:
the tags, if any attached to this story

setTags

public void setTags(EnumeratedValue[] tags)
sets the tags to be assigned to this story 0, 1 or more tags may be assigned or reassigned

Parameters:
tags - the tags to be assigned to this story


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.