PTP
Release 7.0

org.eclipse.ptp.pldt.common
Interface IArtifact

All Known Implementing Classes:
Artifact

public interface IArtifact

Artifacts contain information about something found in source code.


Method Summary
 int getColumn()
          Get the column number within the line
 String getDescription()
          Get text description of the artifact
 String getFileName()
          Get string representation of the filename containing the artifact
 String getId()
          Get unique id
 int getLine()
          Get line number within file
 String getPrimaryfileName()
           
 String getShortName()
          Get short name of artifact
 SourceInfo getSourceInfo()
          Get detail info on source code location of artifact
 void setColumn(int col)
          Set the column number within the line
 void setLine(int lineNo)
          Set the line number within the file
 void setShortName(String name)
          Set short name for artifact
 

Method Detail

getColumn

int getColumn()
Get the column number within the line

Returns:

setColumn

void setColumn(int col)
Set the column number within the line

Parameters:
col -

getDescription

String getDescription()
Get text description of the artifact

Returns:

getFileName

String getFileName()
Get string representation of the filename containing the artifact

Returns:

getId

String getId()
Get unique id

Returns:

getLine

int getLine()
Get line number within file

Returns:

setLine

void setLine(int lineNo)
Set the line number within the file

Parameters:
lineNo -

getPrimaryfileName

String getPrimaryfileName()
Returns:

getShortName

String getShortName()
Get short name of artifact

Returns:

setShortName

void setShortName(String name)
Set short name for artifact

Parameters:
name -

getSourceInfo

SourceInfo getSourceInfo()
Get detail info on source code location of artifact

Returns:

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.