com.hammurapi.config
Interface Source

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
SourceImpl

public interface Source
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Source'. For generated definitions, source(s) of data for generation to provide debugging information.

The following features are supported:

See Also:
ConfigPackage.getSource()

Method Summary
 int getCol()
          Returns the value of the 'Col' attribute.
 String getComment()
          Returns the value of the 'Comment' attribute.
 int getLine()
          Returns the value of the 'Line' attribute.
 String getPath()
          Returns the value of the 'Path' attribute.
 String getType()
          Returns the value of the 'Type' attribute.
 void setCol(int value)
          Sets the value of the 'Col' attribute.
 void setComment(String value)
          Sets the value of the 'Comment' attribute.
 void setLine(int value)
          Sets the value of the 'Line' attribute.
 void setPath(String value)
          Sets the value of the 'Path' attribute.
 void setType(String value)
          Sets the value of the 'Type' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getType

String getType()
Returns the value of the 'Type' attribute. Source type, e.g. rule-set, flow.

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), ConfigPackage.getSource_Type()

setType

void setType(String value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
getType()

getPath

String getPath()
Returns the value of the 'Path' attribute. Path to the source.

Returns:
the value of the 'Path' attribute.
See Also:
setPath(String), ConfigPackage.getSource_Path()

setPath

void setPath(String value)
Sets the value of the 'Path' attribute.

Parameters:
value - the new value of the 'Path' attribute.
See Also:
getPath()

getLine

int getLine()
Returns the value of the 'Line' attribute. Line number if source is a text file.

Returns:
the value of the 'Line' attribute.
See Also:
setLine(int), ConfigPackage.getSource_Line()

setLine

void setLine(int value)
Sets the value of the 'Line' attribute.

Parameters:
value - the new value of the 'Line' attribute.
See Also:
getLine()

getCol

int getCol()
Returns the value of the 'Col' attribute. Column number, if source is a text file.

Returns:
the value of the 'Col' attribute.
See Also:
setCol(int), ConfigPackage.getSource_Col()

setCol

void setCol(int value)
Sets the value of the 'Col' attribute.

Parameters:
value - the new value of the 'Col' attribute.
See Also:
getCol()

getComment

String getComment()
Returns the value of the 'Comment' attribute. Comment.

Returns:
the value of the 'Comment' attribute.
See Also:
setComment(String), ConfigPackage.getSource_Comment()

setComment

void setComment(String value)
Sets the value of the 'Comment' attribute.

Parameters:
value - the new value of the 'Comment' attribute.
See Also:
getComment()