org.eclipse.xtext.ui.codetemplates.templates
Interface Codetemplate

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

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

A representation of the model object 'Codetemplate'.

The following features are supported:

See Also:
TemplatesPackage.getCodetemplate()
EMF generated code
EMF model element

Method Summary
 TemplateBody getBody()
          Returns the value of the 'Body' containment reference.
 AbstractRule getContext()
          Returns the value of the 'Context' reference.
 java.lang.String getDescription()
          Returns the value of the 'Description' attribute.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 java.lang.String getKeywordContext()
          Returns the value of the 'Keyword Context' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 void setBody(TemplateBody value)
          Sets the value of the 'Body' containment reference.
 void setContext(AbstractRule value)
          Sets the value of the 'Context' reference.
 void setDescription(java.lang.String value)
          Sets the value of the 'Description' attribute.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setKeywordContext(java.lang.String value)
          Sets the value of the 'Keyword Context' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' 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

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), TemplatesPackage.getCodetemplate_Name()
EMF generated code
EMF model element

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
EMF generated code

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), TemplatesPackage.getCodetemplate_Id()
EMF generated code
EMF model element

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
EMF generated code

getDescription

java.lang.String getDescription()
Returns the value of the 'Description' attribute.

If the meaning of the 'Description' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Description' attribute.
See Also:
setDescription(String), TemplatesPackage.getCodetemplate_Description()
EMF generated code
EMF model element

setDescription

void setDescription(java.lang.String value)
Sets the value of the 'Description' attribute.

Parameters:
value - the new value of the 'Description' attribute.
See Also:
getDescription()
EMF generated code

getContext

AbstractRule getContext()
Returns the value of the 'Context' reference.

If the meaning of the 'Context' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Context' reference.
See Also:
setContext(AbstractRule), TemplatesPackage.getCodetemplate_Context()
EMF generated code
EMF model element

setContext

void setContext(AbstractRule value)
Sets the value of the 'Context' reference.

Parameters:
value - the new value of the 'Context' reference.
See Also:
getContext()
EMF generated code

getKeywordContext

java.lang.String getKeywordContext()
Returns the value of the 'Keyword Context' attribute.

If the meaning of the 'Keyword Context' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Keyword Context' attribute.
See Also:
setKeywordContext(String), TemplatesPackage.getCodetemplate_KeywordContext()
EMF generated code
EMF model element

setKeywordContext

void setKeywordContext(java.lang.String value)
Sets the value of the 'Keyword Context' attribute.

Parameters:
value - the new value of the 'Keyword Context' attribute.
See Also:
getKeywordContext()
EMF generated code

getBody

TemplateBody getBody()
Returns the value of the 'Body' containment reference.

If the meaning of the 'Body' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Body' containment reference.
See Also:
setBody(TemplateBody), TemplatesPackage.getCodetemplate_Body()
EMF generated code
EMF model element
containment="true"

setBody

void setBody(TemplateBody value)
Sets the value of the 'Body' containment reference.

Parameters:
value - the new value of the 'Body' containment reference.
See Also:
getBody()
EMF generated code